/Linux-v4.19/include/linux/mlx5/ |
D | device.h | 50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument 51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) argument 52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument 53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument 54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument 55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument 56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument 57 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument 58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument 59 #define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument [all …]
|
/Linux-v4.19/net/decnet/ |
D | dn_route.c | 334 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route() 955 struct flowidn fld = { in dn_route_output_slow() local 1026 if (!fld.daddr) { in dn_route_output_slow() 1027 fld.daddr = fld.saddr; in dn_route_output_slow() 1037 if (!fld.daddr) { in dn_route_output_slow() 1038 fld.daddr = in dn_route_output_slow() 1039 fld.saddr = dnet_select_source(dev_out, 0, in dn_route_output_slow() 1041 if (!fld.daddr) in dn_route_output_slow() 1044 fld.flowidn_oif = LOOPBACK_IFINDEX; in dn_route_output_slow() 1053 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow() [all …]
|
D | dn_rules.c | 71 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action() local 97 err = tbl->lookup(tbl, fld, (struct dn_fib_res *)arg->result); in dn_fib_rule_action() 111 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match() local 112 __le16 daddr = fld->daddr; in dn_fib_rule_match() 113 __le16 saddr = fld->saddr; in dn_fib_rule_match() 186 struct flowidn fld = { .daddr = addr }; in dnet_addr_type() local 194 if (!tb->lookup(tb, &fld, &res)) { in dnet_addr_type()
|
D | dn_fib.c | 200 struct flowidn fld; in dn_fib_check_nh() local 220 memset(&fld, 0, sizeof(fld)); in dn_fib_check_nh() 221 fld.daddr = nh->nh_gw; in dn_fib_check_nh() 222 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh() 223 fld.flowidn_scope = r->rtm_scope + 1; in dn_fib_check_nh() 225 if (fld.flowidn_scope < RT_SCOPE_LINK) in dn_fib_check_nh() 226 fld.flowidn_scope = RT_SCOPE_LINK; in dn_fib_check_nh() 228 if ((err = dn_fib_lookup(&fld, &res)) != 0) in dn_fib_check_nh() 416 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fi… in dn_fib_semantic_match() argument 436 if (!fld->flowidn_oif || in dn_fib_semantic_match() [all …]
|
D | dn_nsp_out.c | 79 struct flowidn fld; in dn_nsp_send() local 92 memset(&fld, 0, sizeof(fld)); in dn_nsp_send() 93 fld.flowidn_oif = sk->sk_bound_dev_if; in dn_nsp_send() 94 fld.saddr = dn_saddr2dn(&scp->addr); in dn_nsp_send() 95 fld.daddr = dn_saddr2dn(&scp->peer); in dn_nsp_send() 96 dn_sk_ports_copy(&fld, scp); in dn_nsp_send() 97 fld.flowidn_proto = DNPROTO_NSP; in dn_nsp_send() 98 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, 0) == 0) { in dn_nsp_send()
|
D | af_decnet.c | 912 struct flowidn fld; in __dn_connect() local 952 memset(&fld, 0, sizeof(fld)); in __dn_connect() 953 fld.flowidn_oif = sk->sk_bound_dev_if; in __dn_connect() 954 fld.daddr = dn_saddr2dn(&scp->peer); in __dn_connect() 955 fld.saddr = dn_saddr2dn(&scp->addr); in __dn_connect() 956 dn_sk_ports_copy(&fld, scp); in __dn_connect() 957 fld.flowidn_proto = DNPROTO_NSP; in __dn_connect() 958 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, flags) < 0) in __dn_connect()
|
/Linux-v4.19/arch/riscv/kernel/ |
D | entry.S | 409 fld f0, TASK_THREAD_F0_F0(a0) 410 fld f1, TASK_THREAD_F1_F0(a0) 411 fld f2, TASK_THREAD_F2_F0(a0) 412 fld f3, TASK_THREAD_F3_F0(a0) 413 fld f4, TASK_THREAD_F4_F0(a0) 414 fld f5, TASK_THREAD_F5_F0(a0) 415 fld f6, TASK_THREAD_F6_F0(a0) 416 fld f7, TASK_THREAD_F7_F0(a0) 417 fld f8, TASK_THREAD_F8_F0(a0) 418 fld f9, TASK_THREAD_F9_F0(a0) [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_stats.h | 44 #define MLX5E_DECLARE_STAT(type, fld) #fld, offsetof(type, fld) argument 45 #define MLX5E_DECLARE_RX_STAT(type, fld) "rx%d_"#fld, offsetof(type, fld) argument 46 #define MLX5E_DECLARE_TX_STAT(type, fld) "tx%d_"#fld, offsetof(type, fld) argument 47 #define MLX5E_DECLARE_XDPSQ_STAT(type, fld) "tx%d_xdp_"#fld, offsetof(type, fld) argument 48 #define MLX5E_DECLARE_RQ_XDPSQ_STAT(type, fld) "rx%d_xdp_tx_"#fld, offsetof(type, fld) argument 49 #define MLX5E_DECLARE_CH_STAT(type, fld) "ch%d_"#fld, offsetof(type, fld) argument
|
D | en_fs_ethtool.c | 121 #define MLX5E_FTE_SET(header_p, fld, v) \ argument 122 MLX5_SET(fte_match_set_lyr_2_4, header_p, fld, v) 124 #define MLX5E_FTE_ADDR_OF(header_p, fld) \ argument 125 MLX5_ADDR_OF(fte_match_set_lyr_2_4, header_p, fld)
|
/Linux-v4.19/scripts/coccinelle/misc/ |
D | doubleinit.cocci | 17 identifier I, s, fld; 22 struct I s =@p0 { ..., .fld@p = E, ...}; 25 identifier I, s, r.fld; 30 struct I s =@p0 { ..., .fld@p = E, ...}; 34 fld << r.fld; 40 cocci.print_main(fld,p0) 46 fld << r.fld; 52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 39 #define MASK_VAL(type, spec, name, mask, val, fld) \ argument 41 {.m = MLX5_GET(spec, mask, fld),\ 42 .v = MLX5_GET(spec, val, fld)} 43 #define MASK_VAL_BE(type, spec, name, mask, val, fld) \ argument 45 {.m = MLX5_GET_BE(type, spec, mask, fld),\ 46 .v = MLX5_GET_BE(type, spec, val, fld)} 49 #define GET_MASK_VAL(name, type, mask, val, fld) \ argument 50 (name.m = MLX5_GET(type, mask, fld), \ 51 name.v = MLX5_GET(type, val, fld), \ 66 #define MASK_VAL_L2(type, name, fld) \ in print_lyr_2_4_hdrs() argument [all …]
|
/Linux-v4.19/scripts/gcc-plugins/ |
D | latent_entropy_plugin.c | 165 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute() local 168 for (fld = lst; fld; nelt++, fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute() 171 fieldtype = TREE_TYPE(fld); in handle_latent_entropy_attribute() 177 *node, name, fld); in handle_latent_entropy_attribute() 181 if (fld) in handle_latent_entropy_attribute() 190 for (fld = lst; fld; fld = TREE_CHAIN(fld)) { in handle_latent_entropy_attribute() 191 tree random_const, fld_t = TREE_TYPE(fld); in handle_latent_entropy_attribute() 194 CONSTRUCTOR_APPEND_ELT(vals, fld, random_const); in handle_latent_entropy_attribute()
|
/Linux-v4.19/drivers/xen/ |
D | fallback.c | 64 #define COPY_BACK(pop, fld) \ in xen_physdev_op_compat() argument 66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
|
/Linux-v4.19/include/net/ |
D | dn_route.h | 76 struct flowidn fld; member 91 return rt->fld.flowidn_iif != 0; in dn_is_input_route() 96 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
|
D | dn_fib.h | 88 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld, 108 const struct flowidn *fld, struct dn_fib_res *res); 111 void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res); 127 int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
|
D | dn.h | 190 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument 192 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy() 193 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()
|
/Linux-v4.19/drivers/perf/ |
D | arm_spe_pmu.c | 940 int fld; in __arm_spe_pmu_dev_probe() local 945 fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64DFR0_EL1), in __arm_spe_pmu_dev_probe() 947 if (!fld) { in __arm_spe_pmu_dev_probe() 950 fld, smp_processor_id()); in __arm_spe_pmu_dev_probe() 963 fld = reg >> SYS_PMBIDR_EL1_ALIGN_SHIFT & SYS_PMBIDR_EL1_ALIGN_MASK; in __arm_spe_pmu_dev_probe() 964 spe_pmu->align = 1 << fld; in __arm_spe_pmu_dev_probe() 967 fld, smp_processor_id()); in __arm_spe_pmu_dev_probe() 992 fld = reg >> SYS_PMSIDR_EL1_INTERVAL_SHIFT & SYS_PMSIDR_EL1_INTERVAL_MASK; in __arm_spe_pmu_dev_probe() 993 switch (fld) { in __arm_spe_pmu_dev_probe() 1017 fld); in __arm_spe_pmu_dev_probe() [all …]
|
/Linux-v4.19/drivers/media/platform/ti-vpe/ |
D | vpdma.h | 201 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld)) argument 202 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld) argument
|
/Linux-v4.19/arch/arm64/mm/ |
D | context.c | 57 int fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64MMFR0_EL1), in get_cpu_asid_bits() local 60 switch (fld) { in get_cpu_asid_bits() 63 smp_processor_id(), fld); in get_cpu_asid_bits()
|
/Linux-v4.19/scripts/coccinelle/null/ |
D | kmerr.cocci | 22 identifier f,fld; 26 ... when != x->fld
|
/Linux-v4.19/drivers/scsi/ |
D | virtio_scsi.c | 758 #define virtscsi_config_get(vdev, fld) \ argument 760 typeof(((struct virtio_scsi_config *)0)->fld) __val; \ 761 virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \ 765 #define virtscsi_config_set(vdev, fld, val) \ argument 767 typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \ 768 virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \
|
/Linux-v4.19/drivers/mmc/host/ |
D | sdhci-of-arasan.c | 129 const struct sdhci_arasan_soc_ctl_field *fld, in sdhci_arasan_syscon_write() argument 135 u32 reg = fld->reg; in sdhci_arasan_syscon_write() 136 u16 width = fld->width; in sdhci_arasan_syscon_write() 137 s16 shift = fld->shift; in sdhci_arasan_syscon_write()
|
/Linux-v4.19/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 172 #define chan_read(chan, fld) readl((chan)->fld) argument 173 #define desc_read(desc, fld) readl(&(desc)->fld) argument 175 #define chan_write(chan, fld, v) writel(v, (chan)->fld) argument 176 #define desc_write(desc, fld, v) writel((u32)(v), &(desc)->fld) argument
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | vnic_devcmd.h | 550 #define FILTER_FIELD_VALID(fld) (1 << (fld - 1)) argument
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 237 int fld = blk % 3; in update_smp_state() local 241 switch (fld) { in update_smp_state()
|