Lines Matching refs:nl_client
59 int iwpm_init(u8 nl_client) in iwpm_init() argument
73 iwpm_set_registration(nl_client, IWPM_REG_UNDEF); in iwpm_init()
87 int iwpm_exit(u8 nl_client) in iwpm_exit() argument
92 iwpm_set_registration(nl_client, IWPM_REG_UNDEF); in iwpm_exit()
109 u8 nl_client, u32 map_flags) in iwpm_create_mapinfo() argument
124 map_info->nl_client = nl_client; in iwpm_create_mapinfo()
267 u8 nl_client) in iwpm_get_remote_info() argument
308 u8 nl_client, gfp_t gfp) in iwpm_get_nlmsg_request() argument
324 nlmsg_request->nl_client = nl_client; in iwpm_get_nlmsg_request()
390 u32 iwpm_get_registration(u8 nl_client) in iwpm_get_registration() argument
392 return iwpm_admin.reg_list[nl_client]; in iwpm_get_registration()
396 void iwpm_set_registration(u8 nl_client, u32 reg) in iwpm_set_registration() argument
398 iwpm_admin.reg_list[nl_client] = reg; in iwpm_set_registration()
402 u32 iwpm_check_registration(u8 nl_client, u32 reg) in iwpm_check_registration() argument
404 return (iwpm_get_registration(nl_client) & reg); in iwpm_check_registration()
439 int nl_client) in iwpm_create_nlmsg() argument
447 if (!(ibnl_put_msg(skb, nlh, 0, 0, nl_client, nl_op, in iwpm_create_nlmsg()
578 static int send_mapinfo_num(u32 mapping_num, u8 nl_client, int iwpm_pid) in send_mapinfo_num() argument
586 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_MAPINFO_NUM, &nlh, nl_client); in send_mapinfo_num()
618 static int send_nlmsg_done(struct sk_buff *skb, u8 nl_client, int iwpm_pid) in send_nlmsg_done() argument
625 if (!(ibnl_put_msg(skb, &nlh, 0, 0, nl_client, in send_nlmsg_done()
638 int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid) in iwpm_send_mapinfo() argument
661 if (map_info->nl_client != nl_client) in iwpm_send_mapinfo()
664 if (!(ibnl_put_msg(skb, &nlh, 0, 0, nl_client, in iwpm_send_mapinfo()
710 ret = send_nlmsg_done(skb, nl_client, iwpm_pid); in iwpm_send_mapinfo()
739 send_nlmsg_done(skb, nl_client, iwpm_pid); in iwpm_send_mapinfo()
740 return send_mapinfo_num(mapping_num, nl_client, iwpm_pid); in iwpm_send_mapinfo()
761 int iwpm_send_hello(u8 nl_client, int iwpm_pid, u16 abi_version) in iwpm_send_hello() argument
768 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_HELLO, &nlh, nl_client); in iwpm_send_hello()