Home
last modified time | relevance | path

Searched refs:nla_get_u64 (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/net/bridge/
Dbr_vlan_options.c512 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_LAST_MEMBER_INTVL]); in br_vlan_process_global_one_opts()
519 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_MEMBERSHIP_INTVL]); in br_vlan_process_global_one_opts()
526 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_QUERIER_INTVL]); in br_vlan_process_global_one_opts()
533 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_QUERY_INTVL]); in br_vlan_process_global_one_opts()
540 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_QUERY_RESPONSE_INTVL]); in br_vlan_process_global_one_opts()
547 val = nla_get_u64(tb[BRIDGE_VLANDB_GOPTS_MCAST_STARTUP_QUERY_INTVL]); in br_vlan_process_global_one_opts()
Dbr_netlink.c1395 u64 val = nla_get_u64(data[IFLA_BR_MCAST_LAST_MEMBER_INTVL]); in br_changelink()
1401 u64 val = nla_get_u64(data[IFLA_BR_MCAST_MEMBERSHIP_INTVL]); in br_changelink()
1407 u64 val = nla_get_u64(data[IFLA_BR_MCAST_QUERIER_INTVL]); in br_changelink()
1413 u64 val = nla_get_u64(data[IFLA_BR_MCAST_QUERY_INTVL]); in br_changelink()
1419 u64 val = nla_get_u64(data[IFLA_BR_MCAST_QUERY_RESPONSE_INTVL]); in br_changelink()
1425 u64 val = nla_get_u64(data[IFLA_BR_MCAST_STARTUP_QUERY_INTVL]); in br_changelink()
/linux-6.1.9/net/tipc/
Dnet.c273 *w0 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID]); in __tipc_nl_net_set()
274 *w1 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID_W1]); in __tipc_nl_net_set()
Dnode.c2274 *w0 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID]); in tipc_nl_peer_rm()
2275 *w1 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID_W1]); in tipc_nl_peer_rm()
/linux-6.1.9/net/sched/
Dact_police.c169 nla_get_u64(tb[TCA_POLICE_RATE64]) : 0; in tcf_police_init()
178 nla_get_u64(tb[TCA_POLICE_PEAKRATE64]) : 0; in tcf_police_init()
194 pps = nla_get_u64(tb[TCA_POLICE_PKTRATE64]); in tcf_police_init()
195 ppsburst = nla_get_u64(tb[TCA_POLICE_PKTBURST64]); in tcf_police_init()
Dact_gate.c375 basetime = nla_get_u64(tb[TCA_GATE_BASE_TIME]); in tcf_gate_init()
392 cycletime = nla_get_u64(tb[TCA_GATE_CYCLE_TIME]); in tcf_gate_init()
416 nla_get_u64(tb[TCA_GATE_CYCLE_TIME_EXT]); in tcf_gate_init()
Dsch_tbf.c388 rate64 = nla_get_u64(tb[TCA_TBF_RATE64]); in tbf_change()
400 prate64 = nla_get_u64(tb[TCA_TBF_PRATE64]); in tbf_change()
Dsch_htb.c1825 rate64 = tb[TCA_HTB_RATE64] ? nla_get_u64(tb[TCA_HTB_RATE64]) : 0; in htb_change_class()
1826 ceil64 = tb[TCA_HTB_CEIL64] ? nla_get_u64(tb[TCA_HTB_CEIL64]) : 0; in htb_change_class()
Dsch_netem.c1027 nla_get_u64(tb[TCA_NETEM_RATE64])); in netem_change()
Dsch_cake.c2594 q->rate_bps = nla_get_u64(tb[TCA_CAKE_BASE_RATE64]); in cake_change()
/linux-6.1.9/drivers/block/
Dnbd.c1902 bytes = nla_get_u64(info->attrs[NBD_ATTR_SIZE_BYTES]); in nbd_genl_size_set()
1905 bsize = nla_get_u64(info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES]); in nbd_genl_size_set()
2002 nla_get_u64(info->attrs[NBD_ATTR_TIMEOUT])); in nbd_genl_connect()
2005 nla_get_u64(info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]); in nbd_genl_connect()
2010 nla_get_u64(info->attrs[NBD_ATTR_SERVER_FLAGS]); in nbd_genl_connect()
2012 u64 flags = nla_get_u64(info->attrs[NBD_ATTR_CLIENT_FLAGS]); in nbd_genl_connect()
2221 nla_get_u64(info->attrs[NBD_ATTR_TIMEOUT])); in nbd_genl_reconfigure()
2224 nla_get_u64(info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]); in nbd_genl_reconfigure()
2228 u64 flags = nla_get_u64(info->attrs[NBD_ATTR_CLIENT_FLAGS]); in nbd_genl_reconfigure()
/linux-6.1.9/lib/
Dnlattr.c184 value = nla_get_u64(nla); in nla_validate_range_unsigned()
187 value = nla_get_u64(nla); in nla_validate_range_unsigned()
356 value = nla_get_u64(nla); in nla_validate_mask()
/linux-6.1.9/net/ipv6/ila/
Dila_xlat.c102 xp->ip.locator.v64 = (__force __be64)nla_get_u64( in parse_nl_config()
106 xp->ip.locator_match.v64 = (__force __be64)nla_get_u64( in parse_nl_config()
Dila_lwt.c236 p->locator.v64 = (__force __be64)nla_get_u64(tb[ILA_ATTR_LOCATOR]); in ila_build_state()
/linux-6.1.9/include/linux/
Dgenl_magic_struct.h89 nla_get_u64, nla_put_u64_0pad, false)
/linux-6.1.9/drivers/net/
Dmacsec.c1507 return (__force sci_t)nla_get_u64(nla); in nla_get_sci()
1708 nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_rxsa()
1809 rx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_add_rxsa()
1952 if (nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_txsa()
2051 tx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_add_txsa()
2307 if (attrs[MACSEC_SA_ATTR_PN] && nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_upd_sa()
2363 tx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_upd_txsa()
2460 rx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_upd_rxsa()
3779 switch (nla_get_u64(data[IFLA_MACSEC_CIPHER_SUITE])) { in macsec_changelink_common()
4160 csid = nla_get_u64(data[IFLA_MACSEC_CIPHER_SUITE]); in macsec_validate_attr()
Dgtp.c1322 pctx->u.v0.tid = nla_get_u64(info->attrs[GTPA_TID]); in ipv4_pdp_fill()
1353 nla_get_u64(info->attrs[GTPA_TID])); in gtp_pdp_add()
1526 return gtp0_pdp_find(gtp, nla_get_u64(nla[GTPA_TID])); in gtp_find_pdp_by_link()
/linux-6.1.9/include/net/
Dnetlink.h1632 static inline u64 nla_get_u64(const struct nlattr *nla) in nla_get_u64() function
1720 u64 msecs = nla_get_u64(nla); in nla_get_msecs()
/linux-6.1.9/net/ieee802154/
Dnl802154.c55 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]); in __cfg802154_wpan_dev_from_attrs()
109 u64 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]); in __cfg802154_rdev_from_attrs()
559 state->filter_wpan_phy = nla_get_u64(tb[NL802154_ATTR_WPAN_DEV]) >> 32; in nl802154_dump_wpan_phy_parse()
/linux-6.1.9/drivers/net/bonding/
Dbond_netlink.c521 nla_get_u64(data[IFLA_BOND_AD_ACTOR_SYSTEM])); in bond_changelink()
/linux-6.1.9/net/ipv6/
Dioam6.c146 data64 = nla_get_u64(info->attrs[IOAM6_ATTR_NS_DATA_WIDE]); in ioam6_genl_addns()
/linux-6.1.9/net/core/
Ddevlink.c1933 rate = nla_get_u64(attrs[DEVLINK_ATTR_RATE_TX_SHARE]); in devlink_nl_rate_set()
1946 rate = nla_get_u64(attrs[DEVLINK_ATTR_RATE_TX_MAX]); in devlink_nl_rate_set()
4136 resource_id = nla_get_u64(info->attrs[DEVLINK_ATTR_RESOURCE_ID]); in devlink_nl_cmd_resource_set()
4142 size = nla_get_u64(info->attrs[DEVLINK_ATTR_RESOURCE_SIZE]); in devlink_nl_cmd_resource_set()
6486 nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]); in devlink_nl_cmd_region_read_dumpit()
6488 end_offset = nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]); in devlink_nl_cmd_region_read_dumpit()
6489 end_offset += nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]); in devlink_nl_cmd_region_read_dumpit()
7991 nla_get_u64(info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD]); in devlink_nl_cmd_health_reporter_set_doit()
9056 rate = nla_get_u64(attrs[DEVLINK_ATTR_TRAP_POLICER_RATE]); in devlink_trap_policer_set()
9059 burst = nla_get_u64(attrs[DEVLINK_ATTR_TRAP_POLICER_BURST]); in devlink_trap_policer_set()
/linux-6.1.9/drivers/vdpa/
Dvdpa.c605 nla_get_u64(nl_attrs[VDPA_ATTR_DEV_FEATURES]); in vdpa_nl_cmd_dev_add_set_doit()
/linux-6.1.9/net/openvswitch/
Ddatapath.c606 hash = nla_get_u64(a[OVS_PACKET_ATTR_HASH]); in ovs_packet_cmd_execute()
/linux-6.1.9/net/wireless/
Dnl80211.c83 wdev_id = nla_get_u64(attrs[NL80211_ATTR_WDEV]); in __cfg80211_wdev_from_attrs()
157 u64 wdev_id = nla_get_u64(attrs[NL80211_ATTR_WDEV]); in __cfg80211_rdev_from_attrs()
2999 state->filter_wiphy = nla_get_u64(tb[NL80211_ATTR_WDEV]) >> 32; in nl80211_dump_wiphy_parse()
9718 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_stop_sched_scan()
12201 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_cancel_remain_on_channel()
12453 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_tx_mgmt_cancel_wait()
14362 cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]); in nl80211_nan_del_func()

12