Searched refs:nltb (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | iwpm_msg.c | 404 struct nlattr *nltb[IWPM_NLA_RREG_PID_MAX]; in iwpm_register_pid_cb() local 413 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb() 416 msg_seq = nla_get_u32(nltb[IWPM_NLA_RREG_PID_SEQ]); in iwpm_register_pid_cb() 425 dev_name = (char *)nla_data(nltb[IWPM_NLA_RREG_IBDEV_NAME]); in iwpm_register_pid_cb() 426 iwpm_name = (char *)nla_data(nltb[IWPM_NLA_RREG_ULIB_NAME]); in iwpm_register_pid_cb() 427 iwpm_version = nla_get_u16(nltb[IWPM_NLA_RREG_ULIB_VER]); in iwpm_register_pid_cb() 478 struct nlattr *nltb[IWPM_NLA_RMANAGE_MAPPING_MAX]; in iwpm_add_mapping_cb() local 486 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb() 491 msg_seq = nla_get_u32(nltb[IWPM_NLA_RMANAGE_MAPPING_SEQ]); in iwpm_add_mapping_cb() 500 nla_data(nltb[IWPM_NLA_RMANAGE_ADD in iwpm_add_mapping_cb() 556 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; iwpm_add_and_query_mapping_cb() local 637 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; iwpm_remote_info_cb() local 717 struct nlattr *nltb[IWPM_NLA_MAPINFO_REQ_MAX]; iwpm_mapping_info_cb() local 774 struct nlattr *nltb[IWPM_NLA_MAPINFO_NUM_MAX]; iwpm_ack_mapping_info_cb() local 806 struct nlattr *nltb[IWPM_NLA_ERR_MAX]; iwpm_mapping_error_cb() local 852 struct nlattr *nltb[IWPM_NLA_HELLO_MAX]; iwpm_hello_cb() local [all...] |
H A D | iwpm_util.h | 224 * @nltb: Holds address of each netlink message attributes 229 static inline int iwpm_validate_nlmsg_attr(struct nlattr *nltb[], in iwpm_validate_nlmsg_attr() argument 234 if (!nltb[i]) in iwpm_validate_nlmsg_attr() 257 * @nltb: Array to store policy_max parsed elements 264 struct nlattr *nltb[], const char *msg_type);
|
H A D | iwpm_util.c | 503 struct nlattr *nltb[], const char *msg_type) in iwpm_parse_nlmsg() 515 ret = nlmsg_parse_deprecated(cb->nlh, nlh_len, nltb, policy_max - 1, in iwpm_parse_nlmsg() 521 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); in iwpm_parse_nlmsg() 501 iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, const struct nla_policy *nlmsg_policy, struct nlattr *nltb[], const char *msg_type) iwpm_parse_nlmsg() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | iwpm_msg.c | 388 struct nlattr *nltb[IWPM_NLA_RREG_PID_MAX]; in iwpm_register_pid_cb() local 397 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb() 400 msg_seq = nla_get_u32(nltb[IWPM_NLA_RREG_PID_SEQ]); in iwpm_register_pid_cb() 409 dev_name = (char *)nla_data(nltb[IWPM_NLA_RREG_IBDEV_NAME]); in iwpm_register_pid_cb() 410 iwpm_name = (char *)nla_data(nltb[IWPM_NLA_RREG_ULIB_NAME]); in iwpm_register_pid_cb() 411 iwpm_version = nla_get_u16(nltb[IWPM_NLA_RREG_ULIB_VER]); in iwpm_register_pid_cb() 461 struct nlattr *nltb[IWPM_NLA_RMANAGE_MAPPING_MAX]; in iwpm_add_mapping_cb() local 469 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb() 474 msg_seq = nla_get_u32(nltb[IWPM_NLA_RMANAGE_MAPPING_SEQ]); in iwpm_add_mapping_cb() 483 nla_data(nltb[IWPM_NLA_RMANAGE_ADD in iwpm_add_mapping_cb() 540 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; iwpm_add_and_query_mapping_cb() local 621 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; iwpm_remote_info_cb() local 696 struct nlattr *nltb[IWPM_NLA_MAPINFO_REQ_MAX]; iwpm_mapping_info_cb() local 748 struct nlattr *nltb[IWPM_NLA_MAPINFO_NUM_MAX]; iwpm_ack_mapping_info_cb() local 780 struct nlattr *nltb[IWPM_NLA_ERR_MAX]; iwpm_mapping_error_cb() local 826 struct nlattr *nltb[IWPM_NLA_HELLO_MAX]; iwpm_hello_cb() local [all...] |
H A D | iwpm_util.h | 205 * @nltb: Holds address of each netlink message attributes 210 static inline int iwpm_validate_nlmsg_attr(struct nlattr *nltb[], in iwpm_validate_nlmsg_attr() argument 215 if (!nltb[i]) in iwpm_validate_nlmsg_attr() 238 * @nltb: Array to store policy_max parsed elements 245 struct nlattr *nltb[], const char *msg_type);
|
H A D | iwpm_util.c | 459 struct nlattr *nltb[], const char *msg_type) in iwpm_parse_nlmsg() 471 ret = nlmsg_parse_deprecated(cb->nlh, nlh_len, nltb, policy_max - 1, in iwpm_parse_nlmsg() 477 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); in iwpm_parse_nlmsg() 457 iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, const struct nla_policy *nlmsg_policy, struct nlattr *nltb[], const char *msg_type) iwpm_parse_nlmsg() argument
|
Completed in 5 milliseconds