Searched refs:nltb (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/core/ |
D | iwpm_msg.c | 351 struct nlattr *nltb[IWPM_NLA_RREG_PID_MAX]; in iwpm_register_pid_cb() local 360 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb() 363 msg_seq = nla_get_u32(nltb[IWPM_NLA_RREG_PID_SEQ]); in iwpm_register_pid_cb() 372 dev_name = (char *)nla_data(nltb[IWPM_NLA_RREG_IBDEV_NAME]); in iwpm_register_pid_cb() 373 iwpm_name = (char *)nla_data(nltb[IWPM_NLA_RREG_ULIB_NAME]); in iwpm_register_pid_cb() 374 iwpm_version = nla_get_u16(nltb[IWPM_NLA_RREG_ULIB_VER]); in iwpm_register_pid_cb() 418 struct nlattr *nltb[IWPM_NLA_RMANAGE_MAPPING_MAX]; in iwpm_add_mapping_cb() local 426 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb() 431 msg_seq = nla_get_u32(nltb[IWPM_NLA_MANAGE_MAPPING_SEQ]); in iwpm_add_mapping_cb() 440 nla_data(nltb[IWPM_NLA_MANAGE_ADDR]); in iwpm_add_mapping_cb() [all …]
|
D | iwpm_util.h | 226 static inline int iwpm_validate_nlmsg_attr(struct nlattr *nltb[], in iwpm_validate_nlmsg_attr() argument 231 if (!nltb[i]) in iwpm_validate_nlmsg_attr() 261 struct nlattr *nltb[], const char *msg_type);
|
D | iwpm_util.c | 473 struct nlattr *nltb[], const char *msg_type) in iwpm_parse_nlmsg() argument 484 ret = nlmsg_parse(cb->nlh, nlh_len, nltb, policy_max-1, nlmsg_policy); in iwpm_parse_nlmsg() 489 ret = iwpm_validate_nlmsg_attr(nltb, policy_max); in iwpm_parse_nlmsg()
|