/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/scripts/atomic/ |
D | gen-atomic-fallback.sh | 13 local meta="$1"; shift 24 local ret="$(gen_ret_type "${meta}" "${int}")" 25 local retstmt="$(gen_ret_stmt "${meta}")" 40 local meta="$1"; shift 47 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@" 63 local meta="$1"; shift 79 local meta="$1"; shift 91 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@" 93 if meta_has_acquire "${meta}"; then 94 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@" [all …]
|
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-instrumented.sh | 11 local meta="$1"; shift 24 elif [ "${meta}" != "s" ]; then 36 local meta="$1"; shift 39 gen_param_check "$meta" "$1" 47 local meta="$1"; shift 67 if meta_has_relaxed "${meta}"; then 75 local meta="$1"; shift 85 local guard="$(gen_guard "${meta}" "${atomic}" "${pfx}" "${name}" "${sfx}" "${order}")" 87 local ret="$(gen_ret_type "${meta}" "${int}")" 89 local checks="$(gen_params_checks "${meta}" "$@")" [all …]
|
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}
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
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 = data_end - data; in BPF_PROG() 54 ((__u64) meta.pkt_len << 32) | in BPF_PROG() 56 &meta, sizeof(meta)); in BPF_PROG()
|
D | bpf_iter.h | 49 struct bpf_iter_meta *meta; member 54 struct bpf_iter_meta *meta; member 59 struct bpf_iter_meta *meta; member 64 struct bpf_iter_meta *meta; member 71 struct bpf_iter_meta *meta; member 76 struct bpf_iter_meta *meta; member 87 struct bpf_iter_meta *meta; member 99 struct bpf_iter_meta *meta; member 106 struct bpf_iter_meta *meta; member 113 struct bpf_iter_meta *meta; member
|
/kernel/linux/linux-5.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() 306 struct b43legacy_dmadesc_meta *meta, in free_descriptor_buffer() argument 309 if (meta->skb) { in free_descriptor_buffer() 311 dev_kfree_skb_irq(meta->skb); in free_descriptor_buffer() 313 dev_kfree_skb(meta->skb); in free_descriptor_buffer() 314 meta->skb = NULL; in free_descriptor_buffer() 442 struct b43legacy_dmadesc_meta *meta, in setup_rx_descbuffer() argument 475 meta->skb = skb; in setup_rx_descbuffer() 476 meta->dmaaddr = dmaaddr; in setup_rx_descbuffer() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | kfree_skb.c | 5 struct meta { struct 20 struct meta *meta = (struct meta *)data; in on_sample() argument 21 struct ipv6_packet *pkt_v6 = data + sizeof(*meta); in on_sample() 24 if (CHECK(size != 72 + sizeof(*meta), "check_size", "size %u != %zu\n", in on_sample() 25 size, 72 + sizeof(*meta))) in on_sample() 27 if (CHECK(meta->ifindex != 1, "check_meta_ifindex", in on_sample() 28 "meta->ifindex = %d\n", meta->ifindex)) in on_sample() 31 if (CHECK(meta->cb8_0 != cb.cb8[0], "check_cb8_0", "cb8_0 %x != %x\n", in on_sample() 32 meta->cb8_0, cb.cb8[0])) in on_sample() 34 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0", in on_sample() [all …]
|
D | xdp_bpf2bpf.c | 8 struct meta { struct 16 struct meta *meta = (struct meta *)data; in on_sample() argument 17 struct ipv4_packet *trace_pkt_v4 = data + sizeof(*meta); in on_sample() 19 if (CHECK(size < sizeof(pkt_v4) + sizeof(*meta), in on_sample() 21 size, sizeof(pkt_v4) + sizeof(*meta))) in on_sample() 24 if (CHECK(meta->ifindex != if_nametoindex("lo"), "check_meta_ifindex", in on_sample() 25 "meta->ifindex = %d\n", meta->ifindex)) in on_sample() 28 if (CHECK(meta->pkt_len != sizeof(pkt_v4), "check_meta_pkt_len", in on_sample()
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/net/dsa/ |
D | tag_sja1105.c | 36 struct sja1105_meta *meta) in sja1105_meta_unpack() argument 50 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack() 51 packing(buf + 4, &meta->dmac_byte_4, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 52 packing(buf + 5, &meta->dmac_byte_3, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 53 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 54 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 144 const struct sja1105_meta *meta) in sja1105_transfer_meta() argument 148 hdr->h_dest[3] = meta->dmac_byte_3; in sja1105_transfer_meta() 149 hdr->h_dest[4] = meta->dmac_byte_4; in sja1105_transfer_meta() 150 SJA1105_SKB_CB(skb)->meta_tstamp = meta->tstamp; in sja1105_transfer_meta() [all …]
|
/kernel/linux/linux-5.10/fs/afs/ |
D | dir_edit.c | 155 static void afs_edit_init_block(union afs_xdr_dir_block *meta, in afs_edit_init_block() argument 166 memset(block->meta.alloc_ctrs, in afs_edit_init_block() 168 sizeof(block->meta.alloc_ctrs)); in afs_edit_init_block() 169 meta->meta.alloc_ctrs[0] = in afs_edit_init_block() 174 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block() 190 union afs_xdr_dir_block *meta, *block; in afs_edit_dir_add() local 222 meta = &meta_page->blocks[0]; in afs_edit_dir_add() 259 (b < AFS_DIR_BLOCKS_WITH_CTR) ? meta->meta.alloc_ctrs[b] : 99, in afs_edit_dir_add() 266 afs_edit_init_block(meta, block, b); in afs_edit_dir_add() 272 meta->meta.alloc_ctrs[b] >= need_slots) { in afs_edit_dir_add() [all …]
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | fanotify.h | 77 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, \ argument 78 (struct fanotify_event_metadata*)(((char *)(meta)) + \ 79 (meta)->event_len)) 80 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \ argument 81 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \ 82 (long)(meta)->event_len <= (long)(len))
|