/kernel/linux/linux-5.10/net/tipc/ |
H A D | net.c | 165 struct nlattr *attrs; in __tipc_nl_add_net() local 173 attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET); in __tipc_nl_add_net() 174 if (!attrs) in __tipc_nl_add_net() 183 nla_nest_end(msg->skb, attrs); in __tipc_nl_add_net() 189 nla_nest_cancel(msg->skb, attrs); in __tipc_nl_add_net() 223 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in __tipc_nl_net_set() local 228 if (!info->attrs[TIPC_NLA_NET]) in __tipc_nl_net_set() 231 err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX, in __tipc_nl_net_set() 232 info->attrs[TIPC_NLA_NET], in __tipc_nl_net_set() 242 if (attrs[TIPC_NLA_NET_I in __tipc_nl_net_set() 290 struct nlattr *attrs; __tipc_nl_addr_legacy_get() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_std_types_srq.c | 12 struct uverbs_attr_bundle *attrs) in uverbs_free_srq() 20 ret = ib_destroy_srq_user(srq, &attrs->driver_udata); in uverbs_free_srq() 37 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_SRQ_CREATE() 40 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_SRQ_HANDLE), in UVERBS_METHOD_SRQ_CREATE() 43 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_SRQ_PD_HANDLE); in UVERBS_METHOD_SRQ_CREATE() 50 ret = uverbs_copy_from(&attr.attr.max_sge, attrs, in UVERBS_METHOD_SRQ_CREATE() 53 ret = uverbs_copy_from(&attr.attr.max_wr, attrs, in UVERBS_METHOD_SRQ_CREATE() 56 ret = uverbs_copy_from(&attr.attr.srq_limit, attrs, in UVERBS_METHOD_SRQ_CREATE() 59 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_METHOD_SRQ_CREATE() 62 ret = uverbs_get_const(&attr.srq_type, attrs, in UVERBS_METHOD_SRQ_CREATE() 10 uverbs_free_srq(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) uverbs_free_srq() argument 36 UVERBS_METHOD_SRQ_CREATE( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_SRQ_CREATE() argument 197 UVERBS_METHOD_SRQ_DESTROY( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_SRQ_DESTROY() argument [all...] |
H A D | uverbs_cmd.c | 58 static int uverbs_response(struct uverbs_attr_bundle *attrs, const void *resp, in uverbs_response() argument 63 if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_CORE_OUT)) in uverbs_response() 65 attrs, UVERBS_ATTR_CORE_OUT, resp, resp_len); in uverbs_response() 67 if (copy_to_user(attrs->ucore.outbuf, resp, in uverbs_response() 68 min(attrs->ucore.outlen, resp_len))) in uverbs_response() 71 if (resp_len < attrs->ucore.outlen) { in uverbs_response() 76 ret = clear_user(attrs->ucore.outbuf + resp_len, in uverbs_response() 77 attrs->ucore.outlen - resp_len); in uverbs_response() 91 static int uverbs_request(struct uverbs_attr_bundle *attrs, void *req, in uverbs_request() argument 94 if (copy_from_user(req, attrs in uverbs_request() 115 uverbs_response_length(struct uverbs_attr_bundle *attrs, size_t resp_len) uverbs_response_length() argument 130 uverbs_request_start(struct uverbs_attr_bundle *attrs, struct uverbs_req_iter *iter, void *req, size_t req_len) uverbs_request_start() argument 182 uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs) uverbs_get_cleared_udata() argument 189 _ib_uverbs_lookup_comp_file(s32 fd, struct uverbs_attr_bundle *attrs) _ib_uverbs_lookup_comp_file() argument 206 ib_alloc_ucontext(struct uverbs_attr_bundle *attrs) ib_alloc_ucontext() argument 231 ib_init_ucontext(struct uverbs_attr_bundle *attrs) ib_init_ucontext() argument 276 ib_uverbs_get_context(struct uverbs_attr_bundle *attrs) ib_uverbs_get_context() argument 370 ib_uverbs_query_device(struct uverbs_attr_bundle *attrs) ib_uverbs_query_device() argument 391 ib_uverbs_query_port(struct uverbs_attr_bundle *attrs) ib_uverbs_query_port() argument 419 ib_uverbs_alloc_pd(struct uverbs_attr_bundle *attrs) ib_uverbs_alloc_pd() argument 468 ib_uverbs_dealloc_pd(struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_pd() argument 565 ib_uverbs_open_xrcd(struct uverbs_attr_bundle *attrs) ib_uverbs_open_xrcd() argument 659 ib_uverbs_close_xrcd(struct uverbs_attr_bundle *attrs) ib_uverbs_close_xrcd() argument 671 ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_xrcd() argument 695 ib_uverbs_reg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_reg_mr() argument 764 ib_uverbs_rereg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_rereg_mr() argument 891 ib_uverbs_dereg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_dereg_mr() argument 903 ib_uverbs_alloc_mw(struct uverbs_attr_bundle *attrs) ib_uverbs_alloc_mw() argument 966 ib_uverbs_dealloc_mw(struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_mw() argument 978 ib_uverbs_create_comp_channel(struct uverbs_attr_bundle *attrs) ib_uverbs_create_comp_channel() argument 1004 create_cq(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_create_cq *cmd) create_cq() argument 1081 ib_uverbs_create_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_cq() argument 1100 ib_uverbs_ex_create_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_cq() argument 1118 ib_uverbs_resize_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_resize_cq() argument 1177 ib_uverbs_poll_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_poll_cq() argument 1230 ib_uverbs_req_notify_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_req_notify_cq() argument 1252 ib_uverbs_destroy_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_cq() argument 1278 create_qp(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_create_qp *cmd) create_qp() argument 1503 ib_uverbs_create_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_create_qp() argument 1531 ib_uverbs_ex_create_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_qp() argument 1549 ib_uverbs_open_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_open_qp() argument 1637 ib_uverbs_query_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_query_qp() argument 1751 modify_qp(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_modify_qp *cmd) modify_qp() argument 1916 ib_uverbs_modify_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_modify_qp() argument 1931 ib_uverbs_ex_modify_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_qp() argument 1957 ib_uverbs_destroy_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_qp() argument 1993 ib_uverbs_post_send(struct uverbs_attr_bundle *attrs) ib_uverbs_post_send() argument 2285 ib_uverbs_post_recv(struct uverbs_attr_bundle *attrs) ib_uverbs_post_recv() argument 2336 ib_uverbs_post_srq_recv(struct uverbs_attr_bundle *attrs) ib_uverbs_post_srq_recv() argument 2388 ib_uverbs_create_ah(struct uverbs_attr_bundle *attrs) ib_uverbs_create_ah() argument 2458 ib_uverbs_destroy_ah(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_ah() argument 2470 ib_uverbs_attach_mcast(struct uverbs_attr_bundle *attrs) ib_uverbs_attach_mcast() argument 2519 ib_uverbs_detach_mcast(struct uverbs_attr_bundle *attrs) ib_uverbs_detach_mcast() argument 2638 kern_spec_to_ib_spec_action(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) kern_spec_to_ib_spec_action() argument 2865 kern_spec_to_ib_spec(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) kern_spec_to_ib_spec() argument 2880 ib_uverbs_ex_create_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_wq() argument 2967 ib_uverbs_ex_destroy_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_wq() argument 2995 ib_uverbs_ex_modify_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_wq() argument 3046 ib_uverbs_ex_create_rwq_ind_table(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_rwq_ind_table() argument 3160 ib_uverbs_ex_destroy_rwq_ind_table(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_rwq_ind_table() argument 3176 ib_uverbs_ex_create_flow(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_flow() argument 3343 ib_uverbs_ex_destroy_flow(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_flow() argument 3358 __uverbs_create_xsrq(struct uverbs_attr_bundle *attrs, struct ib_uverbs_create_xsrq *cmd, struct ib_udata *udata) __uverbs_create_xsrq() argument 3469 ib_uverbs_create_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_srq() argument 3491 ib_uverbs_create_xsrq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_xsrq() argument 3503 ib_uverbs_modify_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_modify_srq() argument 3530 ib_uverbs_query_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_query_srq() argument 3563 ib_uverbs_destroy_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_srq() argument 3588 ib_uverbs_ex_query_device(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_query_device() argument 3652 ib_uverbs_ex_modify_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_cq() argument [all...] |
H A D | uverbs_std_types_cq.c | 40 struct uverbs_attr_bundle *attrs) in uverbs_free_cq() 48 ret = ib_destroy_cq_user(cq, &attrs->driver_udata); in uverbs_free_cq() 62 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_CQ_CREATE() 65 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_CQ_HANDLE), in UVERBS_METHOD_CQ_CREATE() 67 struct ib_device *ib_dev = attrs->context->device; in UVERBS_METHOD_CQ_CREATE() 78 ret = uverbs_copy_from(&attr.comp_vector, attrs, in UVERBS_METHOD_CQ_CREATE() 81 ret = uverbs_copy_from(&attr.cqe, attrs, in UVERBS_METHOD_CQ_CREATE() 84 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_METHOD_CQ_CREATE() 89 ret = uverbs_get_flags32(&attr.flags, attrs, in UVERBS_METHOD_CQ_CREATE() 96 ev_file_uobj = uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_CQ_COMP_CHANNE in UVERBS_METHOD_CQ_CREATE() 38 uverbs_free_cq(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) uverbs_free_cq() argument 61 UVERBS_METHOD_CQ_CREATE( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_CQ_CREATE() argument 185 UVERBS_METHOD_CQ_DESTROY( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_CQ_DESTROY() argument [all...] |
H A D | uverbs_std_types_wq.c | 12 struct uverbs_attr_bundle *attrs) in uverbs_free_wq() 19 ret = ib_destroy_wq_user(wq, &attrs->driver_udata); in uverbs_free_wq() 28 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_WQ_CREATE() 31 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_WQ_HANDLE), in UVERBS_METHOD_WQ_CREATE() 34 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_PD_HANDLE); in UVERBS_METHOD_WQ_CREATE() 36 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_CQ_HANDLE); in UVERBS_METHOD_WQ_CREATE() 42 ret = uverbs_get_flags32(&wq_init_attr.create_flags, attrs, in UVERBS_METHOD_WQ_CREATE() 49 ret = uverbs_copy_from(&wq_init_attr.max_sge, attrs, in UVERBS_METHOD_WQ_CREATE() 52 ret = uverbs_copy_from(&wq_init_attr.max_wr, attrs, in UVERBS_METHOD_WQ_CREATE() 55 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_METHOD_WQ_CREATE() 10 uverbs_free_wq(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) uverbs_free_wq() argument 27 UVERBS_METHOD_WQ_CREATE( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_WQ_CREATE() argument 159 UVERBS_METHOD_WQ_DESTROY( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_WQ_DESTROY() argument [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | net.c | 169 struct nlattr *attrs; in __tipc_nl_add_net() local 177 attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET); in __tipc_nl_add_net() 178 if (!attrs) in __tipc_nl_add_net() 187 nla_nest_end(msg->skb, attrs); in __tipc_nl_add_net() 193 nla_nest_cancel(msg->skb, attrs); in __tipc_nl_add_net() 227 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in __tipc_nl_net_set() local 232 if (!info->attrs[TIPC_NLA_NET]) in __tipc_nl_net_set() 235 err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX, in __tipc_nl_net_set() 236 info->attrs[TIPC_NLA_NET], in __tipc_nl_net_set() 246 if (attrs[TIPC_NLA_NET_I in __tipc_nl_net_set() 294 struct nlattr *attrs; __tipc_nl_addr_legacy_get() local [all...] |
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | nl802154.c | 39 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs() argument 43 bool have_ifidx = attrs[NL802154_ATTR_IFINDEX]; in __cfg802154_wpan_dev_from_attrs() 44 bool have_wpan_dev_id = attrs[NL802154_ATTR_WPAN_DEV]; in __cfg802154_wpan_dev_from_attrs() 55 ifidx = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]); in __cfg802154_wpan_dev_from_attrs() 57 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]); in __cfg802154_wpan_dev_from_attrs() 94 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs() argument 101 if (!attrs[NL802154_ATTR_WPAN_PHY] && in __cfg802154_rdev_from_attrs() 102 !attrs[NL802154_ATTR_IFINDEX] && in __cfg802154_rdev_from_attrs() 103 !attrs[NL802154_ATTR_WPAN_DEV]) in __cfg802154_rdev_from_attrs() 106 if (attrs[NL802154_ATTR_WPAN_PH in __cfg802154_rdev_from_attrs() 1653 struct nlattr *attrs[NL802154_DEV_ADDR_ATTR_MAX + 1]; ieee802154_llsec_parse_dev_addr() local 1693 struct nlattr *attrs[NL802154_KEY_ID_ATTR_MAX + 1]; ieee802154_llsec_parse_key_id() local 1913 struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1]; nl802154_add_llsec_key() local 1967 struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1]; nl802154_del_llsec_key() local 2091 struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1]; ieee802154_llsec_parse_device() local 2144 struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1]; nl802154_del_llsec_dev() local 2277 struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1]; nl802154_add_llsec_devkey() local 2311 struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1]; nl802154_del_llsec_devkey() local 2442 struct nlattr *attrs[NL802154_SECLEVEL_ATTR_MAX + 1]; llsec_parse_seclevel() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 58 static int uverbs_response(struct uverbs_attr_bundle *attrs, const void *resp, in uverbs_response() argument 63 if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_CORE_OUT)) in uverbs_response() 65 attrs, UVERBS_ATTR_CORE_OUT, resp, resp_len); in uverbs_response() 67 if (copy_to_user(attrs->ucore.outbuf, resp, in uverbs_response() 68 min(attrs->ucore.outlen, resp_len))) in uverbs_response() 71 if (resp_len < attrs->ucore.outlen) { in uverbs_response() 76 ret = clear_user(attrs->ucore.outbuf + resp_len, in uverbs_response() 77 attrs->ucore.outlen - resp_len); in uverbs_response() 91 static int uverbs_request(struct uverbs_attr_bundle *attrs, void *req, in uverbs_request() argument 94 if (copy_from_user(req, attrs in uverbs_request() 115 uverbs_response_length(struct uverbs_attr_bundle *attrs, size_t resp_len) uverbs_response_length() argument 130 uverbs_request_start(struct uverbs_attr_bundle *attrs, struct uverbs_req_iter *iter, void *req, size_t req_len) uverbs_request_start() argument 182 uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs) uverbs_get_cleared_udata() argument 189 _ib_uverbs_lookup_comp_file(s32 fd, struct uverbs_attr_bundle *attrs) _ib_uverbs_lookup_comp_file() argument 206 ib_alloc_ucontext(struct uverbs_attr_bundle *attrs) ib_alloc_ucontext() argument 231 ib_init_ucontext(struct uverbs_attr_bundle *attrs) ib_init_ucontext() argument 276 ib_uverbs_get_context(struct uverbs_attr_bundle *attrs) ib_uverbs_get_context() argument 370 ib_uverbs_query_device(struct uverbs_attr_bundle *attrs) ib_uverbs_query_device() argument 391 ib_uverbs_query_port(struct uverbs_attr_bundle *attrs) ib_uverbs_query_port() argument 419 ib_uverbs_alloc_pd(struct uverbs_attr_bundle *attrs) ib_uverbs_alloc_pd() argument 468 ib_uverbs_dealloc_pd(struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_pd() argument 565 ib_uverbs_open_xrcd(struct uverbs_attr_bundle *attrs) ib_uverbs_open_xrcd() argument 659 ib_uverbs_close_xrcd(struct uverbs_attr_bundle *attrs) ib_uverbs_close_xrcd() argument 671 ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_xrcd() argument 696 ib_uverbs_reg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_reg_mr() argument 774 ib_uverbs_rereg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_rereg_mr() argument 857 ib_uverbs_dereg_mr(struct uverbs_attr_bundle *attrs) ib_uverbs_dereg_mr() argument 869 ib_uverbs_alloc_mw(struct uverbs_attr_bundle *attrs) ib_uverbs_alloc_mw() argument 932 ib_uverbs_dealloc_mw(struct uverbs_attr_bundle *attrs) ib_uverbs_dealloc_mw() argument 944 ib_uverbs_create_comp_channel(struct uverbs_attr_bundle *attrs) ib_uverbs_create_comp_channel() argument 970 create_cq(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_create_cq *cmd) create_cq() argument 1047 ib_uverbs_create_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_cq() argument 1066 ib_uverbs_ex_create_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_cq() argument 1084 ib_uverbs_resize_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_resize_cq() argument 1143 ib_uverbs_poll_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_poll_cq() argument 1196 ib_uverbs_req_notify_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_req_notify_cq() argument 1218 ib_uverbs_destroy_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_cq() argument 1244 create_qp(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_create_qp *cmd) create_qp() argument 1495 ib_uverbs_create_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_create_qp() argument 1523 ib_uverbs_ex_create_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_qp() argument 1541 ib_uverbs_open_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_open_qp() argument 1629 ib_uverbs_query_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_query_qp() argument 1743 modify_qp(struct uverbs_attr_bundle *attrs, struct ib_uverbs_ex_modify_qp *cmd) modify_qp() argument 1908 ib_uverbs_modify_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_modify_qp() argument 1924 ib_uverbs_ex_modify_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_qp() argument 1953 ib_uverbs_destroy_qp(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_qp() argument 1988 ib_uverbs_post_send(struct uverbs_attr_bundle *attrs) ib_uverbs_post_send() argument 2280 ib_uverbs_post_recv(struct uverbs_attr_bundle *attrs) ib_uverbs_post_recv() argument 2331 ib_uverbs_post_srq_recv(struct uverbs_attr_bundle *attrs) ib_uverbs_post_srq_recv() argument 2383 ib_uverbs_create_ah(struct uverbs_attr_bundle *attrs) ib_uverbs_create_ah() argument 2453 ib_uverbs_destroy_ah(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_ah() argument 2465 ib_uverbs_attach_mcast(struct uverbs_attr_bundle *attrs) ib_uverbs_attach_mcast() argument 2514 ib_uverbs_detach_mcast(struct uverbs_attr_bundle *attrs) ib_uverbs_detach_mcast() argument 2633 kern_spec_to_ib_spec_action(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) kern_spec_to_ib_spec_action() argument 2860 kern_spec_to_ib_spec(struct uverbs_attr_bundle *attrs, struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec, struct ib_uflow_resources *uflow_res) kern_spec_to_ib_spec() argument 2875 ib_uverbs_ex_create_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_wq() argument 2962 ib_uverbs_ex_destroy_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_wq() argument 2990 ib_uverbs_ex_modify_wq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_wq() argument 3041 ib_uverbs_ex_create_rwq_ind_table(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_rwq_ind_table() argument 3155 ib_uverbs_ex_destroy_rwq_ind_table(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_rwq_ind_table() argument 3171 ib_uverbs_ex_create_flow(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_create_flow() argument 3333 ib_uverbs_ex_destroy_flow(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_destroy_flow() argument 3348 __uverbs_create_xsrq(struct uverbs_attr_bundle *attrs, struct ib_uverbs_create_xsrq *cmd, struct ib_udata *udata) __uverbs_create_xsrq() argument 3459 ib_uverbs_create_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_srq() argument 3481 ib_uverbs_create_xsrq(struct uverbs_attr_bundle *attrs) ib_uverbs_create_xsrq() argument 3493 ib_uverbs_modify_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_modify_srq() argument 3520 ib_uverbs_query_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_query_srq() argument 3553 ib_uverbs_destroy_srq(struct uverbs_attr_bundle *attrs) ib_uverbs_destroy_srq() argument 3578 ib_uverbs_ex_query_device(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_query_device() argument 3642 ib_uverbs_ex_modify_cq(struct uverbs_attr_bundle *attrs) ib_uverbs_ex_modify_cq() argument [all...] |
H A D | uverbs_std_types_wq.c | 12 struct uverbs_attr_bundle *attrs) in uverbs_free_wq() 19 ret = ib_destroy_wq_user(wq, &attrs->driver_udata); in uverbs_free_wq() 28 struct uverbs_attr_bundle *attrs) in UVERBS_METHOD_WQ_CREATE() 31 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_WQ_HANDLE), in UVERBS_METHOD_WQ_CREATE() 34 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_PD_HANDLE); in UVERBS_METHOD_WQ_CREATE() 36 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_CQ_HANDLE); in UVERBS_METHOD_WQ_CREATE() 42 ret = uverbs_get_flags32(&wq_init_attr.create_flags, attrs, in UVERBS_METHOD_WQ_CREATE() 49 ret = uverbs_copy_from(&wq_init_attr.max_sge, attrs, in UVERBS_METHOD_WQ_CREATE() 52 ret = uverbs_copy_from(&wq_init_attr.max_wr, attrs, in UVERBS_METHOD_WQ_CREATE() 55 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_METHOD_WQ_CREATE() 10 uverbs_free_wq(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) uverbs_free_wq() argument 27 UVERBS_METHOD_WQ_CREATE( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_WQ_CREATE() argument 159 UVERBS_METHOD_WQ_DESTROY( struct uverbs_attr_bundle *attrs) UVERBS_METHOD_WQ_DESTROY() argument [all...] |
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | file.rs | 13 pub attrs: Vec<Attribute>, 32 pub attrs: Vec<Attribute>, 43 let mut attrs = input.call(Attribute::parse_outer)?; in parse() variables 60 attrs.extend(content.call(Attribute::parse_inner)?); in parse() 70 attrs, in parse() 83 let attrs = input.call(Attribute::parse_outer)?; in parse() 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() [all...] |
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | file.rs | 13 pub attrs: Vec<Attribute>, 32 pub attrs: Vec<Attribute>, 43 let mut attrs = input.call(Attribute::parse_outer)?; in parse() variables 60 attrs.extend(content.call(Attribute::parse_inner)?); in parse() 70 attrs, in parse() 83 let attrs = input.call(Attribute::parse_outer)?; in parse() 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() [all...] |
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | file.rs | 13 pub attrs: Vec<Attribute>, 32 pub attrs: Vec<Attribute>, 43 let mut attrs = input.call(Attribute::parse_outer)?; in parse() variables 60 attrs.extend(content.call(Attribute::parse_inner)?); in parse() 70 attrs, in parse() 83 let attrs = input.call(Attribute::parse_outer)?; in parse() 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() [all...] |
/third_party/rust/crates/cxx/syntax/ |
H A D | file.rs | 13 pub attrs: Vec<Attribute>, 32 pub attrs: Vec<Attribute>, 43 let mut attrs = input.call(Attribute::parse_outer)?; in parse() variables 60 attrs.extend(content.call(Attribute::parse_inner)?); in parse() 70 attrs, in parse() 83 let attrs = input.call(Attribute::parse_outer)?; in parse() 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | file.rs | 13 pub attrs: Vec<Attribute>, 32 pub attrs: Vec<Attribute>, 43 let mut attrs = input.call(Attribute::parse_outer)?; in parse() variables 60 attrs.extend(content.call(Attribute::parse_inner)?); in parse() 70 attrs, in parse() 83 let attrs = input.call(Attribute::parse_outer)?; in parse() 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 67 struct rtattr *attrs = (struct rtattr *)NLMSG_DATA(nh); in nl_error() local 69 while (RTA_OK(attrs, len)) { in nl_error() 70 if (attrs->rta_type == NLMSGERR_ATTR_MSG) in nl_error() 72 (char *)RTA_DATA(attrs)); in nl_error() 73 if (attrs->rta_type == NLMSGERR_ATTR_OFFS) { in nl_error() 74 memcpy(&off, RTA_DATA(attrs), 4); in nl_error() 78 attrs = RTA_NEXT(attrs, len); in nl_error() 122 struct rtattr *attrs; in genl_parse_getfamily() local 136 attrs in genl_parse_getfamily() 323 print_addr(struct rtattr *attrs, int len) print_addr() argument 400 struct rtattr *attrs; print_addrs() local 506 struct rtattr *attrs; print_limits() local [all...] |
/kernel/linux/linux-5.10/net/netlabel/ |
H A D | netlabel_mgmt.c | 91 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common() 92 if (info->attrs[NLBL_MGMT_A_DOMAIN]) { in netlbl_mgmt_add_common() 93 size_t tmp_size = nla_len(info->attrs[NLBL_MGMT_A_DOMAIN]); in netlbl_mgmt_add_common() 100 info->attrs[NLBL_MGMT_A_DOMAIN], tmp_size); in netlbl_mgmt_add_common() 110 if (info->attrs[NLBL_MGMT_A_FAMILY]) in netlbl_mgmt_add_common() 112 nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]); in netlbl_mgmt_add_common() 117 if (!info->attrs[NLBL_MGMT_A_CV4DOI]) in netlbl_mgmt_add_common() 120 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common() 129 if (!info->attrs[NLBL_MGMT_A_CLPDOI]) in netlbl_mgmt_add_common() 132 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDO in netlbl_mgmt_add_common() [all...] |
/kernel/linux/linux-6.6/net/netlabel/ |
H A D | netlabel_mgmt.c | 91 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common() 92 if (info->attrs[NLBL_MGMT_A_DOMAIN]) { in netlbl_mgmt_add_common() 93 size_t tmp_size = nla_len(info->attrs[NLBL_MGMT_A_DOMAIN]); in netlbl_mgmt_add_common() 100 info->attrs[NLBL_MGMT_A_DOMAIN], tmp_size); in netlbl_mgmt_add_common() 110 if (info->attrs[NLBL_MGMT_A_FAMILY]) in netlbl_mgmt_add_common() 112 nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]); in netlbl_mgmt_add_common() 117 if (!info->attrs[NLBL_MGMT_A_CV4DOI]) in netlbl_mgmt_add_common() 120 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common() 129 if (!info->attrs[NLBL_MGMT_A_CLPDOI]) in netlbl_mgmt_add_common() 132 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDO in netlbl_mgmt_add_common() [all...] |
/kernel/linux/common_modules/tzdriver/ |
H A D | ko_adapt.c | 35 typedef void (free_workqueue_attrs_func)(struct workqueue_attrs *attrs); 108 struct workqueue_attrs *attrs; in koadpt_alloc_workqueue_attrs() local 111 attrs = kzalloc(sizeof(*attrs), GFP_KERNEL); in koadpt_alloc_workqueue_attrs() 112 if (!attrs) { in koadpt_alloc_workqueue_attrs() 117 if (alloc_cpumask_var(&attrs->cpumask, GFP_KERNEL) == false) { in koadpt_alloc_workqueue_attrs() 119 kfree(attrs); in koadpt_alloc_workqueue_attrs() 123 cpumask_copy(attrs->cpumask, cpu_possible_mask); in koadpt_alloc_workqueue_attrs() 125 return attrs; in koadpt_alloc_workqueue_attrs() 133 tloge("fail to find symbol alloc workqueue attrs\ in koadpt_alloc_workqueue_attrs() 141 koadpt_free_workqueue_attrs(struct workqueue_attrs *attrs) koadpt_free_workqueue_attrs() argument [all...] |
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | nl802154.c | 37 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs() argument 41 bool have_ifidx = attrs[NL802154_ATTR_IFINDEX]; in __cfg802154_wpan_dev_from_attrs() 42 bool have_wpan_dev_id = attrs[NL802154_ATTR_WPAN_DEV]; in __cfg802154_wpan_dev_from_attrs() 53 ifidx = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]); in __cfg802154_wpan_dev_from_attrs() 55 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]); in __cfg802154_wpan_dev_from_attrs() 92 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs() argument 99 if (!attrs[NL802154_ATTR_WPAN_PHY] && in __cfg802154_rdev_from_attrs() 100 !attrs[NL802154_ATTR_IFINDEX] && in __cfg802154_rdev_from_attrs() 101 !attrs[NL802154_ATTR_WPAN_DEV]) in __cfg802154_rdev_from_attrs() 104 if (attrs[NL802154_ATTR_WPAN_PH in __cfg802154_rdev_from_attrs() 1296 struct nlattr *attrs[NL802154_DEV_ADDR_ATTR_MAX + 1]; ieee802154_llsec_parse_dev_addr() local 1336 struct nlattr *attrs[NL802154_KEY_ID_ATTR_MAX + 1]; ieee802154_llsec_parse_key_id() local 1556 struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1]; nl802154_add_llsec_key() local 1610 struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1]; nl802154_del_llsec_key() local 1734 struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1]; ieee802154_llsec_parse_device() local 1787 struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1]; nl802154_del_llsec_dev() local 1920 struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1]; nl802154_add_llsec_devkey() local 1954 struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1]; nl802154_del_llsec_devkey() local 2085 struct nlattr *attrs[NL802154_SECLEVEL_ATTR_MAX + 1]; llsec_parse_seclevel() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/ |
H A D | radius_das.c | 59 struct radius_das_attrs attrs; in radius_das_disconnect() local 76 os_memset(&attrs, 0, sizeof(attrs)); in radius_das_disconnect() 86 attrs.nas_ip_addr = buf; in radius_das_disconnect() 98 attrs.nas_ipv6_addr = buf; in radius_das_disconnect() 104 attrs.nas_identifier = buf; in radius_das_disconnect() 105 attrs.nas_identifier_len = len; in radius_das_disconnect() 120 attrs.sta_addr = sta_addr; in radius_das_disconnect() 125 attrs.user_name = buf; in radius_das_disconnect() 126 attrs in radius_das_disconnect() 219 struct radius_das_attrs attrs; radius_das_coa() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/ |
H A D | radius_das.c | 59 struct radius_das_attrs attrs; in radius_das_disconnect() local 76 os_memset(&attrs, 0, sizeof(attrs)); in radius_das_disconnect() 86 attrs.nas_ip_addr = buf; in radius_das_disconnect() 98 attrs.nas_ipv6_addr = buf; in radius_das_disconnect() 104 attrs.nas_identifier = buf; in radius_das_disconnect() 105 attrs.nas_identifier_len = len; in radius_das_disconnect() 120 attrs.sta_addr = sta_addr; in radius_das_disconnect() 125 attrs.user_name = buf; in radius_das_disconnect() 126 attrs in radius_das_disconnect() 219 struct radius_das_attrs attrs; radius_das_coa() local [all...] |
/third_party/rust/crates/syn/src/ |
H A D | item.rs | 94 pub attrs: Vec<Attribute>, 111 pub attrs: Vec<Attribute>, 125 pub attrs: Vec<Attribute>, 139 pub attrs: Vec<Attribute>, 150 pub attrs: Vec<Attribute>, 163 pub attrs: Vec<Attribute>, 181 pub attrs: Vec<Attribute>, 193 pub attrs: Vec<Attribute>, 207 pub attrs: Vec<Attribute>, 224 pub attrs 1706 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 1755 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 1781 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 2243 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 2364 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 2474 let mut attrs = input.call(Attribute::parse_outer)?; parse_impl() variables 2581 let mut attrs = input.call(Attribute::parse_outer)?; parse() variables 2721 let mut attrs = input.call(Attribute::parse_outer)?; parse_impl_item_fn() variables [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 92 struct mlx5_accel_esp_xfrm_attrs *attrs) in mlx5e_ipsec_packet_setup() 97 if (attrs->replay_esn.trigger) { in mlx5e_ipsec_packet_setup() 100 if (attrs->dir == XFRM_DEV_OFFLOAD_IN) { in mlx5e_ipsec_packet_setup() 102 attrs->replay_esn.replay_window); in mlx5e_ipsec_packet_setup() 107 attrs->replay_esn.esn); in mlx5e_ipsec_packet_setup() 121 if (attrs->dir == XFRM_DEV_OFFLOAD_OUT) in mlx5e_ipsec_packet_setup() 124 if (attrs->lft.hard_packet_limit != XFRM_INF) { in mlx5e_ipsec_packet_setup() 126 attrs->lft.hard_packet_limit); in mlx5e_ipsec_packet_setup() 130 if (attrs->lft.soft_packet_limit != XFRM_INF) { in mlx5e_ipsec_packet_setup() 132 attrs in mlx5e_ipsec_packet_setup() 91 mlx5e_ipsec_packet_setup(void *obj, u32 pdn, struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5e_ipsec_packet_setup() argument 140 struct mlx5_accel_esp_xfrm_attrs *attrs = &sa_entry->attrs; mlx5_create_ipsec_obj() local 237 mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, const struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5_modify_ipsec_obj() argument 284 mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, const struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5_accel_esp_modify_xfrm() argument 309 struct mlx5_accel_esp_xfrm_attrs attrs = {}; mlx5e_ipsec_update_esn_state() local 365 struct mlx5_accel_esp_xfrm_attrs *attrs = &sa_entry->attrs; mlx5e_ipsec_handle_limits() local 449 struct mlx5_accel_esp_xfrm_attrs *attrs; mlx5e_ipsec_handle_event() local [all...] |
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-utils.c | 84 static int orangefs_inode_flags(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_flags() argument 87 if (attrs->flags & ORANGEFS_IMMUTABLE_FL) in orangefs_inode_flags() 91 if (attrs->flags & ORANGEFS_APPEND_FL) in orangefs_inode_flags() 95 if (attrs->flags & ORANGEFS_NOATIME_FL) in orangefs_inode_flags() 102 static int orangefs_inode_perms(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_perms() argument 106 if (attrs->perms & ORANGEFS_O_EXECUTE) in orangefs_inode_perms() 108 if (attrs->perms & ORANGEFS_O_WRITE) in orangefs_inode_perms() 110 if (attrs->perms & ORANGEFS_O_READ) in orangefs_inode_perms() 113 if (attrs->perms & ORANGEFS_G_EXECUTE) in orangefs_inode_perms() 115 if (attrs in orangefs_inode_perms() 139 copy_attributes_from_inode(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs) copy_attributes_from_inode() argument 215 orangefs_inode_is_stale(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs, char *link_target) orangefs_inode_is_stale() argument [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-utils.c | 84 static int orangefs_inode_flags(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_flags() argument 87 if (attrs->flags & ORANGEFS_IMMUTABLE_FL) in orangefs_inode_flags() 91 if (attrs->flags & ORANGEFS_APPEND_FL) in orangefs_inode_flags() 95 if (attrs->flags & ORANGEFS_NOATIME_FL) in orangefs_inode_flags() 102 static int orangefs_inode_perms(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_perms() argument 106 if (attrs->perms & ORANGEFS_O_EXECUTE) in orangefs_inode_perms() 108 if (attrs->perms & ORANGEFS_O_WRITE) in orangefs_inode_perms() 110 if (attrs->perms & ORANGEFS_O_READ) in orangefs_inode_perms() 113 if (attrs->perms & ORANGEFS_G_EXECUTE) in orangefs_inode_perms() 115 if (attrs in orangefs_inode_perms() 139 copy_attributes_from_inode(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs) copy_attributes_from_inode() argument 215 orangefs_inode_is_stale(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs, char *link_target) orangefs_inode_is_stale() argument [all...] |