Searched refs:nltb (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/infiniband/core/ |
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_ADDR]); in iwpm_add_mapping_cb() [all …]
|
D | iwpm_util.h | 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() 245 struct nlattr *nltb[], const char *msg_type);
|
D | iwpm_util.c | 459 struct nlattr *nltb[], const char *msg_type) in iwpm_parse_nlmsg() argument 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()
|