Home
last modified time | relevance | path

Searched +defs:port +defs:id +defs:attrs (Results 1 – 17 of 17) sorted by relevance

/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c77 struct rtattr *attrs = (struct rtattr *)NLMSG_DATA(nh); in nl_error() local
104 struct rtattr *attrs; in capture_events() local
244 struct rtattr *attrs; in genl_parse_getfamily() local
339 u_int16_t family, port; in dsf() local
457 u_int16_t port; in csf() local
459 u_int8_t id; in csf() local
587 u_int8_t id; in remove_addr() local
636 u_int32_t id = UINT_MAX; in announce_addr() local
710 u_int16_t port; in announce_addr() local
765 u_int8_t id; in add_addr() local
[all …]
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink_port.c180 ice_devlink_port_split(struct devlink *devlink, struct devlink_port *port, in ice_devlink_port_split()
253 ice_devlink_port_unsplit(struct devlink *devlink, struct devlink_port *port, in ice_devlink_port_unsplit()
268 struct devlink_port_attrs *attrs) in ice_devlink_set_port_split_options()
306 u64 id; in ice_devlink_set_switch_id() local
325 struct devlink_port_attrs attrs = {}; in ice_devlink_create_pf_port() local
388 static int ice_devlink_port_get_vf_fn_mac(struct devlink_port *port, in ice_devlink_port_get_vf_fn_mac()
410 static int ice_devlink_port_set_vf_fn_mac(struct devlink_port *port, in ice_devlink_port_set_vf_fn_mac()
416 struct devlink_port_attrs *attrs = &port->attrs; in ice_devlink_port_set_vf_fn_mac() local
444 struct devlink_port_attrs attrs = {}; in ice_devlink_create_vf_port() local
503 struct devlink_port_attrs attrs = {}; in ice_devlink_create_sf_dev_port() local
[all …]
/linux/drivers/usb/usbip/
H A Dvhci_sysfs.c38 static void port_show_vhci(char **out, int hub, int port, struct vhci_device *vdev) in port_show_vhci()
236 __u32 port = 0, pdev_nr = 0, rhport = 0; in detach_store() local
314 __u32 port = 0, pdev_nr = 0, rhport = 0, devid = 0, speed = 0; in attach_store() local
460 static void set_status_attr(int id) in set_status_attr()
477 int id; in init_status_attrs() local
501 struct attribute **attrs; in vhci_init_attr_group() local
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_devlink.c14 nfp_devlink_fill_eth_port(struct nfp_port *port, in nfp_devlink_fill_eth_port()
33 struct nfp_port *port = container_of(dl_port, struct nfp_port, dl_port); in nfp_devlink_fill_eth_port_from_id() local
64 nfp_devlink_port_split(struct devlink *devlink, struct devlink_port *port, in nfp_devlink_port_split()
92 nfp_devlink_port_unsplit(struct devlink *devlink, struct devlink_port *port, in nfp_devlink_port_unsplit()
191 enum nfp_nsp_versions id; member
332 int nfp_devlink_port_register(struct nfp_app *app, struct nfp_port *port) in nfp_devlink_port_register()
334 struct devlink_port_attrs attrs = {}; in nfp_devlink_port_register() local
366 void nfp_devlink_port_unregister(struct nfp_port *port) in nfp_devlink_port_unregister()
/linux/net/tipc/
H A Dnode.c189 u32 port; member
230 bool tipc_node_get_id(struct net *net, u32 addr, u8 *id) in tipc_node_get_id()
352 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
692 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn()
723 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn()
1133 u32 tipc_node_try_addr(struct net *net, u8 *id, u32 addr) in tipc_node_try_addr()
1597 struct nlattr *attrs; in __tipc_nl_add_node() local
2243 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in tipc_nl_peer_rm() local
2425 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_set_link() local
2500 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1]; in tipc_nl_node_get_link() local
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Drep.c185 static int rvu_rep_dl_port_fn_hw_addr_get(struct devlink_port *port, in rvu_rep_dl_port_fn_hw_addr_get()
196 static int rvu_rep_dl_port_fn_hw_addr_set(struct devlink_port *port, in rvu_rep_dl_port_fn_hw_addr_set()
223 u64 id; in rvu_rep_devlink_set_switch_id() local
238 struct devlink_port_attrs attrs = {}; in rvu_rep_devlink_port_register() local
753 static int rvu_rep_probe(struct pci_dev *pdev, const struct pci_device_id *id) in rvu_rep_probe()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c278 static void am65_cpsw_sl_ctl_reset(struct am65_cpsw_port *port) in am65_cpsw_sl_ctl_reset()
302 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_nuss_ndo_slave_add_vid() local
331 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_nuss_ndo_slave_kill_vid() local
352 static void am65_cpsw_slave_set_promisc(struct am65_cpsw_port *port, in am65_cpsw_slave_set_promisc()
378 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
506 int id, port; in am65_cpsw_destroy_xdp_rxqs() local
543 int id, port, ret; in am65_cpsw_create_xdp_rxqs() local
748 struct am65_cpsw_port *port = &common->ports[port_idx]; in am65_cpsw_nuss_common_open() local
937 struct am65_cpsw_port *port = am65_ndev_to_port(ndev); in am65_cpsw_nuss_ndo_slave_stop() local
957 struct am65_cpsw_port *port = arg; in cpsw_restore_vlans() local
[all …]
/linux/fs/smb/client/
H A Dsmbdirect.c182 struct rdma_cm_id *id, struct rdma_cm_event *event) in smbd_conn_upcall()
551 struct sockaddr *dstaddr, int port) in smbd_create_id()
553 struct rdma_cm_id *id; in smbd_create_id() local
625 static bool frwr_is_supported(struct ib_device_attr *attrs) in frwr_is_supported()
636 struct sockaddr *dstaddr, int port) in smbd_ia_open()
1490 struct TCP_Server_Info *server, struct sockaddr *dstaddr, int port) in _smbd_get_connection()
1708 int port = SMBD_PORT; in smbd_get_connection() local
/linux/drivers/net/ethernet/rocker/
H A Drocker_main.c728 const struct rocker_tlv **attrs) in rocker_dma_rx_ring_skb_unmap()
745 const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1]; in rocker_dma_rx_ring_skb_free() local
914 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_LINK_CHANGED_MAX + 1]; in rocker_event_link_change() local
948 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAX + 1]; in rocker_event_mac_vlan_seen() local
974 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAX + 1]; in rocker_event_process() local
1119 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_ethtool_proc() local
1158 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_macaddr_proc() local
1185 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_mode_proc() local
1214 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_phys_name_proc() local
1823 const struct rocker_tlv *attrs[ROCKER_TLV_TX_MAX + 1]; in rocker_tx_desc_frags_unmap() local
[all …]
/linux/net/wireless/
H A Dnl80211.c68 struct net *netns, struct nlattr **attrs) in __cfg80211_wdev_from_attrs()
140 __cfg80211_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg80211_rdev_from_attrs()
1285 static unsigned int nl80211_link_id(struct nlattr **attrs) in nl80211_link_id()
1292 static int nl80211_link_id_or_invalid(struct nlattr **attrs) in nl80211_link_id_or_invalid()
3336 struct nlattr **attrs = info->attrs; in _nl80211_parse_chandef() local
5291 struct nlattr *attrs[], in nl80211_parse_tx_bitrate_mask()
5515 struct nlattr *attrs, in nl80211_parse_mbssid_config()
5577 nl80211_parse_mbssid_elems(struct wiphy *wiphy, struct nlattr *attrs) in nl80211_parse_mbssid_elems()
5607 nl80211_parse_rnr_elems(struct wiphy *wiphy, struct nlattr *attrs, in nl80211_parse_rnr_elems()
5638 static int nl80211_parse_he_bss_color(struct nlattr *attrs, in nl80211_parse_he_bss_color()
[all …]
/linux/arch/x86/kvm/
H A Dx86.c8111 unsigned short port, void *data, in emulator_pio_in_out()
8162 unsigned short port, void *val, unsigned int count) in emulator_pio_in()
8181 int size, unsigned short port, void *val, in emulator_pio_in_emulated()
8201 unsigned short port, const void *val, in emulator_pio_out()
8209 int size, unsigned short port, in emulator_pio_out_emulated()
9303 unsigned short port) in kvm_fast_pio_out()
9349 unsigned short port) in kvm_fast_pio_in()
9369 int kvm_fast_pio(struct kvm_vcpu *vcpu, int size, unsigned short port, int in) in kvm_fast_pio()
10041 u64 gpa = a0, npages = a1, attrs = a2; in __kvm_emulate_hypercall() local
12213 int kvm_arch_vcpu_precreate(struct kvm *kvm, unsigned int id) in kvm_arch_vcpu_precreate()
[all …]
/linux/include/net/
H A Dxfrm.h195 struct xfrm_id id; member
491 struct xfrm_id id; member
707 __be16 id; member
918 __be16 port; in xfrm_flowi_sport() local
945 __be16 port; in xfrm_flowi_dport() local
2106 static inline int xfrm_mark_get(struct nlattr **attrs, struct xfrm_mark *m) in xfrm_mark_get()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1309 static int mlxsw_core_devlink_param_fw_load_policy_validate(struct devlink *devlink, u32 id, in mlxsw_core_devlink_param_fw_load_policy_validate()
1357 struct devlink_port *port, in mlxsw_devlink_port_split()
1372 struct devlink_port *port, in mlxsw_devlink_port_unsplit()
3071 struct devlink_port_attrs attrs = {}; in __mlxsw_core_port_init() local
3318 u16 id; in mlxsw_core_resources_query() local
/linux/net/core/
H A Drtnetlink.c1007 int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, u32 id, in rtnl_put_cacheinfo()
1833 int id = peernet2id_alloc(src_net, link_net, gfp); in rtnl_fill_link_netnsid() local
2503 const struct nlattr *attrs; in rtnl_nla_parse_ifinfomsg() local
3220 struct nlattr *port[IFLA_PORT_MAX+1]; in do_setlink() local
3255 struct nlattr *port[IFLA_PORT_MAX+1]; in do_setlink() local
3994 int id = nla_get_s32(tb[IFLA_LINK_NETNSID]); in rtnl_newlink() local
/linux/drivers/s390/net/
H A Dqeth_core_main.c1831 struct ccw_dev_id id; in qeth_vm_detect_layer() local
2260 u8 port = ((u8)card->dev->dev_port) | 0x80; in qeth_idx_setup_activate_cmd() local
3285 struct qeth_query_switch_attributes *attrs; in qeth_query_switch_attributes_cb() local
6112 void qeth_dbf_longtext(debug_info_t *id, int level, char *fmt, ...) in qeth_dbf_longtext()
/linux/include/rdma/
H A Dib_verbs.h1535 int id; /* index into kernel idr */ member
1812 u32 port; member
2091 u32 port; member
2753 struct ib_device_attr attrs; global() member
3085 rdma_is_port_valid(const struct ib_device * device,unsigned int port) rdma_is_port_valid() argument
3435 rdma_mtu_enum_to_int(struct ib_device * device,u32 port,int mtu) rdma_mtu_enum_to_int() argument
3452 rdma_mtu_from_attr(struct ib_device * device,u32 port,struct ib_port_attr * attr) rdma_mtu_from_attr() argument
[all...]
/linux/fs/nfs/
H A Dnfs4proc.c330 unsigned int attrs = FATTR4_WORD0_FILEID | FATTR4_WORD0_TYPE; in nfs4_setup_readdir() local
3252 unsigned attrs = nfs4_exclusive_attrset(opendata, sattr, &label); in _nfs4_do_open() local
6415 const char *id; in nfs4_get_uniquifier() local
6564 unsigned short port, const struct cred *cred, in nfs4_proc_setclientid()