/linux-6.6.21/fs/vboxsf/ |
D | vboxsf_wrappers.c | 53 static int vboxsf_call(u32 function, void *parms, u32 parm_count, int *status) in vboxsf_call() argument 63 U32_MAX, parms, parm_count, &vbox_status); in vboxsf_call() 77 struct shfl_map_folder parms; in vboxsf_map_folder() local 80 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_map_folder() 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); in vboxsf_map_folder() 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 84 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_map_folder() 85 parms.root.u.value32 = 0; in vboxsf_map_folder() 87 parms.delimiter.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_map_folder() 88 parms.delimiter.u.value32 = '/'; in vboxsf_map_folder() [all …]
|
/linux-6.6.21/include/net/tc_act/ |
D | tc_pedit.h | 25 struct tcf_pedit_parms __rcu *parms; member 29 #define to_pedit_parms(a) (rcu_dereference(to_pedit(a)->parms)) 42 struct tcf_pedit_parms *parms; in tcf_pedit_nkeys() local 46 parms = to_pedit_parms(a); in tcf_pedit_nkeys() 47 nkeys = parms->tcfp_nkeys; in tcf_pedit_nkeys() 56 struct tcf_pedit_parms *parms; in tcf_pedit_htype() local 59 parms = to_pedit_parms(a); in tcf_pedit_htype() 60 if (parms->tcfp_keys_ex) in tcf_pedit_htype() 61 htype = parms->tcfp_keys_ex[index].htype; in tcf_pedit_htype() 69 struct tcf_pedit_parms *parms; in tcf_pedit_cmd() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 16 return tun->parms; in mlxsw_sp_ipip_netdev_parms4() 24 return tun->parms; in mlxsw_sp_ipip_netdev_parms6() 27 static bool mlxsw_sp_ipip_parms4_has_ikey(const struct ip_tunnel_parm *parms) in mlxsw_sp_ipip_parms4_has_ikey() argument 29 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_ikey() 32 static bool mlxsw_sp_ipip_parms6_has_ikey(const struct __ip6_tnl_parm *parms) in mlxsw_sp_ipip_parms6_has_ikey() argument 34 return !!(parms->i_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_ikey() 37 static bool mlxsw_sp_ipip_parms4_has_okey(const struct ip_tunnel_parm *parms) in mlxsw_sp_ipip_parms4_has_okey() argument 39 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey() 42 static bool mlxsw_sp_ipip_parms6_has_okey(const struct __ip6_tnl_parm *parms) in mlxsw_sp_ipip_parms6_has_okey() argument 44 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_okey() [all …]
|
D | spectrum_span.c | 51 struct mlxsw_sp_span_trigger_parms parms; member 200 struct mlxsw_sp_port *dest_port = span_entry->parms.dest_port; in mlxsw_sp_span_entry_deconfigure_common() 207 mlxsw_reg_mpat_session_id_set(mpat_pl, span_entry->parms.session_id); in mlxsw_sp_span_entry_deconfigure_common() 417 struct ip_tunnel_parm parms; in mlxsw_sp_span_gretap4_route() local 424 parms = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_gretap4_route() 425 ip_tunnel_init_flow(&fl4, parms.iph.protocol, *daddrp, *saddrp, in mlxsw_sp_span_gretap4_route() 426 0, 0, dev_net(to_dev), parms.link, tun->fwmark, 0, in mlxsw_sp_span_gretap4_route() 534 fl6.flowi6_mark = t->parms.fwmark; in mlxsw_sp_span_gretap6_route() 799 span_entry->parms = sparms; in mlxsw_sp_span_entry_configure() 805 if (span_entry->parms.dest_port) in mlxsw_sp_span_entry_deconfigure() [all …]
|
/linux-6.6.21/net/ipv6/ |
D | ip6_gre.c | 133 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6gre_tunnel_lookup() 134 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup() 135 key != t->parms.i_key || in ip6gre_tunnel_lookup() 144 if (t->parms.link != link) in ip6gre_tunnel_lookup() 158 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup() 159 key != t->parms.i_key || in ip6gre_tunnel_lookup() 168 if (t->parms.link != link) in ip6gre_tunnel_lookup() 182 if ((!ipv6_addr_equal(local, &t->parms.laddr) && in ip6gre_tunnel_lookup() 183 (!ipv6_addr_equal(local, &t->parms.raddr) || in ip6gre_tunnel_lookup() 185 key != t->parms.i_key || in ip6gre_tunnel_lookup() [all …]
|
D | ip6_tunnel.c | 123 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6_tnl_lookup() 124 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup() 128 if (link == t->parms.link) in ip6_tnl_lookup() 137 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6_tnl_lookup() 138 !ipv6_addr_any(&t->parms.raddr) || in ip6_tnl_lookup() 142 if (link == t->parms.link) in ip6_tnl_lookup() 150 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup() 151 !ipv6_addr_any(&t->parms.laddr) || in ip6_tnl_lookup() 155 if (link == t->parms.link) in ip6_tnl_lookup() 211 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link() [all …]
|
D | sit.c | 108 if (local == t->parms.iph.saddr && in ipip6_tunnel_lookup() 109 remote == t->parms.iph.daddr && in ipip6_tunnel_lookup() 110 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 111 sifindex == t->parms.link) && in ipip6_tunnel_lookup() 116 if (remote == t->parms.iph.daddr && in ipip6_tunnel_lookup() 117 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 118 sifindex == t->parms.link) && in ipip6_tunnel_lookup() 123 if (local == t->parms.iph.saddr && in ipip6_tunnel_lookup() 124 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 125 sifindex == t->parms.link) && in ipip6_tunnel_lookup() [all …]
|
D | ip6_vti.c | 98 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 99 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() 107 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 114 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() 155 struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_link() 167 for (tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_unlink() 194 strcpy(t->parms.name, dev->name); in vti6_tnl_create2() 226 t->parms = *p; in vti6_tnl_create() 267 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate() 268 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | ip_tunnel.c | 97 if (local != t->parms.iph.saddr || in ip_tunnel_lookup() 98 remote != t->parms.iph.daddr || in ip_tunnel_lookup() 102 if (!ip_tunnel_key_match(&t->parms, flags, key)) in ip_tunnel_lookup() 105 if (t->parms.link == link) in ip_tunnel_lookup() 112 if (remote != t->parms.iph.daddr || in ip_tunnel_lookup() 113 t->parms.iph.saddr != 0 || in ip_tunnel_lookup() 117 if (!ip_tunnel_key_match(&t->parms, flags, key)) in ip_tunnel_lookup() 120 if (t->parms.link == link) in ip_tunnel_lookup() 130 if ((local != t->parms.iph.saddr || t->parms.iph.daddr != 0) && in ip_tunnel_lookup() 131 (local != t->parms.iph.daddr || !ipv4_is_multicast(local))) in ip_tunnel_lookup() [all …]
|
D | ip_gre.c | 198 if (t->parms.iph.daddr == 0 || in ipgre_err() 199 ipv4_is_multicast(t->parms.iph.daddr)) in ipgre_err() 202 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipgre_err() 377 tnl_params = &tunnel->parms.iph; in __ipgre_rcv() 462 __be16 flags = tunnel->parms.o_flags; in __gre_xmit() 466 flags, proto, tunnel->parms.o_key, in __gre_xmit() 659 tnl_params = &tunnel->parms.iph; in ipgre_xmit() 662 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit() 704 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit() 706 erspan_build_header(skb, ntohl(tunnel->parms.o_key), in erspan_xmit() [all …]
|
D | ip_vti.c | 131 skb->mark = be32_to_cpu(tunnel->parms.i_key); in vti_rcv_cb() 170 struct ip_tunnel_parm *parms = &tunnel->parms; in vti_xmit() local 223 if (!vti_state_check(dst->xfrm, parms->iph.daddr, parms->iph.saddr)) { in vti_xmit() 302 fl.flowi_mark = be32_to_cpu(tunnel->parms.o_key); in vti_tunnel_xmit() 331 mark = be32_to_cpu(tunnel->parms.o_key); in vti4_err() 426 struct iphdr *iph = &tunnel->parms.iph; in vti_tunnel_init() 442 struct iphdr *iph = &tunnel->parms.iph; in vti_fb_tunnel_init() 532 struct ip_tunnel_parm *parms, in vti_netlink_parms() argument 535 memset(parms, 0, sizeof(*parms)); in vti_netlink_parms() 537 parms->iph.protocol = IPPROTO_IPIP; in vti_netlink_parms() [all …]
|
D | ipip.c | 173 ipv4_update_pmtu(skb, net, info, t->parms.link, iph->protocol); in ipip_err() 178 ipv4_redirect(skb, net, t->parms.link, iph->protocol); in ipip_err() 182 if (t->parms.iph.daddr == 0) { in ipip_err() 187 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipip_err() 226 if (tunnel->parms.iph.protocol != ipproto && in ipip_tunnel_rcv() 227 tunnel->parms.iph.protocol != 0) in ipip_tunnel_rcv() 278 const struct iphdr *tiph = &tunnel->parms.iph; in ipip_tunnel_xmit() 384 __dev_addr_set(dev, &tunnel->parms.iph.saddr, 4); in ipip_tunnel_init() 385 memcpy(dev->broadcast, &tunnel->parms.iph.daddr, 4); in ipip_tunnel_init() 408 struct ip_tunnel_parm *parms, bool *collect_md, in ipip_netlink_parms() argument [all …]
|
/linux-6.6.21/net/lapb/ |
D | lapb_iface.c | 210 int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms) in lapb_getparms() argument 220 parms->t1 = lapb->t1 / HZ; in lapb_getparms() 221 parms->t2 = lapb->t2 / HZ; in lapb_getparms() 222 parms->n2 = lapb->n2; in lapb_getparms() 223 parms->n2count = lapb->n2count; in lapb_getparms() 224 parms->state = lapb->state; in lapb_getparms() 225 parms->window = lapb->window; in lapb_getparms() 226 parms->mode = lapb->mode; in lapb_getparms() 229 parms->t1timer = 0; in lapb_getparms() 231 parms->t1timer = (lapb->t1timer.expires - jiffies) / HZ; in lapb_getparms() [all …]
|
/linux-6.6.21/net/sched/ |
D | act_connmark.c | 39 struct tcf_connmark_parms *parms; in tcf_connmark_act() local 47 parms = rcu_dereference_bh(ca->parms); in tcf_connmark_act() 72 if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), proto, parms->net, in tcf_connmark_act() 76 zone.id = parms->zone; in tcf_connmark_act() 79 thash = nf_conntrack_find_get(parms->net, &zone, &tuple); in tcf_connmark_act() 157 nparms->net = rtnl_dereference(ci->parms)->net; in tcf_connmark_init() 172 oparms = rcu_replace_pointer(ci->parms, nparms, lockdep_is_held(&ci->tcf_lock)); in tcf_connmark_init() 200 struct tcf_connmark_parms *parms; in tcf_connmark_dump() local 204 parms = rcu_dereference_protected(ci->parms, lockdep_is_held(&ci->tcf_lock)); in tcf_connmark_dump() 207 opt.zone = parms->zone; in tcf_connmark_dump() [all …]
|
D | act_nat.c | 99 oparm = rcu_replace_pointer(p->parms, nparm, lockdep_is_held(&p->tcf_lock)); in tcf_nat_init() 119 struct tcf_nat_parms *parms; in tcf_nat_act() local 135 parms = rcu_dereference_bh(p->parms); in tcf_nat_act() 136 old_addr = parms->old_addr; in tcf_nat_act() 137 new_addr = parms->new_addr; in tcf_nat_act() 138 mask = parms->mask; in tcf_nat_act() 139 egress = parms->flags & TCA_NAT_FLAG_EGRESS; in tcf_nat_act() 277 struct tcf_nat_parms *parms; in tcf_nat_dump() local 284 parms = rcu_dereference_protected(p->parms, lockdep_is_held(&p->tcf_lock)); in tcf_nat_dump() 286 opt.old_addr = parms->old_addr; in tcf_nat_dump() [all …]
|
D | act_pedit.c | 147 struct tcf_pedit_parms *parms = in tcf_pedit_cleanup_rcu() local 150 kfree(parms->tcfp_keys_ex); in tcf_pedit_cleanup_rcu() 151 kfree(parms->tcfp_keys); in tcf_pedit_cleanup_rcu() 153 kfree(parms); in tcf_pedit_cleanup_rcu() 285 oparms = rcu_replace_pointer(p->parms, nparms, 1); in tcf_pedit_init() 313 struct tcf_pedit_parms *parms; in tcf_pedit_cleanup() local 315 parms = rcu_dereference_protected(p->parms, 1); in tcf_pedit_cleanup() 317 if (parms) in tcf_pedit_cleanup() 318 call_rcu(&parms->rcu, tcf_pedit_cleanup_rcu); in tcf_pedit_cleanup() 394 struct tcf_pedit_parms *parms; in tcf_pedit_act() local [all …]
|
D | sch_red.c | 45 struct red_parms parms; member 78 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 85 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue() 198 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload() 199 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload() 200 opt.set.probability = q->parms.max_P; in red_offload() 291 red_set_parms(&q->parms, in __red_change() 329 red_adaptative_algo(&q->parms, &q->vars); in red_adaptative_timer() 417 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump() 418 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump() [all …]
|
D | sch_gred.c | 42 struct red_parms parms; member 212 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 222 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue() 341 opt->set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; in gred_offload() 342 opt->set.tab[i].max = q->parms.qth_max >> q->parms.Wlog; in gred_offload() 345 opt->set.tab[i].probability = q->parms.max_P; in gred_offload() 513 red_set_parms(&q->parms, in gred_change_vq() 771 struct nlattr *parms, *vqs, *opts = NULL; in gred_dump() local 793 max_p[i] = q ? q->parms.max_P : 0; in gred_dump() 802 parms = nla_nest_start_noflag(skb, TCA_GRED_PARMS); in gred_dump() [all …]
|
/linux-6.6.21/net/openvswitch/ |
D | vport-gre.c | 39 static struct vport *gre_tnl_create(const struct vport_parms *parms) in gre_tnl_create() argument 41 struct net *net = ovs_dp_get_net(parms->dp); in gre_tnl_create() 46 vport = ovs_vport_alloc(0, &ovs_gre_vport_ops, parms); in gre_tnl_create() 51 dev = gretap_fb_dev_create(net, parms->name, NET_NAME_USER); in gre_tnl_create() 70 static struct vport *gre_create(const struct vport_parms *parms) in gre_create() argument 74 vport = gre_tnl_create(parms); in gre_create() 78 return ovs_netdev_link(vport, parms->name); in gre_create()
|
D | vport-geneve.c | 51 static struct vport *geneve_tnl_create(const struct vport_parms *parms) in geneve_tnl_create() argument 53 struct net *net = ovs_dp_get_net(parms->dp); in geneve_tnl_create() 54 struct nlattr *options = parms->options; in geneve_tnl_create() 77 &ovs_geneve_vport_ops, parms); in geneve_tnl_create() 85 dev = geneve_dev_create_fb(net, parms->name, NET_NAME_USER, dst_port); in geneve_tnl_create() 106 static struct vport *geneve_create(const struct vport_parms *parms) in geneve_create() argument 110 vport = geneve_tnl_create(parms); in geneve_create() 114 return ovs_netdev_link(vport, parms->name); in geneve_create()
|
D | vport-vxlan.c | 71 static struct vport *vxlan_tnl_create(const struct vport_parms *parms) in vxlan_tnl_create() argument 73 struct net *net = ovs_dp_get_net(parms->dp); in vxlan_tnl_create() 74 struct nlattr *options = parms->options; in vxlan_tnl_create() 100 vport = ovs_vport_alloc(0, &ovs_vxlan_netdev_vport_ops, parms); in vxlan_tnl_create() 114 dev = vxlan_dev_create(net, parms->name, NET_NAME_USER, &conf); in vxlan_tnl_create() 135 static struct vport *vxlan_create(const struct vport_parms *parms) in vxlan_create() argument 139 vport = vxlan_tnl_create(parms); in vxlan_create() 143 return ovs_netdev_link(vport, parms->name); in vxlan_create()
|
/linux-6.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_gfxpll.c | 85 struct loongson_gfxpll_parms *pparms = &this->parms; in loongson_gfxpll_get_rates() 121 struct loongson_gfxpll_parms *parms = &this->parms; in loongson_gfxpll_print() local 125 drm_printf(p, "reference clock: %u\n", parms->ref_clock); in loongson_gfxpll_print() 126 drm_printf(p, "div_ref = %u\n", parms->div_ref); in loongson_gfxpll_print() 127 drm_printf(p, "loopc = %u\n", parms->loopc); in loongson_gfxpll_print() 129 drm_printf(p, "div_out_dc = %u\n", parms->div_out_dc); in loongson_gfxpll_print() 130 drm_printf(p, "div_out_gmc = %u\n", parms->div_out_gmc); in loongson_gfxpll_print() 131 drm_printf(p, "div_out_gpu = %u\n", parms->div_out_gpu); in loongson_gfxpll_print() 152 struct loongson_gfxpll_parms *pparms = &this->parms; in loongson_gfxpll_init()
|
/linux-6.6.21/mm/ |
D | dmapool_test.c | 62 static int dmapool_test_block(const struct dmapool_parms *parms) in dmapool_test_block() argument 64 int blocks = nr_blocks(parms->size); in dmapool_test_block() 73 pool = dma_pool_create("test pool", &test_dev, parms->size, in dmapool_test_block() 74 parms->align, parms->boundary); in dmapool_test_block() 91 parms->size, parms->align, blocks, in dmapool_test_block()
|
/linux-6.6.21/certs/ |
D | extract-cert.c | 129 } parms; in main() local 131 parms.cert_id = cert_src; in main() 132 parms.cert = NULL; in main() 144 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1); in main() 145 ERR(!parms.cert, "Get X.509 from PKCS#11"); in main() 146 write_cert(parms.cert); in main()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | hash_pgtable.c | 432 static int notrace chmem_secondary_loop(struct change_memory_parms *parms) in chmem_secondary_loop() argument 437 p = &parms->cpu_counter.counter; in chmem_secondary_loop() 480 struct change_memory_parms *parms = data; in change_memory_range_fn() local 483 if (atomic_xchg(&parms->master_cpu, 1) == 1) in change_memory_range_fn() 484 return chmem_secondary_loop(parms); in change_memory_range_fn() 487 while (atomic_read(&parms->cpu_counter) > 1) in change_memory_range_fn() 490 change_memory_range(parms->start, parms->end, parms->step, parms->newpp); in change_memory_range_fn() 495 atomic_dec(&parms->cpu_counter); in change_memory_range_fn()
|