Searched refs:ptrs (Results 76 - 100 of 103) sorted by relevance

12345

/linux-master/arch/parisc/net/
H A Dbpf_jit_comp64.c383 * prog = array->ptrs[index];
387 BUILD_BUG_ON(sizeof(bpfa.ptrs[0]) != 8);
389 off = offsetof(struct bpf_array, ptrs);
H A Dbpf_jit_comp32.c981 * prog = array->ptrs[index];
985 BUILD_BUG_ON(sizeof(bpfa.ptrs[0]) != 4);
987 off = offsetof(struct bpf_array, ptrs);
/linux-master/fs/bcachefs/
H A Dfs-io-buffered.c88 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); local
92 bkey_for_each_crc(k.k, ptrs, crc, i)
H A Dbuckets.c966 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); local
980 bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
H A Dfs.c907 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); local
915 bkey_for_each_ptr_decode(k.k, ptrs, p, entry) {
H A Djournal.c1250 darray_for_each(i->ptrs, ptr)
H A Dfsck.c1511 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k); local
1516 bkey_for_each_crc(k.k, ptrs, crc, i)
/linux-master/arch/mips/net/
H A Dbpf_jit_comp64.c504 /* prog = ary->ptrs[ind] */
505 off = offsetof(struct bpf_array, ptrs);
H A Dbpf_jit_comp32.c1322 /* prog = ary->ptrs[ind] */
1323 off = offsetof(struct bpf_array, ptrs);
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c1442 /* prog = array->ptrs[index]
1446 BUILD_BUG_ON(imm8m(offsetof(struct bpf_array, ptrs)) < 0);
1447 off = imm8m(offsetof(struct bpf_array, ptrs));
/linux-master/arch/powerpc/net/
H A Dbpf_jit_comp64.c314 /* prog = array->ptrs[index]; */
317 EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), offsetof(struct bpf_array, ptrs)));
H A Dbpf_jit_comp32.c250 /* prog = array->ptrs[index]; */
253 EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_array, ptrs)));
/linux-master/arch/loongarch/net/
H A Dbpf_jit.c248 * prog = array->ptrs[index];
253 off = offsetof(struct bpf_array, ptrs);
/linux-master/kernel/trace/
H A Dbpf_trace.c564 ee = READ_ONCE(array->ptrs[index]);
636 ee = READ_ONCE(array->ptrs[index]);
809 cgrp = READ_ONCE(array->ptrs[idx]);
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c879 off = offsetof(struct bpf_array, ptrs);
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp32.c810 * prog = array->ptrs[index];
816 off = offsetof(struct bpf_array, ptrs);
H A Dbpf_jit_comp64.c373 /* prog = array->ptrs[index];
379 off = offsetof(struct bpf_array, ptrs);
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c600 * prog = array->ptrs[index];
644 /* prog = array->ptrs[index]; */
646 offsetof(struct bpf_array, ptrs));
758 target = array->ptrs[poke->tail_call.key];
H A Dbpf_jit_comp32.c1293 * prog = array->ptrs[index];
1353 /* prog = array->ptrs[index]; */
1355 EMIT3_off32(0x8B, 0x94, 0x90, offsetof(struct bpf_array, ptrs));
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c1627 * prog = array->ptrs[index];
1638 REG_1, offsetof(struct bpf_array, ptrs));
/linux-master/include/linux/
H A Dbpf.h1879 DECLARE_FLEX_ARRAY(void *, ptrs) __aligned(8);
/linux-master/kernel/bpf/
H A Dcore.c2022 prog = READ_ONCE(array->ptrs[index]);
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c452 /* prog = array->ptrs[index];
456 off = offsetof(struct bpf_array, ptrs);
/linux-master/lib/
H A Dtest_bpf.c15392 if (progs->ptrs[i])
15393 bpf_prog_free(progs->ptrs[i]);
15404 progs = kzalloc(struct_size(progs, ptrs, ntests + 1), GFP_KERNEL);
15497 progs->ptrs[which] = fp;
15521 struct bpf_prog *fp = progs->ptrs[i];
/linux-master/fs/btrfs/
H A Dctree.c818 p = offsetof(struct btrfs_node, ptrs);
2691 * returns 0 if some ptrs were pushed left, < 0 if there was some horrible
2769 * returns 0 if some ptrs were pushed, < 0 if there was some horrible

Completed in 344 milliseconds

12345