Home
last modified time | relevance | path

Searched refs:nla_get_u32 (Results 1 – 25 of 210) sorted by relevance

123456789

/Linux-v6.6/tools/lib/thermal/
Devents.c43 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
46 return ops->tz_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
49 return ops->tz_enable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
52 return ops->tz_disable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
55 return ops->trip_change(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
56 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_ID]), in handle_thermal_event()
57 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_TYPE]), in handle_thermal_event()
58 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_TEMP]), in handle_thermal_event()
59 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_HYST]), arg); in handle_thermal_event()
62 return ops->trip_add(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_event()
[all …]
Dcommands.c55 __tz[size - 1].id = nla_get_u32(attr); in parse_tz_get()
89 __cdev[size - 1].id = nla_get_u32(attr); in parse_cdev_get()
98 __cdev[size - 1].cur_state = nla_get_u32(attr); in parse_cdev_get()
101 __cdev[size - 1].max_state = nla_get_u32(attr); in parse_cdev_get()
129 __tt[size - 1].id = nla_get_u32(attr); in parse_tz_get_trip()
133 __tt[size - 1].type = nla_get_u32(attr); in parse_tz_get_trip()
136 __tt[size - 1].temp = nla_get_u32(attr); in parse_tz_get_trip()
139 __tt[size - 1].hyst = nla_get_u32(attr); in parse_tz_get_trip()
155 id = nla_get_u32(info->attrs[THERMAL_GENL_ATTR_TZ_ID]); in parse_tz_get_temp()
161 tz->temp = nla_get_u32(info->attrs[THERMAL_GENL_ATTR_TZ_TEMP]); in parse_tz_get_temp()
[all …]
Dsampling.c25 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), in handle_thermal_sample()
26 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TEMP]), arg); in handle_thermal_sample()
/Linux-v6.6/net/tipc/
Dnetlink_compat.c505 nla_get_u32(prop[TIPC_NLA_PROP_WIN])); in __fill_bc_link_stat()
509 nla_get_u32(stats[TIPC_NLA_STATS_RX_INFO]), in __fill_bc_link_stat()
510 nla_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTS]), in __fill_bc_link_stat()
511 nla_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTED]), in __fill_bc_link_stat()
512 nla_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLES]), in __fill_bc_link_stat()
513 nla_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLED])); in __fill_bc_link_stat()
517 nla_get_u32(stats[TIPC_NLA_STATS_TX_INFO]), in __fill_bc_link_stat()
518 nla_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTS]), in __fill_bc_link_stat()
519 nla_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTED]), in __fill_bc_link_stat()
520 nla_get_u32(stats[TIPC_NLA_STATS_TX_BUNDLES]), in __fill_bc_link_stat()
[all …]
Dbearer.c1029 domain = nla_get_u32(attrs[TIPC_NLA_BEARER_DOMAIN]); in __tipc_nl_bearer_enable()
1040 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_enable()
1138 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_bearer_set()
1142 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_set()
1144 b->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1152 if (nla_get_u32(props[TIPC_NLA_PROP_MTU]) < in __tipc_nl_bearer_set()
1158 b->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); in __tipc_nl_bearer_set()
1335 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_media_set()
1337 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_media_set()
1339 m->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
[all …]
/Linux-v6.6/net/bridge/
Dbr_mrp_netlink.c53 inst.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID]); in br_mrp_instance_parse()
54 inst.p_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX]); in br_mrp_instance_parse()
55 inst.s_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]); in br_mrp_instance_parse()
93 state = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_STATE_STATE]); in br_mrp_port_state_parse()
122 role = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_ROLE_ROLE]); in br_mrp_port_role_parse()
155 state.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_RING_ID]); in br_mrp_ring_state_parse()
156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse()
189 role.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_ROLE_RING_ID]); in br_mrp_ring_role_parse()
190 role.ring_role = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_ROLE_ROLE]); in br_mrp_ring_role_parse()
228 test.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_START_TEST_RING_ID]); in br_mrp_start_test_parse()
[all …]
Dbr_cfm_netlink.c122 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE]); in br_mep_create_parse()
123 create.domain = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]); in br_mep_create_parse()
124 create.direction = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]); in br_mep_create_parse()
125 create.ifindex = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX]); in br_mep_create_parse()
148 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_DELETE_INSTANCE]); in br_mep_delete_parse()
185 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CONFIG_INSTANCE]); in br_mep_config_parse()
189 config.mdlevel = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL]); in br_mep_config_parse()
190 config.mepid = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CONFIG_MEPID]); in br_mep_config_parse()
227 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_CC_CONFIG_INSTANCE]); in br_cc_config_parse()
228 config.enable = nla_get_u32(tb[IFLA_BRIDGE_CFM_CC_CONFIG_ENABLE]); in br_cc_config_parse()
[all …]
/Linux-v6.6/net/netlabel/
Dnetlabel_cipso_v4.c86 doi_def->doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]); in netlbl_cipsov4_add_common()
169 if (nla_get_u32(nla_b) > in netlbl_cipsov4_add_std()
172 if (nla_get_u32(nla_b) >= in netlbl_cipsov4_add_std()
175 nla_get_u32(nla_b) + 1; in netlbl_cipsov4_add_std()
178 if (nla_get_u32(nla_b) > in netlbl_cipsov4_add_std()
181 if (nla_get_u32(nla_b) >= in netlbl_cipsov4_add_std()
184 nla_get_u32(nla_b) + 1; in netlbl_cipsov4_add_std()
219 doi_def->map.std->lvl.local[nla_get_u32(lvl_loc)] = in netlbl_cipsov4_add_std()
220 nla_get_u32(lvl_rem); in netlbl_cipsov4_add_std()
221 doi_def->map.std->lvl.cipso[nla_get_u32(lvl_rem)] = in netlbl_cipsov4_add_std()
[all …]
/Linux-v6.6/net/ncsi/
Dncsi-netlink.c173 nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX])); in ncsi_pkg_info_nl()
188 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_pkg_info_nl()
232 nla_get_u32(attrs[NCSI_ATTR_IFINDEX])); in ncsi_pkg_info_all_nl()
293 nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX])); in ncsi_set_interface_nl()
297 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_set_interface_nl()
310 channel_id = nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_ID]); in ncsi_set_interface_nl()
369 nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX])); in ncsi_clear_interface_nl()
431 nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX])); in ncsi_send_cmd_nl()
437 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_send_cmd_nl()
438 channel_id = nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_ID]); in ncsi_send_cmd_nl()
[all …]
/Linux-v6.6/net/nfc/
Dnetlink.c116 idx = nla_get_u32(info->info.attrs[NFC_ATTR_DEVICE_INDEX]); in __get_device_from_cb()
727 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_get_device()
764 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_up()
785 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_down()
812 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_start_poll()
815 tm_protocols = nla_get_u32(info->attrs[NFC_ATTR_TM_PROTOCOLS]); in nfc_genl_start_poll()
818 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_IM_PROTOCOLS]); in nfc_genl_start_poll()
820 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]); in nfc_genl_start_poll()
847 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_stop_poll()
890 device_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_activate_target()
[all …]
/Linux-v6.6/net/sched/
Dsch_fq_pie.c299 u32 limit = nla_get_u32(tb[TCA_FQ_PIE_LIMIT]); in fq_pie_change()
310 q->flows_cnt = nla_get_u32(tb[TCA_FQ_PIE_FLOWS]); in fq_pie_change()
321 u32 target = nla_get_u32(tb[TCA_FQ_PIE_TARGET]); in fq_pie_change()
331 usecs_to_jiffies(nla_get_u32(tb[TCA_FQ_PIE_TUPDATE])); in fq_pie_change()
334 q->p_params.alpha = nla_get_u32(tb[TCA_FQ_PIE_ALPHA]); in fq_pie_change()
337 q->p_params.beta = nla_get_u32(tb[TCA_FQ_PIE_BETA]); in fq_pie_change()
340 q->quantum = nla_get_u32(tb[TCA_FQ_PIE_QUANTUM]); in fq_pie_change()
343 q->memory_limit = nla_get_u32(tb[TCA_FQ_PIE_MEMORY_LIMIT]); in fq_pie_change()
346 q->ecn_prob = nla_get_u32(tb[TCA_FQ_PIE_ECN_PROB]); in fq_pie_change()
349 q->p_params.ecn = nla_get_u32(tb[TCA_FQ_PIE_ECN]); in fq_pie_change()
[all …]
Dcls_flow.c415 baseclass = nla_get_u32(tb[TCA_FLOW_BASECLASS]); in flow_change()
421 keymask = nla_get_u32(tb[TCA_FLOW_KEYS]); in flow_change()
474 mode = nla_get_u32(tb[TCA_FLOW_MODE]); in flow_change()
483 perturb_period = nla_get_u32(tb[TCA_FLOW_PERTURB]) * HZ; in flow_change()
494 mode = nla_get_u32(tb[TCA_FLOW_MODE]); in flow_change()
501 perturb_period = nla_get_u32(tb[TCA_FLOW_PERTURB]) * HZ; in flow_change()
530 fnew->mask = nla_get_u32(tb[TCA_FLOW_MASK]); in flow_change()
532 fnew->xor = nla_get_u32(tb[TCA_FLOW_XOR]); in flow_change()
534 fnew->rshift = nla_get_u32(tb[TCA_FLOW_RSHIFT]); in flow_change()
536 fnew->addend = nla_get_u32(tb[TCA_FLOW_ADDEND]); in flow_change()
[all …]
Dsch_pie.c156 u32 target = nla_get_u32(tb[TCA_PIE_TARGET]); in pie_change()
165 usecs_to_jiffies(nla_get_u32(tb[TCA_PIE_TUPDATE])); in pie_change()
168 u32 limit = nla_get_u32(tb[TCA_PIE_LIMIT]); in pie_change()
175 q->params.alpha = nla_get_u32(tb[TCA_PIE_ALPHA]); in pie_change()
178 q->params.beta = nla_get_u32(tb[TCA_PIE_BETA]); in pie_change()
181 q->params.ecn = nla_get_u32(tb[TCA_PIE_ECN]); in pie_change()
184 q->params.bytemode = nla_get_u32(tb[TCA_PIE_BYTEMODE]); in pie_change()
188 nla_get_u32(tb[TCA_PIE_DQ_RATE_ESTIMATOR]); in pie_change()
Dsch_codel.c149 u32 target = nla_get_u32(tb[TCA_CODEL_TARGET]); in codel_change()
155 u64 val = nla_get_u32(tb[TCA_CODEL_CE_THRESHOLD]); in codel_change()
161 u32 interval = nla_get_u32(tb[TCA_CODEL_INTERVAL]); in codel_change()
167 sch->limit = nla_get_u32(tb[TCA_CODEL_LIMIT]); in codel_change()
170 q->params.ecn = !!nla_get_u32(tb[TCA_CODEL_ECN]); in codel_change()
Dsch_fq.c825 u32 nval = nla_get_u32(tb[TCA_FQ_BUCKETS_LOG]); in fq_change()
833 sch->limit = nla_get_u32(tb[TCA_FQ_PLIMIT]); in fq_change()
836 q->flow_plimit = nla_get_u32(tb[TCA_FQ_FLOW_PLIMIT]); in fq_change()
839 u32 quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); in fq_change()
850 q->initial_quantum = nla_get_u32(tb[TCA_FQ_INITIAL_QUANTUM]); in fq_change()
854 nla_get_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE])); in fq_change()
857 u32 rate = nla_get_u32(tb[TCA_FQ_FLOW_MAX_RATE]); in fq_change()
863 nla_get_u32(tb[TCA_FQ_LOW_RATE_THRESHOLD]); in fq_change()
866 u32 enable = nla_get_u32(tb[TCA_FQ_RATE_ENABLE]); in fq_change()
875 u32 usecs_delay = nla_get_u32(tb[TCA_FQ_FLOW_REFILL_DELAY]) ; in fq_change()
[all …]
Dsch_fq_codel.c382 q->flows_cnt = nla_get_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_change()
388 quantum = max(256U, nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM])); in fq_codel_change()
397 u64 target = nla_get_u32(tb[TCA_FQ_CODEL_TARGET]); in fq_codel_change()
403 u64 val = nla_get_u32(tb[TCA_FQ_CODEL_CE_THRESHOLD]); in fq_codel_change()
414 u64 interval = nla_get_u32(tb[TCA_FQ_CODEL_INTERVAL]); in fq_codel_change()
420 sch->limit = nla_get_u32(tb[TCA_FQ_CODEL_LIMIT]); in fq_codel_change()
423 q->cparams.ecn = !!nla_get_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_change()
429 q->drop_batch_size = max(1U, nla_get_u32(tb[TCA_FQ_CODEL_DROP_BATCH_SIZE])); in fq_codel_change()
432 q->memory_limit = min(1U << 31, nla_get_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT])); in fq_codel_change()
Dsch_hhf.c525 new_quantum = nla_get_u32(tb[TCA_HHF_QUANTUM]); in hhf_change()
528 new_hhf_non_hh_weight = nla_get_u32(tb[TCA_HHF_NON_HH_WEIGHT]); in hhf_change()
537 sch->limit = nla_get_u32(tb[TCA_HHF_BACKLOG_LIMIT]); in hhf_change()
543 q->hh_flows_limit = nla_get_u32(tb[TCA_HHF_HH_FLOWS_LIMIT]); in hhf_change()
546 u32 us = nla_get_u32(tb[TCA_HHF_RESET_TIMEOUT]); in hhf_change()
552 q->hhf_admit_bytes = nla_get_u32(tb[TCA_HHF_ADMIT_BYTES]); in hhf_change()
555 u32 us = nla_get_u32(tb[TCA_HHF_EVICT_TIMEOUT]); in hhf_change()
/Linux-v6.6/drivers/infiniband/core/
Dnldev.c1031 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_get_doit()
1080 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_set_doit()
1101 ns_fd = nla_get_u32(tb[RDMA_NLDEV_NET_NS_FD]); in nldev_set_doit()
1174 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_port_get_doit()
1179 port = nla_get_u32(tb[RDMA_NLDEV_ATTR_PORT_INDEX]); in nldev_port_get_doit()
1232 ifindex = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_port_get_dumpit()
1287 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_res_get_doit()
1434 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in res_get_common_doit()
1440 port = nla_get_u32(tb[RDMA_NLDEV_ATTR_PORT_INDEX]); in res_get_common_doit()
1453 id = nla_get_u32(tb[fe->id]); in res_get_common_doit()
[all …]
/Linux-v6.6/drivers/net/bonding/
Dbond_netlink.c205 int ifindex = nla_get_u32(data[IFLA_BOND_ACTIVE_SLAVE]); in bond_changelink()
223 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
232 int updelay = nla_get_u32(data[IFLA_BOND_UPDELAY]); in bond_changelink()
241 int downdelay = nla_get_u32(data[IFLA_BOND_DOWNDELAY]); in bond_changelink()
250 int delay = nla_get_u32(data[IFLA_BOND_PEER_NOTIF_DELAY]); in bond_changelink()
268 int arp_interval = nla_get_u32(data[IFLA_BOND_ARP_INTERVAL]); in bond_changelink()
341 int arp_validate = nla_get_u32(data[IFLA_BOND_ARP_VALIDATE]); in bond_changelink()
357 nla_get_u32(data[IFLA_BOND_ARP_ALL_TARGETS]); in bond_changelink()
366 int ifindex = nla_get_u32(data[IFLA_BOND_PRIMARY]); in bond_changelink()
412 nla_get_u32(data[IFLA_BOND_RESEND_IGMP]); in bond_changelink()
[all …]
/Linux-v6.6/tools/power/x86/intel-speed-select/
Dhfi-events.c145 res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in family_handler()
209 perf_cap.cpu = nla_get_u32(cap); in handle_event()
212 perf_cap.perf = nla_get_u32(cap); in handle_event()
215 perf_cap.eff = nla_get_u32(cap); in handle_event()
/Linux-v6.6/net/batman-adv/
Dnetlink.c168 return (attr && nla_len(attr) == sizeof(u32)) ? nla_get_u32(attr) : 0; in batadv_netlink_get_ifindex()
459 bat_priv->isolation_mark = nla_get_u32(attr); in batadv_netlink_set_mesh()
465 bat_priv->isolation_mark_mask = nla_get_u32(attr); in batadv_netlink_set_mesh()
507 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
514 atomic_set(&bat_priv->gw.bandwidth_up, nla_get_u32(attr)); in batadv_netlink_set_mesh()
558 sel_class = nla_get_u32(attr); in batadv_netlink_set_mesh()
577 nla_get_u32(attr) & BATADV_DBG_ALL); in batadv_netlink_set_mesh()
591 atomic_set(&bat_priv->multicast_fanout, nla_get_u32(attr)); in batadv_netlink_set_mesh()
608 orig_interval = nla_get_u32(attr); in batadv_netlink_set_mesh()
726 test_length = nla_get_u32(info->attrs[BATADV_ATTR_TPMETER_TEST_TIME]); in batadv_netlink_tp_meter_start()
[all …]
/Linux-v6.6/net/l2tp/
Dl2tp_netlink.c60 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_session_get()
61 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_session_get()
200 tunnel_id = nla_get_u32(attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_cmd_tunnel_create()
206 peer_tunnel_id = nla_get_u32(attrs[L2TP_ATTR_PEER_CONN_ID]); in l2tp_nl_cmd_tunnel_create()
225 fd = nla_get_u32(attrs[L2TP_ATTR_FD]); in l2tp_nl_cmd_tunnel_create()
269 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_cmd_tunnel_delete()
299 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_cmd_tunnel_modify()
462 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_cmd_tunnel_get()
537 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_cmd_session_create()
548 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_cmd_session_create()
[all …]
/Linux-v6.6/net/handshake/
Dnetlink.c105 class = nla_get_u32(info->attrs[HANDSHAKE_A_ACCEPT_HANDLER_CLASS]); in handshake_nl_accept_doit()
146 fd = nla_get_u32(info->attrs[HANDSHAKE_A_DONE_SOCKFD]); in handshake_nl_done_doit()
164 status = nla_get_u32(info->attrs[HANDSHAKE_A_DONE_STATUS]); in handshake_nl_done_doit()
/Linux-v6.6/net/wireless/
Dpmsr.c30 preamble = nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE]); in pmsr_parse_ftm()
59 nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD]); in pmsr_parse_ftm()
78 nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP]); in pmsr_parse_ftm()
91 nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION]); in pmsr_parse_ftm()
96 nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST]); in pmsr_parse_ftm()
110 nla_get_u32(tb[NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES]); in pmsr_parse_ftm()
297 req->timeout = nla_get_u32(info->attrs[NL80211_ATTR_TIMEOUT]); in nl80211_pmsr_start()
/Linux-v6.6/net/openvswitch/
Dmeter.c348 meter->id = nla_get_u32(a[OVS_METER_ATTR_ID]); in dp_meter_create()
378 band->type = nla_get_u32(attr[OVS_BAND_ATTR_TYPE]); in dp_meter_create()
379 band->rate = nla_get_u32(attr[OVS_BAND_ATTR_RATE]); in dp_meter_create()
385 band->burst_size = nla_get_u32(attr[OVS_BAND_ATTR_BURST]); in dp_meter_create()
441 meter_id = nla_get_u32(a[OVS_METER_ATTR_ID]); in ovs_meter_cmd_set()
497 meter_id = nla_get_u32(a[OVS_METER_ATTR_ID]); in ovs_meter_cmd_get()
563 meter_id = nla_get_u32(a[OVS_METER_ATTR_ID]); in ovs_meter_cmd_del()

123456789