| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | resources.h | 131 enum mlxsw_res_id res_id) in mlxsw_res_valid() argument 133 return res->valid[res_id]; in mlxsw_res_valid() 140 enum mlxsw_res_id res_id) in mlxsw_res_get() argument 142 if (WARN_ON(!res->valid[res_id])) in mlxsw_res_get() 144 return res->values[res_id]; in mlxsw_res_get() 151 enum mlxsw_res_id res_id, u64 value) in mlxsw_res_set() argument 153 res->valid[res_id] = true; in mlxsw_res_set() 154 res->values[res_id] = value; in mlxsw_res_set()
|
| H A D | spectrum_cnt.c | 58 enum mlxsw_res_id res_id; in mlxsw_sp_counter_sub_pools_init() local 64 res_id = sub_pool->entry_size_res_id; in mlxsw_sp_counter_sub_pools_init() 66 if (!mlxsw_core_res_valid(mlxsw_sp->core, res_id)) in mlxsw_sp_counter_sub_pools_init() 69 res_id); in mlxsw_sp_counter_sub_pools_init()
|
| H A D | core.c | 3040 enum mlxsw_res_id res_id) in mlxsw_core_res_valid() argument 3042 return mlxsw_res_valid(&mlxsw_core->res, res_id); in mlxsw_core_res_valid() 3047 enum mlxsw_res_id res_id) in mlxsw_core_res_get() argument 3049 return mlxsw_res_get(&mlxsw_core->res, res_id); in mlxsw_core_res_get()
|
| /linux/include/trace/events/ |
| H A D | scmi.h | 13 TP_PROTO(u8 protocol_id, u8 msg_id, u32 res_id, u32 val1, u32 val2), 14 TP_ARGS(protocol_id, msg_id, res_id, val1, val2), 19 __field(u32, res_id) 27 __entry->res_id = res_id; 32 TP_printk("pt=%02X msg_id=%02X res_id:%u vals=%u:%u", 34 __entry->res_id, __entry->val1, __entry->val2)
|
| /linux/include/linux/netfilter/ |
| H A D | nfnetlink.h | 68 __be16 res_id) in nfnl_fill_hdr() argument 75 nfmsg->res_id = res_id; in nfnl_fill_hdr() 81 __be16 res_id) in nfnl_msg_put() argument 89 nfnl_fill_hdr(nlh, family, version, res_id); in nfnl_msg_put()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | resource_tracker.c | 74 u64 res_id; member 235 static void *res_tracker_lookup(struct rb_root *root, u64 res_id) in res_tracker_lookup() argument 243 if (res_id < res->res_id) in res_tracker_lookup() 245 else if (res_id > res->res_id) in res_tracker_lookup() 263 if (res->res_id < this->res_id) in res_tracker_insert() 265 else if (res->res_id > this->res_id) in res_tracker_insert() 876 static void *find_res(struct mlx4_dev *dev, u64 res_id, in find_res() argument 882 res_id); in find_res() 885 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res() argument 893 r = find_res(dev, res_id, type); in _get_res() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev.c | 3619 const char *qed_hw_get_resc_name(enum qed_resources res_id) in qed_hw_get_resc_name() argument 3621 switch (res_id) { in qed_hw_get_resc_name() 3660 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument 3665 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size() 3670 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size() 3677 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size() 3714 u8 res_id; in qed_hw_set_soft_resc_size() local 3717 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size() 3718 switch (res_id) { in qed_hw_set_soft_resc_size() 3742 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size() [all …]
|
| H A D | qed_mcp.c | 3502 static enum resource_id_enum qed_mcp_get_mfw_res_id(enum qed_resources res_id) in qed_mcp_get_mfw_res_id() argument 3506 switch (res_id) { in qed_mcp_get_mfw_res_id() 3567 enum qed_resources res_id; member 3593 mfw_resc_info.res_id = qed_mcp_get_mfw_res_id(p_in_params->res_id); in qed_mcp_resc_allocation_msg() 3594 if (mfw_resc_info.res_id == RESOURCE_NUM_INVALID) { in qed_mcp_resc_allocation_msg() 3597 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3598 qed_hw_get_resc_name(p_in_params->res_id)); in qed_mcp_resc_allocation_msg() 3624 "Resource message request: cmd 0x%08x, res_id %d [%s], hsi_version %d.%d, val 0x%x\n", in qed_mcp_resc_allocation_msg() 3626 p_in_params->res_id, in qed_mcp_resc_allocation_msg() 3627 qed_hw_get_resc_name(p_in_params->res_id), in qed_mcp_resc_allocation_msg() [all …]
|
| H A D | qed_mcp.h | 1111 * @res_id: RES ID. 1120 enum qed_resources res_id, 1129 * @res_id: Res ID. 1139 enum qed_resources res_id,
|
| H A D | qed_dev_api.h | 528 const char *qed_hw_get_resc_name(enum qed_resources res_id);
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_dump_flush.c | 162 nfh->res_id = 0; in conntrack_data_generate_v4() 196 nfh->res_id = 0; in conntrack_data_generate_v6() 238 nfh->res_id = 0; in conntracK_count_zone() 285 nfh->res_id = 0; in conntrack_flush_zone()
|
| H A D | nf_queue.c | 140 nfg->res_id = htons(queue_num); in nfq_build_cfg_request() 163 nfg->res_id = htons(queue_num); in nfq_build_cfg_params() 186 nfg->res_id = htons(queue_num); in nfq_build_verdict()
|
| /linux/fs/dlm/ |
| H A D | recover.c | 319 if (r->res_id) { in recover_xa_add() 327 r->res_id = id; in recover_xa_add() 341 xa_erase_bh(&ls->ls_recover_xa, r->res_id); in recover_xa_del() 342 r->res_id = 0; in recover_xa_del() 368 r->res_id = 0; in recover_xa_clear()
|
| H A D | rcom.c | 372 rc->rc_id = cpu_to_le64(r->res_id); in dlm_send_rcom_lookup()
|
| /linux/drivers/s390/cio/ |
| H A D | scm.c | 107 scm_attr(res_id); 148 scmdev->attrs.res_id = sale->rid; in scmdev_setup()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nfnetlink.h | 37 __be16 res_id; /* resource id */ member
|
| /linux/arch/s390/include/asm/ |
| H A D | eadm.h | 96 unsigned int res_id:8; member
|
| /linux/drivers/net/netdevsim/ |
| H A D | fib.c | 137 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument 141 switch (res_id) { in nsim_fib_get_val() 165 enum nsim_resource_id res_id, u64 val) in nsim_fib_set_max() argument 169 switch (res_id) { in nsim_fib_set_max()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_switch.h | 345 int ice_share_res(struct ice_hw *hw, u16 type, u8 shared, u16 res_id);
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | protocols.h | 272 u8 cmd_id, u32 res_id, u32 *flags, char *name,
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_queue.c | 1379 u16 queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_verdict_batch() 1489 u_int16_t queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_verdict() 1576 u_int16_t queue_num = ntohs(info->nfmsg->res_id); in nfqnl_recv_config()
|
| H A D | nfnetlink_log.c | 892 u_int16_t group_num = ntohs(info->nfmsg->res_id); in nfulnl_recv_config()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4-mtrace.c | 33 * u32 res_id;
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_internal.h | 249 const struct btf_type *skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id);
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 725 u32 id, u32 *res_id) in btf_type_skip_modifiers() argument 734 if (res_id) in btf_type_skip_modifiers() 735 *res_id = id; in btf_type_skip_modifiers() 741 u32 id, u32 *res_id) in btf_type_resolve_ptr() argument 749 return btf_type_skip_modifiers(btf, t->type, res_id); in btf_type_resolve_ptr() 753 u32 id, u32 *res_id) in btf_type_resolve_func_ptr() argument 757 ptype = btf_type_resolve_ptr(btf, id, res_id); in btf_type_resolve_func_ptr() 3482 u32 res_id; in btf_find_kptr() local 3513 t = btf_type_skip_modifiers(btf, t->type, &res_id); in btf_find_kptr() 3520 info->kptr.type_id = res_id; in btf_find_kptr()
|