/linux/fs/vboxsf/ |
A D | vboxsf_wrappers.c | 85 parms.root.u.value32 = 0; in vboxsf_map_folder() 133 struct shfl_create parms; in vboxsf_create() local 142 parms.parms.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; in vboxsf_create() 143 parms.parms.u.pointer.size = sizeof(struct shfl_createparms); in vboxsf_create() 144 parms.parms.u.pointer.u.linear_addr = (uintptr_t)create_parms; in vboxsf_create() 151 struct shfl_close parms; in vboxsf_close() local 164 struct shfl_remove parms; in vboxsf_remove() local 182 struct shfl_rename parms; in vboxsf_rename() local 203 struct shfl_read parms; in vboxsf_read() local 227 struct shfl_write parms; in vboxsf_write() local [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ipip.c | 16 return tun->parms; in mlxsw_sp_ipip_netdev_parms4() 24 return tun->parms; in mlxsw_sp_ipip_netdev_parms6() 50 be32_to_cpu(parms->i_key) : 0; in mlxsw_sp_ipip_parms4_ikey() 56 be32_to_cpu(parms->i_key) : 0; in mlxsw_sp_ipip_parms6_ikey() 62 be32_to_cpu(parms->o_key) : 0; in mlxsw_sp_ipip_parms4_okey() 68 be32_to_cpu(parms->o_key) : 0; in mlxsw_sp_ipip_parms6_okey() 159 .link = parms.link, in mlxsw_sp_ipip_netdev_parms_init_gre4() 191 struct ip_tunnel_parm parms; in mlxsw_sp_ipip_decap_config_gre4() local 371 return parms; in mlxsw_sp1_ipip_netdev_parms_init_gre6() 460 .link = parms.link, in mlxsw_sp2_ipip_netdev_parms_init_gre6() [all …]
|
A D | spectrum_span.c | 51 struct mlxsw_sp_span_trigger_parms parms; member 418 struct ip_tunnel_parm parms; in mlxsw_sp_span_gretap4_route() local 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() 1502 *parms) in mlxsw_sp_span_trigger_entry_create() 1515 memcpy(&trigger_entry->parms, parms, sizeof(trigger_entry->parms)); in mlxsw_sp_span_trigger_entry_create() 1575 if (trigger_entry->parms.span_id != parms->span_id || in mlxsw_sp_span_agent_bind() 1577 parms->probability_rate) in mlxsw_sp_span_agent_bind() 1586 parms); in mlxsw_sp_span_agent_bind() [all …]
|
A D | spectrum_span.h | 73 struct mlxsw_sp_span_parms parms; member 104 const struct mlxsw_sp_span_agent_parms *parms); 113 const struct mlxsw_sp_span_trigger_parms *parms); 118 const struct mlxsw_sp_span_trigger_parms *parms);
|
/linux/net/ipv6/ |
A D | ip6_gre.c | 269 if (t->parms.collect_md) in ip6gre_tunnel_link_md() 275 if (t->parms.collect_md) in ip6erspan_tunnel_link_md() 328 int link = parms->link; in ip6gre_tunnel_find() 360 if (parms->name[0]) { in ip6gre_tunnel_locate() 375 nt->parms = *parms; in ip6gre_tunnel_locate() 444 t->parms.name); in ip6gre_err() 451 t->parms.name); in ip6gre_err() 471 t->parms.name); in ip6gre_err() 899 if (!ip6_tnl_xmit_ctl(t, &t->parms.laddr, &t->parms.raddr)) in ip6gre_tunnel_xmit() 947 if (!ip6_tnl_xmit_ctl(t, &t->parms.laddr, &t->parms.raddr)) in ip6erspan_tunnel_xmit() [all …]
|
A D | sit.c | 110 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 117 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 124 (!dev || !t->parms.link || ifindex == t->parms.link || in ipip6_tunnel_lookup() 244 parms->link == t->parms.link) { in ipip6_tunnel_locate() 254 if (parms->name[0]) { in ipip6_tunnel_locate() 270 nt->parms = *parms; in ipip6_tunnel_locate() 274 if (!parms->name[0]) in ipip6_tunnel_locate() 1504 memset(parms, 0, sizeof(*parms)); in ipip6_netlink_parms() 1508 parms->iph.ihl = 5; in ipip6_netlink_parms() 1509 parms->iph.ttl = 64; in ipip6_netlink_parms() [all …]
|
A D | ip6_tunnel.c | 213 if (t->parms.collect_md) in ip6_tnl_link() 231 if (t->parms.collect_md) in ip6_tnl_unlink() 311 t->parms = *p; in ip6_tnl_create() 497 t->parms.name); in ip6_tnl_err() 503 t->parms.name); in ip6_tnl_err() 519 t->parms.name); in ip6_tnl_err() 524 t->parms.name); in ip6_tnl_err() 1125 } else if (t->parms.proto != 0 && !(t->parms.flags & in ip6_tnl_xmit() 1729 if (tnl->parms.proto == IPPROTO_IPV6 || tnl->parms.proto == 0) { in ip6_tnl_change_mtu() 1745 return t->parms.link; in ip6_tnl_get_iflink() [all …]
|
A D | ip6_vti.c | 226 t->parms = *p; in vti6_tnl_create() 308 if (t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) { in vti6_input_proto() 499 if (!vti6_state_check(x, &t->parms.raddr, &t->parms.laddr)) in vti6_xmit() 511 t->parms.name); in vti6_xmit() 569 if ((t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) || in vti6_tnl_xmit() 716 t->parms.laddr = p->laddr; in vti6_tnl_change() 717 t->parms.raddr = p->raddr; in vti6_tnl_change() 718 t->parms.link = p->link; in vti6_tnl_change() 719 t->parms.i_key = p->i_key; in vti6_tnl_change() 720 t->parms.o_key = p->o_key; in vti6_tnl_change() [all …]
|
/linux/net/ipv4/ |
A D | ip_tunnel.c | 105 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() 181 if (parms->iph.daddr && !ipv4_is_multicast(parms->iph.daddr)) in ip_bucket() 186 if (!(parms->i_flags & TUNNEL_KEY) && (parms->i_flags & VTI_ISVTI)) in ip_bucket() 217 int link = parms->link; in ip_tunnel_find() 242 if (parms->name[0]) { in __ip_tunnel_create() 264 tunnel->parms = *parms; in __ip_tunnel_create() 288 iph = &tunnel->parms.iph; in ip_tunnel_bind_dev() 729 tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link, in ip_tunnel_xmit() 1065 memset(&parms, 0, sizeof(parms)); in ip_tunnel_init_net() [all …]
|
A D | ipip.c | 182 if (t->parms.iph.daddr == 0) { in ipip_err() 226 if (tunnel->parms.iph.protocol != ipproto && in ipip_tunnel_rcv() 227 tunnel->parms.iph.protocol != 0) in ipip_tunnel_rcv() 410 memset(parms, 0, sizeof(*parms)); in ipip_netlink_parms() 412 parms->iph.version = 4; in ipip_netlink_parms() 413 parms->iph.protocol = IPPROTO_IPIP; in ipip_netlink_parms() 414 parms->iph.ihl = 5; in ipip_netlink_parms() 431 if (parms->iph.ttl) in ipip_netlink_parms() 432 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms() 442 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms() [all …]
|
A D | ip_gre.c | 198 if (t->parms.iph.daddr == 0 || in ipgre_err() 468 tunnel->parms.o_flags, proto, tunnel->parms.o_key, in __gre_xmit() 892 t->parms.iph.daddr, in ipgre_open() 893 t->parms.iph.saddr, in ipgre_open() 894 t->parms.o_key, in ipgre_open() 896 t->parms.link); in ipgre_open() 1135 memset(parms, 0, sizeof(*parms)); in ipgre_netlink_parms() 1409 t->parms.i_flags = p.i_flags; in ipgre_changelink() 1410 t->parms.o_flags = p.o_flags; in ipgre_changelink() 1438 t->parms.i_flags = p.i_flags; in erspan_changelink() [all …]
|
A D | ip_vti.c | 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() 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() 542 parms->i_flags = VTI_ISVTI; in vti_netlink_parms() 567 struct ip_tunnel_parm parms; in vti_newlink() local [all …]
|
/linux/net/lapb/ |
A D | lapb_iface.c | 222 parms->n2 = lapb->n2; in lapb_getparms() 224 parms->state = lapb->state; in lapb_getparms() 226 parms->mode = lapb->mode; in lapb_getparms() 229 parms->t1timer = 0; in lapb_getparms() 234 parms->t2timer = 0; in lapb_getparms() 257 if (parms->t1 < 1 || parms->t2 < 1 || parms->n2 < 1) in lapb_setparms() 262 if (parms->window < 1 || parms->window > 127) in lapb_setparms() 265 if (parms->window < 1 || parms->window > 7) in lapb_setparms() 268 lapb->mode = parms->mode; in lapb_setparms() 272 lapb->t1 = parms->t1 * HZ; in lapb_setparms() [all …]
|
/linux/net/decnet/ |
A D | dn_dev.c | 234 parms->sysctl = t; in dn_dev_sysctl_register() 239 if (parms->sysctl) { in dn_dev_sysctl_unregister() 241 parms->sysctl = NULL; in dn_dev_sysctl_unregister() 277 if (dn_db->parms.down) in dn_forwarding_proc() 280 if (dn_db->parms.up) in dn_forwarding_proc() 281 dn_db->parms.up(dev); in dn_forwarding_proc() 1066 if (dn_db->parms.t2 > dn_db->parms.t3) in dn_dev_set_timer() 1067 dn_db->parms.t2 = dn_db->parms.t3; in dn_dev_set_timer() 1108 if (dn_db->parms.up) { in dn_dev_create() 1203 if (dn_db->parms.down) in dn_dev_delete() [all …]
|
/linux/net/openvswitch/ |
A 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()
|
A 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()
|
A 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()
|
A D | vport.c | 123 const struct vport_parms *parms) in ovs_vport_alloc() argument 138 vport->dp = parms->dp; in ovs_vport_alloc() 139 vport->port_no = parms->port_no; in ovs_vport_alloc() 143 if (ovs_vport_set_upcall_portids(vport, parms->upcall_portids)) { in ovs_vport_alloc() 172 static struct vport_ops *ovs_vport_lookup(const struct vport_parms *parms) in ovs_vport_lookup() argument 177 if (ops->type == parms->type) in ovs_vport_lookup() 191 struct vport *ovs_vport_add(const struct vport_parms *parms) in ovs_vport_add() argument 196 ops = ovs_vport_lookup(parms); in ovs_vport_add() 203 vport = ops->create(parms); in ovs_vport_add() 220 request_module("vport-type-%d", parms->type); in ovs_vport_add() [all …]
|
/linux/drivers/media/usb/cpia2/ |
A D | cpia2_v4l.c | 661 memset(parms, 0, sizeof(*parms)); in cpia2_g_jpegcomp() 669 parms->APPn = cam->APPn; in cpia2_g_jpegcomp() 683 parms->APP_len, parms->COM_len); in cpia2_g_jpegcomp() 703 parms->APP_len, parms->COM_len); in cpia2_s_jpegcomp() 708 if (parms->APP_len != 0) { in cpia2_s_jpegcomp() 709 if (parms->APP_len > 0 && in cpia2_s_jpegcomp() 711 parms->APPn >= 0 && parms->APPn <= 15) { in cpia2_s_jpegcomp() 712 cam->APPn = parms->APPn; in cpia2_s_jpegcomp() 714 memcpy(cam->APP_data, parms->APP_data, parms->APP_len); in cpia2_s_jpegcomp() 717 parms->APPn, parms->APP_len); in cpia2_s_jpegcomp() [all …]
|
/linux/net/sched/ |
A D | sch_red.c | 45 struct red_parms parms; member 77 q->vars.qavg = red_calc_qavg(&q->parms, 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() 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() 419 .Wlog = q->parms.Wlog, in red_dump() 420 .Plog = q->parms.Plog, in red_dump() [all …]
|
A D | sch_gred.c | 42 struct red_parms parms; member 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() 511 red_set_parms(&q->parms, in gred_change_vq() 804 if (parms == NULL) in gred_dump() 827 opt.qth_min = q->parms.qth_min >> q->parms.Wlog; in gred_dump() 828 opt.qth_max = q->parms.qth_max >> q->parms.Wlog; in gred_dump() 829 opt.Wlog = q->parms.Wlog; in gred_dump() 830 opt.Plog = q->parms.Plog; in gred_dump() 844 opt.qave = qavg >> q->parms.Wlog; in gred_dump() [all …]
|
A D | sch_choke.c | 53 struct red_parms parms; member 217 const struct red_parms *p = &q->parms; in choke_enqueue() 414 red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, in choke_change() 441 .qth_min = q->parms.qth_min >> q->parms.Wlog, in choke_dump() 442 .qth_max = q->parms.qth_max >> q->parms.Wlog, in choke_dump() 443 .Wlog = q->parms.Wlog, in choke_dump() 444 .Plog = q->parms.Plog, in choke_dump() 445 .Scell_log = q->parms.Scell_log, in choke_dump() 453 nla_put_u32(skb, TCA_CHOKE_MAX_P, q->parms.max_P)) in choke_dump()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | hash_pgtable.c | 431 static int notrace chmem_secondary_loop(struct change_memory_parms *parms) in chmem_secondary_loop() argument 436 p = &parms->cpu_counter.counter; in chmem_secondary_loop() 479 struct change_memory_parms *parms = data; in change_memory_range_fn() local 481 if (parms->master_cpu != smp_processor_id()) in change_memory_range_fn() 482 return chmem_secondary_loop(parms); in change_memory_range_fn() 485 while (atomic_read(&parms->cpu_counter) > 1) in change_memory_range_fn() 488 change_memory_range(parms->start, parms->end, parms->step, parms->newpp); in change_memory_range_fn() 493 atomic_dec(&parms->cpu_counter); in change_memory_range_fn()
|
/linux/scripts/ |
A D | extract-cert.c | 119 } parms; in main() local 121 parms.cert_id = cert_src; in main() 122 parms.cert = NULL; in main() 134 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1); in main() 135 ERR(!parms.cert, "Get X.509 from PKCS#11"); in main() 136 write_cert(parms.cert); in main()
|
/linux/net/core/ |
A D | neighbour.c | 445 n->parms = neigh_parms_clone(&tbl->parms); in neigh_alloc() 644 if (n->parms->neigh_setup && in ___neigh_create() 661 if (n->parms->dead) { in ___neigh_create() 1694 neigh_parms_put(parms); in neigh_rcu_free_parms() 1699 if (!parms || parms == &tbl->parms) in neigh_parms_release() 1702 list_del(&parms->list); in neigh_parms_release() 1703 parms->dead = 1; in neigh_parms_release() 1705 dev_put(parms->dev); in neigh_parms_release() 1712 kfree(parms); in neigh_parms_destroy() 2066 if ((parms->dev && in neightbl_fill_parms() [all …]
|