/linux-5.19.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | verifier.c | 20 nfp_bpf_goto_meta(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_goto_meta() argument 25 backward = meta->n - insn_idx; in nfp_bpf_goto_meta() 26 forward = insn_idx - meta->n; in nfp_bpf_goto_meta() 30 meta = nfp_prog_last_meta(nfp_prog); in nfp_bpf_goto_meta() 34 meta = nfp_prog_first_meta(nfp_prog); in nfp_bpf_goto_meta() 39 meta = nfp_meta_next(meta); in nfp_bpf_goto_meta() 42 meta = nfp_meta_prev(meta); in nfp_bpf_goto_meta() 44 return meta; in nfp_bpf_goto_meta() 49 struct nfp_insn_meta *meta, in nfp_record_adjust_head() argument 71 if (nfp_prog->adjust_head_location != meta->n) in nfp_record_adjust_head() [all …]
|
D | main.h | 241 #define nfp_meta_next(meta) list_next_entry(meta, l) argument 242 #define nfp_meta_prev(meta) list_prev_entry(meta, l) argument 351 static inline u8 mbpf_class(const struct nfp_insn_meta *meta) in mbpf_class() argument 353 return BPF_CLASS(meta->insn.code); in mbpf_class() 356 static inline u8 mbpf_src(const struct nfp_insn_meta *meta) in mbpf_src() argument 358 return BPF_SRC(meta->insn.code); in mbpf_src() 361 static inline u8 mbpf_op(const struct nfp_insn_meta *meta) in mbpf_op() argument 363 return BPF_OP(meta->insn.code); in mbpf_op() 366 static inline u8 mbpf_mode(const struct nfp_insn_meta *meta) in mbpf_mode() argument 368 return BPF_MODE(meta->insn.code); in mbpf_mode() [all …]
|
D | jit.c | 42 nfp_meta_has_prev(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta) in nfp_meta_has_prev() argument 44 return meta->l.prev != &nfp_prog->insns; in nfp_meta_has_prev() 626 wrp_zext(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, u8 dst) in wrp_zext() argument 628 if (meta->flags & FLAG_INSN_DO_ZEXT) in wrp_zext() 733 static int nfp_cpp_memcpy(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta) in nfp_cpp_memcpy() argument 735 bool descending_seq = meta->ldst_gather_len < 0; in nfp_cpp_memcpy() 736 s16 len = abs(meta->ldst_gather_len); in nfp_cpp_memcpy() 742 off = re_load_imm_any(nfp_prog, meta->insn.off, imm_b(nfp_prog)); in nfp_cpp_memcpy() 743 src_40bit_addr = meta->ptr.type == PTR_TO_MAP_VALUE; in nfp_cpp_memcpy() 744 src_base = reg_a(meta->insn.src_reg * 2); in nfp_cpp_memcpy() [all …]
|
/linux-5.19.10/mm/kfence/ |
D | core.c | 243 static inline unsigned long metadata_to_pageaddr(const struct kfence_metadata *meta) in metadata_to_pageaddr() argument 245 unsigned long offset = (meta - kfence_metadata + 1) * PAGE_SIZE * 2; in metadata_to_pageaddr() 251 if (KFENCE_WARN_ON(meta < kfence_metadata || in metadata_to_pageaddr() 252 meta >= kfence_metadata + CONFIG_KFENCE_NUM_OBJECTS)) in metadata_to_pageaddr() 259 if (KFENCE_WARN_ON(ALIGN_DOWN(meta->addr, PAGE_SIZE) != pageaddr)) in metadata_to_pageaddr() 270 metadata_update_state(struct kfence_metadata *meta, enum kfence_object_state next, in metadata_update_state() argument 274 next == KFENCE_OBJECT_FREED ? &meta->free_track : &meta->alloc_track; in metadata_update_state() 276 lockdep_assert_held(&meta->lock); in metadata_update_state() 298 WRITE_ONCE(meta->state, next); in metadata_update_state() 311 struct kfence_metadata *meta; in check_canary_byte() local [all …]
|
D | report.c | 100 static void kfence_print_stack(struct seq_file *seq, const struct kfence_metadata *meta, in kfence_print_stack() argument 103 const struct kfence_track *track = show_alloc ? &meta->alloc_track : &meta->free_track; in kfence_print_stack() 124 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta) in kfence_print_object() argument 126 const int size = abs(meta->size); in kfence_print_object() 127 const unsigned long start = meta->addr; in kfence_print_object() 128 const struct kmem_cache *const cache = meta->cache; in kfence_print_object() 130 lockdep_assert_held(&meta->lock); in kfence_print_object() 132 if (meta->state == KFENCE_OBJECT_UNUSED) { in kfence_print_object() 133 seq_con_printf(seq, "kfence-#%td unused\n", meta - kfence_metadata); in kfence_print_object() 138 meta - kfence_metadata, (void *)start, (void *)(start + size - 1), in kfence_print_object() [all …]
|
/linux-5.19.10/scripts/atomic/ |
D | atomic-tbl.sh | 67 local meta="$1"; shift 70 case "${meta}" in 80 if meta_has_ret "${meta}"; then 148 local meta="$1"; shift 153 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@" 155 if meta_has_acquire "${meta}"; then 156 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@" 158 if meta_has_release "${meta}"; then 159 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_release" "$@" 161 if meta_has_relaxed "${meta}"; then [all …]
|
D | gen-atomic-fallback.sh | 12 local meta="$1"; shift 22 local ret="$(gen_ret_type "${meta}" "${int}")" 23 local retstmt="$(gen_ret_stmt "${meta}")" 38 local meta="$1"; shift 45 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@" 61 local meta="$1"; shift 76 local meta="$1"; shift 88 if ! meta_has_relaxed "${meta}"; then 89 gen_proto_fallback "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@" 91 if meta_has_acquire "${meta}"; then [all …]
|
D | gen-atomic-instrumented.sh | 11 local meta="$1"; shift 24 elif [ "${meta}" != "s" ]; then 36 local meta="$1"; shift 41 elif [ -z "${order}" ] && ! meta_in "$meta" "slv"; then 47 gen_param_check "$meta" "$1" 55 local meta="$1"; shift 65 local ret="$(gen_ret_type "${meta}" "${int}")" 67 local checks="$(gen_params_checks "${meta}" "${order}" "$@")" 69 local retstmt="$(gen_ret_stmt "${meta}")"
|
D | gen-atomic-long.sh | 38 local meta="$1"; shift 43 local ret="$(gen_ret_type "${meta}" "long")" 46 local retstmt="$(gen_ret_stmt "${meta}")" 86 grep '^[a-z]' "$1" | while read name meta args; do 87 gen_proto "${meta}" "${name}" "atomic64" "s64" ${args} 95 grep '^[a-z]' "$1" | while read name meta args; do 96 gen_proto "${meta}" "${name}" "atomic" "int" ${args}
|
/linux-5.19.10/fs/squashfs/ |
D | file.c | 50 struct meta_index *meta = NULL; in locate_meta_index() local 68 meta = &msblk->meta_index[i]; in locate_meta_index() 69 offset = meta->offset; in locate_meta_index() 73 if (meta) in locate_meta_index() 74 meta->locked = 1; in locate_meta_index() 79 return meta; in locate_meta_index() 90 struct meta_index *meta = NULL; in empty_meta_index() local 131 meta = &msblk->meta_index[msblk->next_meta_index]; in empty_meta_index() 135 meta->inode_number = inode->i_ino; in empty_meta_index() 136 meta->offset = offset; in empty_meta_index() [all …]
|
/linux-5.19.10/drivers/media/test-drivers/vivid/ |
D | vivid-meta-cap.c | 152 struct v4l2_meta_format *meta = &f->fmt.meta; in vidioc_g_fmt_meta_cap() local 157 meta->dataformat = V4L2_META_FMT_UVC; in vidioc_g_fmt_meta_cap() 158 meta->buffersize = sizeof(struct vivid_uvc_meta_buf); in vidioc_g_fmt_meta_cap() 165 struct vivid_uvc_meta_buf *meta = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_meta_cap_fillbuff() local 171 memset(meta, 1, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_meta_cap_fillbuff() 173 meta->ns = ktime_get_ns(); in vivid_meta_cap_fillbuff() 174 meta->sof = buf->vb.sequence * 30; in vivid_meta_cap_fillbuff() 175 meta->length = sizeof(*meta) - offsetof(struct vivid_uvc_meta_buf, length); in vivid_meta_cap_fillbuff() 176 meta->flags = UVC_STREAM_EOH | UVC_STREAM_EOF; in vivid_meta_cap_fillbuff() 179 meta->flags |= UVC_STREAM_FID; in vivid_meta_cap_fillbuff() [all …]
|
D | vivid-meta-out.c | 152 struct v4l2_meta_format *meta = &f->fmt.meta; in vidioc_g_fmt_meta_out() local 157 meta->dataformat = V4L2_META_FMT_VIVID; in vidioc_g_fmt_meta_out() 158 meta->buffersize = sizeof(struct vivid_meta_out_buf); in vidioc_g_fmt_meta_out() 165 struct vivid_meta_out_buf *meta = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_meta_out_process() local 167 v4l2_ctrl_s_ctrl(dev->brightness, meta->brightness); in vivid_meta_out_process() 168 v4l2_ctrl_s_ctrl(dev->contrast, meta->contrast); in vivid_meta_out_process() 169 v4l2_ctrl_s_ctrl(dev->saturation, meta->saturation); in vivid_meta_out_process() 170 v4l2_ctrl_s_ctrl(dev->hue, meta->hue); in vivid_meta_out_process() 173 __func__, meta->brightness, meta->contrast, in vivid_meta_out_process() 174 meta->saturation, meta->hue); in vivid_meta_out_process()
|
/linux-5.19.10/tools/testing/selftests/netfilter/ |
D | nft_meta.sh | 54 meta iif lo counter name "iifcount" 55 meta iifname "lo" counter name "iifnamecount" 56 meta iifgroup "default" counter name "iifgroupcount" 57 meta iiftype "loopback" counter name "iiftypecount" 58 meta nfproto ipv4 counter name "infproto4count" 59 meta l4proto icmp counter name "il4protocounter" 60 meta mark 42 counter name "imarkcounter" 61 meta cpu 0 counter name "icpu0counter" 62 meta time "$lastyear-01-01" - "$lastyear-12-31" counter name ilastyearcounter 63 meta time "$currentyear-01-01" - "$currentyear-12-31" counter name icurrentyearcounter [all …]
|
/linux-5.19.10/drivers/media/platform/chips-media/ |
D | trace.h | 85 struct coda_buffer_meta *meta), 87 TP_ARGS(ctx, buf, meta), 100 __entry->start = meta->start & ctx->bitstream_fifo.kfifo.mask; 101 __entry->end = meta->end & ctx->bitstream_fifo.kfifo.mask; 112 struct coda_buffer_meta *meta), 113 TP_ARGS(ctx, buf, meta) 117 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 119 TP_ARGS(ctx, meta), 130 __entry->start = meta ? (meta->start & 132 __entry->end = meta ? (meta->end & [all …]
|
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter.h | 55 struct bpf_iter_meta *meta; member 60 struct bpf_iter_meta *meta; member 65 struct bpf_iter_meta *meta; member 70 struct bpf_iter_meta *meta; member 77 struct bpf_iter_meta *meta; member 83 struct bpf_iter_meta *meta; member 88 struct bpf_iter_meta *meta; member 99 struct bpf_iter_meta *meta; member 111 struct bpf_iter_meta *meta; member 117 struct bpf_iter_meta *meta; member [all …]
|
D | kfree_skb.c | 51 struct meta { struct 69 struct meta meta = {}; in BPF_PROG() argument 84 meta.ifindex = _(dev->ifindex); in BPF_PROG() 85 meta.cb8_0 = cb8[8]; in BPF_PROG() 86 meta.cb32_0 = cb32[2]; in BPF_PROG() 99 meta.ifindex, data, pkt_data); in BPF_PROG() 100 bpf_printk("cb8_0:%x cb32_0:%x\n", meta.cb8_0, meta.cb32_0); in BPF_PROG() 102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG() 108 &meta, sizeof(meta)); in BPF_PROG()
|
D | test_xdp_bpf2bpf.c | 32 struct meta { struct 47 struct meta meta; in BPF_PROG() argument 51 meta.ifindex = xdp->rxq->dev->ifindex; in BPF_PROG() 52 meta.pkt_len = bpf_xdp_get_buff_len((struct xdp_md *)xdp); in BPF_PROG() 54 ((__u64) meta.pkt_len << 32) | in BPF_PROG() 56 &meta, sizeof(meta)); in BPF_PROG()
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | kfree_skb.c | 6 struct meta { struct 21 struct meta *meta = (struct meta *)data; in on_sample() argument 22 struct ipv6_packet *pkt_v6 = data + sizeof(*meta); in on_sample() 25 if (CHECK(size != 72 + sizeof(*meta), "check_size", "size %u != %zu\n", in on_sample() 26 size, 72 + sizeof(*meta))) in on_sample() 28 if (CHECK(meta->ifindex != 1, "check_meta_ifindex", in on_sample() 29 "meta->ifindex = %d\n", meta->ifindex)) in on_sample() 32 if (CHECK(meta->cb8_0 != cb.cb8[0], "check_cb8_0", "cb8_0 %x != %x\n", in on_sample() 33 meta->cb8_0, cb.cb8[0])) in on_sample() 35 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0", in on_sample() [all …]
|
D | xdp_bpf2bpf.c | 8 struct meta { struct 22 struct meta *meta = (struct meta *)data; in on_sample() local 23 struct ipv4_packet *trace_pkt_v4 = data + sizeof(*meta); in on_sample() 24 unsigned char *raw_pkt = data + sizeof(*meta); in on_sample() 27 ASSERT_GE(size, sizeof(pkt_v4) + sizeof(*meta), "check_size"); in on_sample() 28 ASSERT_EQ(meta->ifindex, if_nametoindex("lo"), "check_meta_ifindex"); in on_sample() 29 ASSERT_EQ(meta->pkt_len, tst_ctx->pkt_size, "check_meta_pkt_len"); in on_sample() 33 if (meta->pkt_len > sizeof(pkt_v4)) { in on_sample() 34 for (int i = 0; i < meta->pkt_len - sizeof(pkt_v4); i++) in on_sample()
|
/linux-5.19.10/samples/bpf/ |
D | xdp2skb_meta_kern.c | 34 struct meta_info *meta; in _xdp_mark() local 41 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(*meta)); in _xdp_mark() 53 meta = (void *)(unsigned long)ctx->data_meta; in _xdp_mark() 54 if (meta + 1 > data) in _xdp_mark() 57 meta->mark = 42; in _xdp_mark() 68 struct meta_info *meta = data_meta; in _tc_mark() local 71 if (meta + 1 > data) { in _tc_mark() 78 ctx->mark = meta->mark; /* Transfer XDP-mark to SKB-mark */ in _tc_mark()
|
/linux-5.19.10/drivers/net/wireless/broadcom/b43legacy/ |
D | dma.c | 34 struct b43legacy_dmadesc_meta **meta) in op32_idx2desc() argument 38 *meta = &(ring->meta[slot]); in op32_idx2desc() 293 struct b43legacy_dmadesc_meta *meta, in free_descriptor_buffer() argument 296 if (meta->skb) { in free_descriptor_buffer() 298 dev_kfree_skb_irq(meta->skb); in free_descriptor_buffer() 300 dev_kfree_skb(meta->skb); in free_descriptor_buffer() 301 meta->skb = NULL; in free_descriptor_buffer() 429 struct b43legacy_dmadesc_meta *meta, in setup_rx_descbuffer() argument 462 meta->skb = skb; in setup_rx_descbuffer() 463 meta->dmaaddr = dmaaddr; in setup_rx_descbuffer() [all …]
|
/linux-5.19.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_tx.c | 75 struct hostap_skb_tx_data *meta; in hostap_data_start_xmit() local 253 meta = (struct hostap_skb_tx_data *) skb->cb; in hostap_data_start_xmit() 254 memset(meta, 0, sizeof(*meta)); in hostap_data_start_xmit() 255 meta->magic = HOSTAP_SKB_TX_DATA_MAGIC; in hostap_data_start_xmit() 257 meta->flags |= HOSTAP_TX_FLAGS_WDS; in hostap_data_start_xmit() 258 meta->ethertype = ethertype; in hostap_data_start_xmit() 259 meta->iface = iface; in hostap_data_start_xmit() 274 struct hostap_skb_tx_data *meta; in hostap_mgmt_start_xmit() local 291 meta = (struct hostap_skb_tx_data *) skb->cb; in hostap_mgmt_start_xmit() 292 memset(meta, 0, sizeof(*meta)); in hostap_mgmt_start_xmit() [all …]
|
/linux-5.19.10/Documentation/userspace-api/media/v4l/ |
D | meta-formats.rst | 15 pixfmt-meta-d4xx 16 pixfmt-meta-intel-ipu3 17 pixfmt-meta-rkisp1 18 pixfmt-meta-uvc 19 pixfmt-meta-vsp1-hgo 20 pixfmt-meta-vsp1-hgt 21 pixfmt-meta-vivid
|
/linux-5.19.10/fs/afs/ |
D | dir_edit.c | 174 static void afs_edit_init_block(union afs_xdr_dir_block *meta, in afs_edit_init_block() argument 185 memset(block->meta.alloc_ctrs, in afs_edit_init_block() 187 sizeof(block->meta.alloc_ctrs)); in afs_edit_init_block() 188 meta->meta.alloc_ctrs[0] = in afs_edit_init_block() 193 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block() 209 union afs_xdr_dir_block *meta, *block; in afs_edit_dir_add() local 235 meta = kmap_local_folio(folio0, 0); in afs_edit_dir_add() 266 (b < AFS_DIR_BLOCKS_WITH_CTR) ? meta->meta.alloc_ctrs[b] : 99, in afs_edit_dir_add() 273 afs_edit_init_block(meta, block, b); in afs_edit_dir_add() 279 meta->meta.alloc_ctrs[b] >= need_slots) { in afs_edit_dir_add() [all …]
|
/linux-5.19.10/drivers/net/wireless/broadcom/b43/ |
D | dma.c | 74 struct b43_dmadesc_meta **meta) in op32_idx2desc() argument 78 *meta = &(ring->meta[slot]); in op32_idx2desc() 166 struct b43_dmadesc_meta **meta) in op64_idx2desc() argument 170 *meta = &(ring->meta[slot]); in op64_idx2desc() 396 struct b43_dmadesc_meta *meta) in free_descriptor_buffer() argument 398 if (meta->skb) { in free_descriptor_buffer() 400 ieee80211_free_txskb(ring->dev->wl->hw, meta->skb); in free_descriptor_buffer() 402 dev_kfree_skb_any(meta->skb); in free_descriptor_buffer() 403 meta->skb = NULL; in free_descriptor_buffer() 594 struct b43_dmadesc_meta *meta, gfp_t gfp_flags) in setup_rx_descbuffer() argument [all …]
|