/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_unix.c | 35 seq = ctx->meta->seq; 36 seq_num = ctx->meta->seq_num;
|
H A D | bpf_iter_bpf_array_map.c | 41 bpf_seq_write(ctx->meta->seq, key, sizeof(__u32)); 42 bpf_seq_write(ctx->meta->seq, val, sizeof(__u64));
|
H A D | bpf_iter_ksym.c | 31 struct seq_file *seq = ctx->meta->seq; 33 __u32 seq_num = ctx->meta->seq_num;
|
H A D | bpf_iter_task_stack.c | 15 struct seq_file *seq = ctx->meta->seq; 43 struct seq_file *seq = ctx->meta->seq;
|
H A D | profiler.h | 87 struct var_metadata_t meta; member in struct:var_sysctl_data_t 96 struct var_metadata_t meta; member in struct:var_kill_data_t 110 struct var_metadata_t meta; member in struct:var_exec_data_t 123 struct var_metadata_t meta; member in struct:var_fork_data_t 131 struct var_metadata_t meta; member in struct:var_filemod_data_t
|
H A D | profiler.inc.h | 176 if (arr_struct->array[i].meta.pid == spid) 365 void* payload = populate_var_metadata(&kill_data->meta, task, spid, kill_data->payload); 370 kill_data->meta.type = KILL_EVENT; 409 if (arr_struct->array[i].meta.pid == 0) { 467 struct var_metadata_t* meta) 471 meta->bpf_stats_num_perf_events = 474 meta->bpf_stats_start_ktime_ns = bpf_stat_ctx->start_time_ns; 475 meta->cpu_id = bpf_get_smp_processor_id(); 565 sysctl_data->meta.type = SYSCTL_EVENT; 566 void* payload = populate_var_metadata(&sysctl_data->meta, tas 466 bpf_stats_pre_submit_var_perf_event(struct bpf_func_stats_ctx* bpf_stat_ctx, struct var_metadata_t* meta) argument [all...] |
H A D | bpf_iter_vma_offset.c | 19 struct seq_file *seq = ctx->meta->seq;
|
H A D | bpf_iter_udp6.c | 34 struct seq_file *seq = ctx->meta->seq; 46 seq_num = ctx->meta->seq_num;
|
H A D | bpf_iter_udp4.c | 27 struct seq_file *seq = ctx->meta->seq; 38 seq_num = ctx->meta->seq_num;
|
H A D | iters_css_task.c | 58 struct seq_file *seq = ctx->meta->seq; 70 if (ctx->meta->seq_num == 0)
|
H A D | sock_iter_batch.c | 54 bpf_seq_write(ctx->meta->seq, &idx, sizeof(idx)); 86 bpf_seq_write(ctx->meta->seq, &idx, sizeof(idx));
|
/linux-master/mm/kfence/ |
H A D | kfence.h | 141 const struct kfence_metadata *meta, enum kfence_error_type type); 143 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta);
|
/linux-master/kernel/bpf/ |
H A D | map_iter.c | 38 __bpf_md_ptr(struct bpf_iter_meta *, meta); 42 DEFINE_BPF_ITER_FUNC(bpf_map, struct bpf_iter_meta *meta, struct bpf_map *map) 47 struct bpf_iter_meta meta; local 51 ctx.meta = &meta; 53 meta.seq = seq; 54 prog = bpf_iter_get_info(&meta, in_stop); 164 DEFINE_BPF_ITER_FUNC(bpf_map_elem, struct bpf_iter_meta *meta,
|
H A D | cgroup_iter.c | 46 __bpf_md_ptr(struct bpf_iter_meta *, meta); 125 struct bpf_iter_meta meta; local 133 ctx.meta = &meta; 135 meta.seq = seq; 136 prog = bpf_iter_get_info(&meta, in_stop); 272 DEFINE_BPF_ITER_FUNC(cgroup, struct bpf_iter_meta *meta,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | ga102.c | 50 u32 loc, sig, cnt, *meta; local 55 meta = (u32 *)(blob->data + hshdr->meta_data_offset); 83 fw->fuse_ver = meta[0]; 84 fw->engine_id = meta[1]; 85 fw->ucode_id = meta[2];
|
/linux-master/net/sched/ |
H A D | em_meta.c | 9 * The metadata ematch compares two meta objects where each object 10 * represents either a meta value stored in the kernel or a static 16 * The definition of a objects conists of the type (meta type), a 17 * identifier (meta id) and additional type specific information. 18 * The meta id is either TCF_META_TYPE_VALUE for values provided by 19 * userspace or a index to the meta operations table consisting of 20 * function pointers to type specific meta data collectors returning 21 * the value of the requested meta value. 43 * on the meta type. Obviously, the length of the data must also 53 * NOTE: Certain meta value 850 struct meta_match *meta = (struct meta_match *) m->data; local 871 meta_delete(struct meta_match *meta) argument 912 struct meta_match *meta = NULL; local 967 struct meta_match *meta = (struct meta_match *) em->data; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 154 struct xsk_tx_metadata *meta; local 172 meta = data - sizeof(struct xsk_tx_metadata); 173 memset(meta, 0, sizeof(*meta)); 174 meta->flags = XDP_TXMD_FLAGS_TIMESTAMP; 204 meta->flags |= XDP_TXMD_FLAGS_CHECKSUM; 205 meta->request.csum_start = sizeof(*eth) + sizeof(*iph); 206 meta->request.csum_offset = offsetof(struct udphdr, check); 245 struct xsk_tx_metadata *meta; local 256 meta 279 struct xdp_meta *meta; local [all...] |
/linux-master/fs/ceph/ |
H A D | metric.c | 24 struct ceph_metric_metadata_latency *meta; local 49 + sizeof(*meta) + sizeof(*dlease) + sizeof(*files) 100 meta = (struct ceph_metric_metadata_latency *)(write + 1); 101 meta->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_METADATA_LATENCY); 102 meta->header.ver = 2; 103 meta->header.compat = 1; 104 meta->header.data_len = cpu_to_le32(sizeof(*meta) - header_len); 106 ktime_to_ceph_timespec(&meta->lat, sum); 107 ktime_to_ceph_timespec(&meta [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | dp.c | 658 * @meta: Parsed metadata prepend 664 const struct nfp_meta_parsed *meta, struct sk_buff *skb) 671 if (meta->csum_type) { 672 skb->ip_summed = meta->csum_type; 673 skb->csum = meta->csum; 709 nfp_nfd3_set_hash(struct net_device *netdev, struct nfp_meta_parsed *meta, argument 719 meta->hash_type = PKT_HASH_TYPE_L3; 722 meta->hash_type = PKT_HASH_TYPE_L4; 726 meta->hash = get_unaligned_be32(hash); 730 nfp_nfd3_set_hash_desc(struct net_device *netdev, struct nfp_meta_parsed *meta, argument 662 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, const struct nfp_net_rx_desc *rxd, const struct nfp_meta_parsed *meta, struct sk_buff *skb) argument 743 nfp_nfd3_parse_meta(struct net_device *netdev, struct nfp_meta_parsed *meta, void *data, void *pkt, unsigned int pkt_len, int meta_len) argument 928 struct nfp_meta_parsed meta; local [all...] |
H A D | nfd3.h | 46 __le16 data_len; /* Length of frame + meta data */ 90 const struct nfp_meta_parsed *meta, struct sk_buff *skb); 92 nfp_nfd3_parse_meta(struct net_device *netdev, struct nfp_meta_parsed *meta,
|
/linux-master/net/dsa/ |
H A D | tag_sja1105.c | 63 /* Protects concurrent access to the meta state machine 103 struct sja1105_meta *meta) 108 * Structure of the meta-data follow-up frame. 110 * while unpacking the meta frame. 117 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); 118 packing(buf + 4, &meta->dmac_byte_3, 7, 0, 1, UNPACK, 0); 119 packing(buf + 5, &meta->dmac_byte_4, 7, 0, 1, UNPACK, 0); 120 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); 121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); 347 const struct sja1105_meta *meta) 102 sja1105_meta_unpack(const struct sk_buff *skb, struct sja1105_meta *meta) argument 346 sja1105_transfer_meta(struct sk_buff *skb, const struct sja1105_meta *meta) argument 377 sja1105_rcv_meta_state_machine(struct sk_buff *skb, struct sja1105_meta *meta, bool is_link_local, bool is_meta) argument 501 struct sja1105_meta meta = {0}; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | crypto.h | 62 int nfp_net_ipsec_rx(struct nfp_meta_parsed *meta, struct sk_buff *skb);
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 138 meta l4proto icmpv6 icmpv6 type "packet-too-big" ct state "related" counter name "related" accept 139 meta l4proto icmp icmp type "destination-unreachable" ct state "related" counter name "related" accept 140 meta l4proto { icmp, icmpv6 } ct state new,established accept 159 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 160 meta l4proto { icmp, icmpv6 } ct state "related" counter name "related" accept 175 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 177 meta l4proto { icmp, icmpv6 } ct state "new" counter name "new" accept 178 meta l4proto { icmp, icmpv6 } ct state "established" counter name "established" accept 183 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 185 meta l4prot [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_experimental.h | 17 * The 'meta' parameter is rewritten by the verifier, no need for BPF 23 extern void *bpf_obj_new_impl(__u64 local_type_id, void *meta) __ksym; 32 * The 'meta' parameter is rewritten by the verifier, no need for BPF 37 extern void bpf_obj_drop_impl(void *kptr, void *meta) __ksym; 46 * The 'meta' parameter is rewritten by the verifier, no need for BPF 51 extern void *bpf_refcount_acquire_impl(void *kptr, void *meta) __ksym; 59 * The 'meta' and 'off' parameters are rewritten by the verifier, no need 67 void *meta, __u64 off) __ksym; 75 * The 'meta' and 'off' parameters are rewritten by the verifier, no need 83 void *meta, __u6 [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | offload.c | 154 struct nfp_insn_meta *meta; local 158 meta = kzalloc(sizeof(*meta), GFP_KERNEL); 159 if (!meta) 162 meta->insn = prog[i]; 163 meta->n = i; 164 if (is_mbpf_alu(meta)) { 165 meta->umin_src = U64_MAX; 166 meta->umin_dst = U64_MAX; 169 list_add_tail(&meta 180 struct nfp_insn_meta *meta, *tmp; local [all...] |