Searched refs:l1 (Results 1 - 25 of 99) sorted by last modified time

1234

/linux-master/fs/ntfs3/
H A Dntfs_fs.h860 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2,
/linux-master/kernel/sched/
H A Dsched.h2772 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) argument
2774 if (l1 > l2)
2775 swap(l1, l2);
2777 spin_lock(l1);
2781 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) argument
2783 if (l1 > l2)
2784 swap(l1, l2);
2786 spin_lock_irq(l1);
2790 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) argument
2792 if (l1 > l
2799 double_raw_unlock(raw_spinlock_t *l1, raw_spinlock_t *l2) argument
[all...]
/linux-master/fs/bcachefs/
H A Dsb-clean.c104 unsigned l1 = 0, l2 = 0; local
106 k1 = btree_root_find(c, clean, NULL, i, &l1);
130 l1 != l2, c,
135 l1, buf1.buf,
H A Dextents.c85 u64 l1 = atomic64_read(&dev1->cur_latency[READ]); local
90 return bch2_rand_range(l1 + l2) > l1;
/linux-master/drivers/iommu/amd/
H A Dinit.c319 /* Access to l1 and l2 indexed register spaces */
321 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address) argument
325 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16));
330 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val) argument
332 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16 | 1 << 31));
334 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16));
2711 /* Restore the l1 indirect regs for each of the 6 l1s */
/linux-master/fs/smb/client/
H A Ddir.c852 int i, l1, l2; local
863 for (i = 0; i < len; i += l1) {
865 l1 = codepage->char2uni(&str[i], len - i, &c1);
872 if (unlikely(l1 < 0 && l2 < 0)) {
875 l1 = 1;
883 if (l1 != l2)
H A Ddfs_cache.c512 int i, l1, l2; local
518 for (i = 0; i < len1; i += l1) {
519 l1 = cache_cp->char2uni(&s1[i], len1 - i, &c1);
521 if (unlikely(l1 < 0 && l2 < 0)) {
524 l1 = 1;
527 if (l1 != l2)
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c358 pr_info("RWB[desc] [ck ipid mrqhsh] [vl l0 ee es] [ l3 l2 l1 hs] [reserved ] ---------------- [bi->skb] <-- Ext Rx Write-Back format\n");
1389 int l1 = le16_to_cpu(rx_desc->wb.upper.length[0]); local
1395 if (l1 && (l1 <= copybreak) &&
1396 ((length + l1) <= adapter->rx_ps_bsize0)) {
1404 page_address(ps_page->page), l1);
1413 l1 -= 4;
1416 skb_put(skb, l1);
/linux-master/drivers/usb/host/
H A Dxhci.c4397 int l1; local
4403 /* xHCI l1 is set in steps of 256us, xHCI 1.0 section 5.4.11.2 */
4404 l1 = udev->l1_params.timeout / 256;
4412 return PORT_BESLD(besld) | PORT_L1_TIMEOUT(l1) | PORT_HIRDM(hirdm);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c44 u64 l1; member in struct:hns_roce_hem_index
321 index->l1 = l0_idx * chunk_ba_num + l1_idx;
362 dma_free_coherent(dev, bt_size, table->bt_l1[index->l1],
363 table->bt_l1_dma_addr[index->l1]);
364 table->bt_l1[index->l1] = NULL;
402 !table->bt_l1[index->l1]) {
403 table->bt_l1[index->l1] = dma_alloc_coherent(dev, bt_size,
404 &table->bt_l1_dma_addr[index->l1],
406 if (!table->bt_l1[index->l1]) {
412 table->bt_l1_dma_addr[index->l1];
[all...]
/linux-master/fs/nfs/
H A Dpnfs.c623 * is l2 fully contained in l1?
630 pnfs_lseg_range_contained(const struct pnfs_layout_range *l1, argument
633 u64 start1 = l1->offset;
634 u64 end1 = pnfs_end_offset(start1, l1->length);
1628 pnfs_lseg_range_cmp(const struct pnfs_layout_range *l1, argument
1634 d = l1->offset - l2->offset;
1639 d = l2->length - l1->length;
1644 return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ);
1648 pnfs_lseg_range_is_after(const struct pnfs_layout_range *l1, argument
1651 return pnfs_lseg_range_cmp(l1, l
[all...]
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c275 ff_lseg_match_mirrors(struct pnfs_layout_segment *l1, argument
278 const struct nfs4_ff_layout_segment *fl1 = FF_LAYOUT_LSEG(l1);
279 const struct nfs4_ff_layout_segment *fl2 = FF_LAYOUT_LSEG(l1);
292 ff_lseg_range_is_after(const struct pnfs_layout_range *l1, argument
297 if (l1->iomode != l2->iomode)
298 return l1->iomode != IOMODE_READ;
299 end1 = pnfs_calc_offset_end(l1->offset, l1->length);
303 if (end2 < l1->offset)
305 return l2->offset <= l1
[all...]
/linux-master/drivers/media/platform/ti/davinci/
H A Dvpif.c72 .l1 = 1,
89 .l1 = 1,
106 .l1 = 1,
123 .l1 = 1,
140 .l1 = 1,
160 .l1 = 1,
180 .l1 = 1,
199 .l1 = 1,
219 .l1 = 1,
301 value = (config->l1
[all...]
/linux-master/arch/powerpc/kernel/
H A Dprom_init.c308 size_t l1, l2; local
313 l1 = prom_strlen(s1);
314 while (l1 >= l2) {
315 l1--;
/linux-master/fs/xfs/
H A Dxfs_log_cil.c1043 struct xfs_log_vec *l1 = container_of(a, struct xfs_log_vec, lv_list); local
1046 return l1->lv_order_id > l2->lv_order_id;
H A Dxfs_extent_busy.c668 const struct list_head *l1,
672 container_of(l1, struct xfs_extent_busy, list);
666 xfs_extent_busy_ag_cmp( void *priv, const struct list_head *l1, const struct list_head *l2) argument
/linux-master/fs/xfs/libxfs/
H A Dxfs_format.h1647 * l0:0-8 and l1:21-63 are startblock.
1648 * l1:0-20 are blockcount.
1667 __be64 l0, l1; member in struct:xfs_bmbt_rec
H A Dxfs_bmap_btree.c83 uint64_t l1 = get_unaligned_be64(&rec->l1); local
86 irec->br_startblock = ((l0 & xfs_mask64lo(9)) << 43) | (l1 >> 21);
87 irec->br_blockcount = l1 & xfs_mask64lo(21);
101 return (xfs_filblks_t)(be64_to_cpu(r->l1) & xfs_mask64lo(21));
137 (xfs_bmbt_rec_base_t)xfs_mask64lo(21)), &r->l1);
/linux-master/drivers/gpu/drm/i915/display/
H A Dskl_watermark.c2460 static bool skl_wm_level_equals(const struct skl_wm_level *l1, argument
2463 return l1->enable == l2->enable &&
2464 l1->ignore_lines == l2->ignore_lines &&
2465 l1->lines == l2->lines &&
2466 l1->blocks == l2->blocks;
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c171 struct tlpm_node *t1, *t2, *l1 = NULL, *l2 = NULL; local
175 * order of entries. Insert a random set of entries into @l1, and copy
181 l1 = tlpm_add(l1, (uint8_t[]){
186 for (t1 = l1; t1; t1 = t1->next)
192 t1 = tlpm_match(l1, key, 16);
204 tlpm_clear(l1);
/linux-master/security/selinux/ss/
H A Dmls_types.h29 static inline int mls_level_eq(const struct mls_level *l1, argument
32 return ((l1->sens == l2->sens) && ebitmap_cmp(&l1->cat, &l2->cat));
35 static inline int mls_level_dom(const struct mls_level *l1, argument
38 return ((l1->sens >= l2->sens) &&
39 ebitmap_contains(&l1->cat, &l2->cat, 0));
42 #define mls_level_incomp(l1, l2) \
43 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1)))
45 #define mls_level_between(l1, l
[all...]
/linux-master/lib/
H A Dstring.c735 size_t l1, l2; local
740 l1 = strlen(s1);
741 while (l1 >= l2) {
742 l1--;
/linux-master/kernel/rcu/
H A Dsrcutree.c1873 unsigned long l0, l1; local
1889 l1 = data_race(atomic_long_read(&sdp->srcu_lock_count[idx]));
1892 c1 = l1 - u1;
/linux-master/drivers/irqchip/
H A DMakefile65 obj-$(CONFIG_BCM6345_L1_IRQ) += irq-bcm6345-l1.o
66 obj-$(CONFIG_BCM7038_L1_IRQ) += irq-bcm7038-l1.o
/linux-master/arch/x86/kernel/cpu/
H A Dintel.c619 unsigned int l1, l2; local
621 rdmsr(MSR_IA32_MISC_ENABLE, l1, l2);
622 if (!(l1 & MSR_IA32_MISC_ENABLE_BTS_UNAVAIL))
624 if (!(l1 & MSR_IA32_MISC_ENABLE_PEBS_UNAVAIL))

Completed in 402 milliseconds

1234