Searched refs:arr_sz (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/memory/ |
| D | of_memory.c | 108 u32 arr_sz = 0, i = 0; in of_get_ddr_timings() local 123 arr_sz++; in of_get_ddr_timings() 125 if (arr_sz) in of_get_ddr_timings() 126 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_get_ddr_timings() 142 *nr_frequencies = arr_sz; in of_get_ddr_timings()
|
| /Linux-v5.4/drivers/scsi/ |
| D | constants.c | 29 int arr_sz; member 265 int arr_sz, k; in scsi_opcode_sa_name() local 277 arr_sz = sa_name_ptr->arr_sz; in scsi_opcode_sa_name() 284 for (k = 0; k < arr_sz; ++k, ++arr) { in scsi_opcode_sa_name() 288 if (k < arr_sz) in scsi_opcode_sa_name()
|
| /Linux-v5.4/tools/perf/util/ |
| D | thread-stack.c | 96 unsigned int arr_sz; member 156 unsigned int old_sz = ts ? ts->arr_sz : 0; in thread_stack__new() 168 new_ts->arr_sz = new_sz; in thread_stack__new() 175 (unsigned int)cpu < ts->arr_sz) in thread_stack__new() 192 if (!ts || (unsigned int)cpu >= ts->arr_sz) in thread__cpu_stack() 345 for (pos = 0; pos < ts->arr_sz; pos++) { in thread_stack__flush() 437 unsigned int arr_sz = ts->arr_sz; in thread_stack__reset() local 441 ts->arr_sz = arr_sz; in thread_stack__reset() 450 for (pos = 0; pos < ts->arr_sz; pos++) in thread_stack__free()
|
| /Linux-v5.4/drivers/media/platform/qcom/venus/ |
| D | helpers.c | 285 size_t arr_sz, i; in venus_helper_intbufs_alloc() local 289 arr_sz = ARRAY_SIZE(intbuf_types_4xx); in venus_helper_intbufs_alloc() 292 arr_sz = ARRAY_SIZE(intbuf_types_1xx); in venus_helper_intbufs_alloc() 296 for (i = 0; i < arr_sz; i++) { in venus_helper_intbufs_alloc()
|
| /Linux-v5.4/drivers/scsi/bnx2fc/ |
| D | bnx2fc_io.c | 222 int arr_sz = num_possible_cpus() + 1; in bnx2fc_cmd_mgr_alloc() local 244 cmgr->free_list = kcalloc(arr_sz, sizeof(*cmgr->free_list), in bnx2fc_cmd_mgr_alloc() 251 cmgr->free_list_lock = kcalloc(arr_sz, sizeof(*cmgr->free_list_lock), in bnx2fc_cmd_mgr_alloc() 262 for (i = 0; i < arr_sz; i++) { in bnx2fc_cmd_mgr_alloc()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_core.c | 74 #define FS_REQUIRED_CAPS(...) {.arr_sz = INIT_CAPS_ARRAY_SIZE(__VA_ARGS__), \ 122 size_t arr_sz; member 2235 for (i = 0; i < caps->arr_sz; i++) { in has_required_caps()
|