Searched refs:l2 (Results 1 - 25 of 130) sorted by last modified time

123456

/linux-master/fs/bcachefs/
H A Dsb-clean.c104 unsigned l1 = 0, l2 = 0; local
107 k2 = btree_root_find(c, NULL, j, i, &l2);
130 l1 != l2, c,
136 l2, buf2.buf);
H A Dextents.c86 u64 l2 = atomic64_read(&dev2->cur_latency[READ]); local
90 return bch2_rand_range(l1 + l2) > l1;
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c1895 QETH_CARD_TEXT(card, 3, "force l2");
4034 if (curr_hdr->hdr.l2.id == QETH_HEADER_TYPE_LAYER2) {
4039 qeth_l2_same_vlan(&prev_hdr->hdr.l2, &curr_hdr->hdr.l2);
5603 switch (hdr->hdr.l2.id) {
5605 skb_len = hdr->hdr.l2.pkt_length;
5606 is_cso = hdr->hdr.l2.flags[1] & QETH_HDR_EXT_CSUM_TRANSP_REQ;
5633 if (hdr->hdr.l2.id & QETH_HEADER_MASK_INVAL)
5742 if (hdr->hdr.l2.id == QETH_HEADER_TYPE_LAYER3)
/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);
2778 spin_lock_nested(l2, SINGLE_DEPTH_NESTING);
2781 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) argument
2783 if (l1 > l2)
2784 swap(l1, l2);
2787 spin_lock_nested(l2, SINGLE_DEPTH_NESTING);
2790 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) argument
2792 if (l1 > l2)
2799 double_raw_unlock(raw_spinlock_t *l1, raw_spinlock_t *l2) argument
[all...]
/linux-master/fs/smb/client/
H A Ddir.c852 int i, l1, l2; local
866 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2);
872 if (unlikely(l1 < 0 && l2 < 0)) {
883 if (l1 != l2)
H A Ddfs_cache.c512 int i, l1, l2; local
520 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2);
521 if (unlikely(l1 < 0 && l2 < 0)) {
527 if (l1 != l2)
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c65 const u32 ds[4], const u32 l2[4])
77 if (memcmp(gr->zbc_color[i].l2, l2, sizeof(
78 gr->zbc_color[i].l2))) {
92 memcpy(gr->zbc_color[zbc].l2, l2, sizeof(gr->zbc_color[zbc].l2));
94 nvkm_ltc_zbc_color_get(ltc, zbc, l2);
112 const u32 ds, const u32 l2)
123 if (gr->zbc_depth[i].l2 !
64 gf100_gr_zbc_color_get(struct gf100_gr *gr, int format, const u32 ds[4], const u32 l2[4]) argument
111 gf100_gr_zbc_depth_get(struct gf100_gr *gr, int format, const u32 ds, const u32 l2) argument
[all...]
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c187 return &entry->bridge.l2;
190 return &entry->ipv6.l2;
192 return &entry->ipv4.l2;
213 struct mtk_foe_mac_info *l2; local
254 l2 = &entry->bridge.l2;
257 l2 = &entry->ipv6.l2;
260 l2 = &entry->ipv4.l2;
373 struct mtk_foe_mac_info *l2 = mtk_foe_entry_l2(eth, entry); local
390 struct mtk_foe_mac_info *l2 = mtk_foe_entry_l2(eth, entry); local
415 struct mtk_foe_mac_info *l2 = mtk_foe_entry_l2(eth, entry); local
431 struct mtk_foe_mac_info *l2 = mtk_foe_entry_l2(eth, entry); local
704 struct mtk_foe_mac_info *l2; local
[all...]
/linux-master/fs/nfs/
H A Dpnfs.c623 * is l2 fully contained in l1?
631 const struct pnfs_layout_range *l2)
635 u64 start2 = l2->offset;
636 u64 end2 = pnfs_end_offset(start2, l2->length);
1629 const struct pnfs_layout_range *l2)
1634 d = l1->offset - l2->offset;
1639 d = l2->length - l1->length;
1644 return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ);
1649 const struct pnfs_layout_range *l2)
1651 return pnfs_lseg_range_cmp(l1, l2) >
630 pnfs_lseg_range_contained(const struct pnfs_layout_range *l1, const struct pnfs_layout_range *l2) argument
1628 pnfs_lseg_range_cmp(const struct pnfs_layout_range *l1, const struct pnfs_layout_range *l2) argument
1648 pnfs_lseg_range_is_after(const struct pnfs_layout_range *l1, const struct pnfs_layout_range *l2) argument
[all...]
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c276 struct pnfs_layout_segment *l2)
293 const struct pnfs_layout_range *l2)
297 if (l1->iomode != l2->iomode)
300 end2 = pnfs_calc_offset_end(l2->offset, l2->length);
301 if (end1 < l2->offset)
305 return l2->offset <= l1->offset;
275 ff_lseg_match_mirrors(struct pnfs_layout_segment *l1, struct pnfs_layout_segment *l2) argument
292 ff_lseg_range_is_after(const struct pnfs_layout_range *l1, const struct pnfs_layout_range *l2) argument
/linux-master/arch/powerpc/kernel/
H A Dprom_init.c308 size_t l1, l2; local
310 l2 = prom_strlen(s2);
311 if (!l2)
314 while (l1 >= l2) {
316 if (!prom_memcmp(s1, s2, l2))
/linux-master/fs/xfs/
H A Dxfs_log_cil.c1044 struct xfs_log_vec *l2 = container_of(b, struct xfs_log_vec, lv_list); local
1046 return l1->lv_order_id > l2->lv_order_id;
H A Dxfs_extent_busy.c669 const struct list_head *l2)
674 container_of(l2, 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/drivers/perf/
H A Dqcom_l2_pmu.c26 #include <soc/qcom/kryo-l2-accessors.h>
873 "l2-cache-pmu", cluster);
/linux-master/drivers/gpu/drm/i915/display/
H A Dskl_watermark.c2461 const struct skl_wm_level *l2)
2463 return l1->enable == l2->enable &&
2464 l1->ignore_lines == l2->ignore_lines &&
2465 l1->lines == l2->lines &&
2466 l1->blocks == l2->blocks;
2460 skl_wm_level_equals(const struct skl_wm_level *l1, const struct skl_wm_level *l2) argument
/linux-master/arch/x86/xen/
H A Dmmu_pv.c1706 pmd_t *l2; local
1742 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud);
1746 addr[2] = (unsigned long)l2;
1753 copy_page(level2_ident_pgt, l2);
1755 copy_page(level2_kernel_pgt, l2);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c292 struct kvm_nested_guest *l2; local
344 l2 = kvmhv_get_nested(vcpu->kvm, l2_hv.lpid, true);
345 if (!l2)
347 if (!l2->l1_gr_to_hr) {
348 mutex_lock(&l2->tlb_lock);
349 kvmhv_update_ptbl_cache(l2);
350 mutex_unlock(&l2->tlb_lock);
364 vcpu->arch.nested = l2;
406 kvmhv_put_nested(l2);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c171 struct tlpm_node *t1, *t2, *l1 = NULL, *l2 = NULL; local
176 * the same data in reverse order into @l2. Then verify a lookup of
187 l2 = tlpm_add(l2, t1->key, t1->n_bits);
193 t2 = tlpm_match(l2, key, 16);
205 tlpm_clear(l2);
/linux-master/security/selinux/ss/
H A Dmls_types.h30 const struct mls_level *l2)
32 return ((l1->sens == l2->sens) && ebitmap_cmp(&l1->cat, &l2->cat));
36 const struct mls_level *l2)
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, l2, l
29 mls_level_eq(const struct mls_level *l1, const struct mls_level *l2) argument
35 mls_level_dom(const struct mls_level *l1, const struct mls_level *l2) argument
[all...]
/linux-master/lib/
H A Dstring.c735 size_t l1, l2; local
737 l2 = strlen(s2);
738 if (!l2)
741 while (l1 >= l2) {
743 if (!memcmp(s1, s2, l2))
761 size_t l2; local
763 l2 = strlen(s2);
764 if (!l2)
766 while (len >= l2) {
768 if (!memcmp(s1, s2, l2))
[all...]
/linux-master/drivers/soc/qcom/
H A DMakefile34 obj-$(CONFIG_QCOM_KRYO_L2_ACCESSORS) += kryo-l2-accessors.o
/linux-master/drivers/irqchip/
H A DMakefile67 obj-$(CONFIG_BCM7120_L2_IRQ) += irq-bcm7120-l2.o
68 obj-$(CONFIG_BRCMSTB_L2_IRQ) += irq-brcmstb-l2.o
/linux-master/arch/x86/kernel/cpu/
H A Dintel.c619 unsigned int l1, l2; local
621 rdmsr(MSR_IA32_MISC_ENABLE, l1, l2);
648 unsigned int l2 = c->x86_cache_size; local
653 if (l2 == 0)
655 else if (l2 == 256)
660 if (l2 == 128)
667 if (l2 == 128)
H A Dcacheinfo.c252 union l2_cache l2; local
261 cpuid(0x80000006, &dummy, &dummy, &l2.val, &l3.val);
276 if (!l2.val)
278 assoc = assocs[l2.assoc];
279 line_size = l2.line_size;
280 lines_per_tag = l2.lines_per_tag;
739 unsigned int l1i = 0, l1d = 0, l2 = 0, l3 = 0; local
832 l2 += cache_table[k].size;
855 l2 = new_l2;
875 c->x86_cache_size = l3 ? l3 : (l2
[all...]

Completed in 994 milliseconds

123456