/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-event_source-devices-dfl_fme | 15 portid = "config:16-23" - event source 19 fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff" 22 0x06 local event id for overall monitoring (portid=0xff). 45 clock = "event=0x00,evtype=0x00,portid=0xff" 72 fab_port_pcie0_read = "event=0x00,evtype=0x02,portid=?" 73 fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?" 74 fab_port_pcie1_read = "event=0x02,evtype=0x02,portid=?" 75 fab_port_pcie1_write = "event=0x03,evtype=0x02,portid=?" 76 fab_port_upi_read = "event=0x04,evtype=0x02,portid=?" 77 fab_port_upi_write = "event=0x05,evtype=0x02,portid=?" [all …]
|
/linux/arch/sparc/kernel/ |
H A D | sbus.c | 298 portid, in sysio_ue_handler() 306 portid, in sysio_ue_handler() 371 portid, in sysio_ce_handler() 383 portid, in sysio_ce_handler() 450 portid, in sysio_sbus_error_handler() 459 portid, in sysio_sbus_error_handler() 501 int portid; in sysio_register_error_handlers() local 509 portid); in sysio_register_error_handlers() 517 portid); in sysio_register_error_handlers() 525 portid); in sysio_register_error_handlers() [all …]
|
H A D | chmc.c | 91 int portid; member 174 u32 portid; member 378 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group() 435 p->portid = *prop; in jbusmc_probe() 599 if (p->portid == this_cpu) { in chmc_read_mcreg() 618 if (p->portid == smp_processor_id()) { 636 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; in chmc_interpret_one_decode_reg() 699 int len, portid; in chmc_probe() local 709 portid = of_getintprop_default(dp, "portid", -1); in chmc_probe() 710 if (portid == -1) in chmc_probe() [all …]
|
/linux/include/net/netfilter/ |
H A D | nf_conntrack_ecache.h | 26 u32 portid; /* netlink portid of destroyer */ member 53 u32 portid; member 59 u32 portid; member 74 u32 portid, int report); 85 u32 portid, in nf_conntrack_eventmask_report() argument 117 u32 portid, int report) in nf_conntrack_event_report() argument 121 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report() 139 u32 portid, int report); 156 u32 portid, in nf_ct_expect_event_report() argument
|
/linux/drivers/fpga/ |
H A D | dfl-fme-perf.c | 172 u32 portid); 266 return is_portid_root(portid) || is_portid_port(portid); in is_portid_root_or_port() 297 u32 event, u32 portid) in basic_read_event_counter() argument 314 u32 event, u32 portid) in cache_read_event_counter() argument 350 u32 portid) in is_fabric_event_supported() argument 396 priv->fab_port_id = portid; in fabric_event_init() 415 u32 portid) in fabric_event_destroy() argument 423 u32 portid) in fabric_read_event_counter() argument 454 u32 portid) in vtd_read_event_counter() argument 487 u32 portid) in vtd_sip_read_event_counter() argument [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_ecache.c | 166 u32 portid, int report) in nf_conntrack_eventmask_report() argument 183 item.portid = e->portid ? e->portid : portid; in nf_conntrack_eventmask_report() 187 missed = e->portid ? 0 : e->missed; in nf_conntrack_eventmask_report() 194 if (e->portid == 0 && portid != 0) in nf_conntrack_eventmask_report() 195 e->portid = portid; in nf_conntrack_eventmask_report() 220 item.portid = 0; in nf_ct_deliver_cached_events() 233 u32 portid, int report) in nf_ct_expect_event_report() argument 252 .portid = portid, in nf_ct_expect_event_report()
|
H A D | nfnetlink_cttimeout.c | 184 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnl_timeout_fill_info() argument 188 unsigned int flags = portid ? NLM_F_MULTI : 0; in ctnl_timeout_fill_info() 194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info() 249 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump() 295 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout() 304 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_get_timeout() 394 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument 400 unsigned int flags = portid ? NLM_F_MULTI : 0; in cttimeout_default_fill_info() 405 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info() 499 NETLINK_CB(skb).portid, in cttimeout_default_get() [all …]
|
/linux/net/batman-adv/ |
H A D | bat_v.c | 130 batadv_v_neigh_dump_neigh(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_neigh_dump_neigh() argument 220 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_neigh_dump() local 225 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump() 239 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump() 357 if (batadv_v_orig_dump_subentry(msg, portid, seq, bat_priv, in batadv_v_orig_dump_entry() 401 if (batadv_v_orig_dump_entry(msg, portid, seq, bat_priv, in batadv_v_orig_dump_bucket() 432 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_orig_dump() local 437 if (batadv_v_orig_dump_bucket(msg, portid, in batadv_v_orig_dump() 678 hdr = genlmsg_put(msg, portid, cb->nlh->nlmsg_seq, in batadv_v_gw_dump_entry() 756 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_gw_dump() local [all …]
|
H A D | bat_algo.c | 159 static int batadv_algo_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_algo_dump_entry() argument 164 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, in batadv_algo_dump_entry() 190 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump() local 199 if (batadv_algo_dump_entry(msg, portid, cb->nlh->nlmsg_seq, in batadv_algo_dump()
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t4240si-pre.dtsi | 95 fsl,portid-mapping = <0x80000000>; 102 fsl,portid-mapping = <0x80000000>; 109 fsl,portid-mapping = <0x80000000>; 116 fsl,portid-mapping = <0x80000000>; 123 fsl,portid-mapping = <0x40000000>; 130 fsl,portid-mapping = <0x40000000>; 137 fsl,portid-mapping = <0x40000000>; 144 fsl,portid-mapping = <0x40000000>; 151 fsl,portid-mapping = <0x20000000>; 158 fsl,portid-mapping = <0x20000000>; [all …]
|
H A D | p4080si-pre.dtsi | 99 fsl,portid-mapping = <0x80000000>; 109 fsl,portid-mapping = <0x40000000>; 119 fsl,portid-mapping = <0x20000000>; 129 fsl,portid-mapping = <0x10000000>; 139 fsl,portid-mapping = <0x08000000>; 149 fsl,portid-mapping = <0x04000000>; 159 fsl,portid-mapping = <0x02000000>; 169 fsl,portid-mapping = <0x01000000>;
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_lnode.c | 123 if (ln->portid == portid) in csio_ln_lookup_by_portid() 723 uint8_t portid; in csio_fcoe_enable_link() local 734 portid = ln->portid; in csio_fcoe_enable_link() 745 portid); in csio_fcoe_enable_link() 768 if (hw->pport[i].portid == portid) in csio_fcoe_enable_link() 885 portid); in csio_handle_link_up() 904 ln->portid = portid; in csio_handle_link_up() 1052 portid); in csio_handle_link_down() 1058 if (fp->portid != portid) { in csio_handle_link_down() 1399 portparams.portid = portid; in csio_get_phy_port_stats() [all …]
|
/linux/include/linux/netfilter/ |
H A D | nfnetlink.h | 55 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, 57 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error); 58 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid); 59 void nfnetlink_broadcast(struct net *net, struct sk_buff *skb, __u32 portid, 78 static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid, in nfnl_msg_put() argument 85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
|
/linux/include/net/ |
H A D | genetlink.h | 332 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, 484 u32 portid, unsigned int group, gfp_t flags, in genlmsg_multicast_netns_filtered() argument 491 return nlmsg_multicast_filtered(net->genl_sock, skb, portid, group, in genlmsg_multicast_netns_filtered() 506 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument 508 return genlmsg_multicast_netns_filtered(family, net, skb, portid, in genlmsg_multicast_netns() 521 struct sk_buff *skb, u32 portid, in genlmsg_multicast() argument 525 portid, group, flags); in genlmsg_multicast() 539 struct sk_buff *skb, u32 portid, 550 return nlmsg_unicast(net->genl_sock, skb, portid); in genlmsg_unicast() 624 struct net *net, u32 portid, in genl_set_err() argument [all …]
|
/linux/net/netlink/ |
H A D | af_netlink.c | 177 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb() 485 u32 portid; member 498 return nlk->portid != x->portid || in netlink_compare() 507 arg->portid = portid; in netlink_compare_arg_init() 577 err = nlk_sk(sk)->portid == portid ? 0 : -EBUSY; in netlink_insert() 582 WRITE_ONCE(nlk_sk(sk)->portid, portid); in netlink_insert() 789 .portid = nlk->portid, in netlink_release() 1421 u32 portid; member 1527 info.portid = portid; in netlink_broadcast_filtered() 1624 info.portid = portid; in netlink_set_err() [all …]
|
/linux/drivers/connector/ |
H A D | connector.c | 61 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, in cn_netlink_send_mult() argument 74 if (portid || __group) { in cn_netlink_send_mult() 92 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult() 114 return netlink_broadcast_filtered(dev->nls, skb, portid, group, in cn_netlink_send_mult() 117 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult() 123 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument 126 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask, in cn_netlink_send()
|
/linux/net/sched/ |
H A D | sch_api.c | 1011 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify() local 1038 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local 1967 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_notify() local 1990 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_get_notify() local 2012 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tclass_del_notify() local 2070 u32 portid; member 2113 args.portid = portid; in tc_bind_tclass() 2140 u32 portid; in tc_ctl_tclass() local 2169 portid = tcm->tcm_parent; in tc_ctl_tclass() 2190 if (portid) in tc_ctl_tclass() [all …]
|
H A D | act_api.c | 1659 return rtnl_unicast(skb, net, portid); in tcf_get_notify() 1663 struct nlmsghdr *n, u32 portid, in tcf_action_get_1() argument 1707 struct nlmsghdr *n, u32 portid, in tca_action_flush() argument 1917 u32 portid, size_t attr_size, in tcf_del_notify_msg() argument 1937 struct tc_action *actions[], u32 portid, in tcf_del_notify() argument 2014 u32 portid, size_t attr_size, in tcf_add_notify_msg() argument 2034 struct tc_action *actions[], u32 portid, in tcf_add_notify() argument 2090 u32 portid = NETLINK_CB(skb).portid; in tc_ctl_action() local 2124 portid, RTM_DELACTION, extack); in tc_ctl_action() 2128 portid, RTM_GETACTION, extack); in tc_ctl_action() [all …]
|
/linux/drivers/w1/ |
H A D | w1_netlink.c | 21 u32 portid; /* Sending process port ID */ member 68 block->portid, 0, in w1_unref_block() 87 cn_netlink_send_mult(block->first_cn, len, block->portid, in w1_reply_make_space() 195 int portid, int error) in w1_netlink_send_error() argument 206 cn_netlink_send(&packet.cn, portid, 0, GFP_KERNEL); in w1_netlink_send_error() 426 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root() 437 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root() 555 w1_netlink_send_error(cn, msg, nsp->portid, -EINVAL); in w1_cn_callback() 615 block->portid = nsp->portid; in w1_cn_callback() 647 err = w1_process_command_root(cn, nsp->portid); in w1_cn_callback() [all …]
|
/linux/net/devlink/ |
H A D | sb.c | 247 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_get_dump_one() 345 u32 portid, u32 seq, int flags) in __sb_pool_get_dumpit() argument 360 portid, seq, flags); in __sb_pool_get_dumpit() 383 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_pool_get_dump_one() 453 u32 portid, u32 seq, int flags) in devlink_nl_sb_port_pool_fill() argument 566 portid, seq, flags); in __sb_port_pool_get_dumpit() 591 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_port_pool_get_dump_one() 657 u32 portid, u32 seq, int flags) in devlink_nl_sb_tc_pool_bind_fill() argument 764 u32 portid, u32 seq, int flags) in __sb_tc_pool_bind_get_dumpit() argument 784 portid, seq, in __sb_tc_pool_bind_get_dumpit() [all …]
|
/linux/net/mctp/ |
H A D | device.c | 63 int msg_type, u32 portid, u32 seq, int flag) in mctp_fill_addrinfo() argument 68 nlh = nlmsg_put(skb, portid, seq, in mctp_fill_addrinfo() 99 u32 portid, seq; in mctp_dump_dev_addrinfo() local 102 portid = NETLINK_CB(cb->skb).portid; in mctp_dump_dev_addrinfo() 106 RTM_NEWADDR, portid, seq, NLM_F_MULTI); in mctp_dump_dev_addrinfo() 162 u32 portid = NETLINK_CB(req_skb).portid; in mctp_addr_notify() local 172 portid, req_nlh->nlmsg_seq, 0); in mctp_addr_notify() 178 rtnl_notify(skb, net, portid, RTNLGRP_MCTP_IFADDR, req_nlh, GFP_KERNEL); in mctp_addr_notify()
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_dump_flush.c | 100 unsigned int portid; in conntrack_data_insert() local 103 portid = mnl_socket_get_portid(sock); in conntrack_data_insert() 124 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid, NULL, NULL); in conntrack_data_insert() 218 unsigned int portid; in conntracK_count_zone() local 221 portid = mnl_socket_get_portid(sock); in conntracK_count_zone() 244 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid, in conntracK_count_zone() 265 unsigned int portid; in conntrack_flush_zone() local 268 portid = mnl_socket_get_portid(sock); in conntrack_flush_zone() 294 ret = mnl_cb_run(buf, ret, nlh->nlmsg_seq, portid, NULL, NULL); in conntrack_flush_zone()
|
/linux/include/linux/ |
H A D | netlink.h | 27 __u32 portid; member 228 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock); 229 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid, 235 __u32 portid, __u32 group, gfp_t allocation, 238 int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code); 312 u32 portid; member 317 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
|
/linux/net/phonet/ |
H A D | pn_netlink.c | 23 u32 portid, u32 seq, int event); 96 u32 portid, u32 seq, int event) in fill_addr() argument 101 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr() 144 NETLINK_CB(cb->skb).portid, in getaddr_dumpit() 161 u32 portid, u32 seq, int event) in fill_route() argument 166 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route() 277 NETLINK_CB(cb->skb).portid, in route_dumpit()
|
/linux/net/unix/ |
H A D | diag.c | 126 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument 131 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 185 u32 portid, u32 seq, u32 flags) in sk_diag_dump() argument 196 return sk_diag_fill(sk, skb, req, user_ns, portid, seq, flags, sk_ino); in sk_diag_dump() 221 NETLINK_CB(cb->skb).portid, in unix_diag_dump() 289 NETLINK_CB(in_skb).portid, in unix_diag_get_exact() 299 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
|