Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c109 int max_depth, int fpa_pool, in cvmx_cmd_queue_initialize() argument
126 if ((max_depth < 0) || (max_depth > 1 << 20)) in cvmx_cmd_queue_initialize()
128 } else if (max_depth != 0) in cvmx_cmd_queue_initialize()
138 if (max_depth != (int)qstate->max_depth) { in cvmx_cmd_queue_initialize()
142 (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
179 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h133 uint32_t max_depth; member
171 int max_depth, int fpa_pool,
343 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write()
345 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write()
441 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write2()
443 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write2()
542 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write3()
544 (cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) { in cvmx_cmd_queue_write3()
/linux-6.6.21/drivers/media/platform/verisilicon/
Drockchip_vpu_hw.c52 .max_depth = 2,
128 .max_depth = 2,
141 .max_depth = 2,
154 .max_depth = 2,
182 .max_depth = 2,
195 .max_depth = 2,
208 .max_depth = 2,
236 .max_depth = 2,
249 .max_depth = 2,
262 .max_depth = 2,
[all …]
Dsama5d4_vdec_hw.c46 .max_depth = 2,
59 .max_depth = 2,
72 .max_depth = 2,
Dimx8m_vpu_hw.c113 .max_depth = 2,
126 .max_depth = 2,
139 .max_depth = 2,
212 .max_depth = 2,
225 .max_depth = 2,
Dsunxi_vpu_hw.c71 .max_depth = 2,
/linux-6.6.21/kernel/bpf/
Dstackmap.c174 get_callchain_entry_for_task(struct task_struct *task, u32 max_depth) in get_callchain_entry_for_task() argument
186 max_depth, 0); in get_callchain_entry_for_task()
283 u32 max_depth = map->value_size / stack_map_data_size(map); in BPF_CALL_3() local
293 max_depth += skip; in BPF_CALL_3()
294 if (max_depth > sysctl_perf_event_max_stack) in BPF_CALL_3()
295 max_depth = sysctl_perf_event_max_stack; in BPF_CALL_3()
297 trace = get_perf_callchain(regs, 0, kernel, user, max_depth, in BPF_CALL_3()
389 u32 trace_nr, copy_len, elem_size, num_elem, max_depth; in __bpf_get_stack() local
423 max_depth = num_elem + skip; in __bpf_get_stack()
424 if (sysctl_perf_event_max_stack < max_depth) in __bpf_get_stack()
[all …]
/linux-6.6.21/drivers/acpi/acpica/
Dutcache.c34 u16 max_depth, struct acpi_memory_list **return_cache) in acpi_os_create_cache() argument
56 cache->max_depth = max_depth; in acpi_os_create_cache()
165 if (cache->current_depth >= cache->max_depth) { in acpi_os_release_object()
Dnsdump.c621 u32 max_depth, in acpi_ns_dump_objects() argument
646 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_objects()
745 u32 max_depth, in acpi_ns_dump_object_paths() argument
767 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
775 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
826 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth) in acpi_ns_dump_tables() argument
850 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth, in acpi_ns_dump_tables()
Ddbstats.c75 if (list->max_depth > 0) { in acpi_db_list_info()
79 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info()
83 if (list->max_depth > 0) { in acpi_db_list_info()
Dacnamesp.h79 u32 max_depth,
179 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth);
196 u32 max_depth,
202 u32 max_depth,
Ddbnames.c175 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace() local
188 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace()
206 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace()
256 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace_by_owner() local
264 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace_by_owner()
273 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace_by_owner()
Dnswalk.c152 u32 max_depth, in acpi_ns_walk_namespace() argument
282 (level < max_depth) && (status != AE_CTRL_DEPTH)) { in acpi_ns_walk_namespace()
Dnsxfeval.c556 u32 max_depth, in acpi_walk_namespace() argument
568 (!max_depth) || (!descending_callback && !ascending_callback)) { in acpi_walk_namespace()
606 status = acpi_ns_walk_namespace(type, start_object, max_depth, in acpi_walk_namespace()
/linux-6.6.21/block/
Dblk-iolatency.c144 unsigned int max_depth; member
283 return rq_wait_inc_below(rqw, iolat->max_depth); in iolat_acquire_inflight()
377 unsigned long old = iolat->max_depth; in scale_change()
389 iolat->max_depth = old; in scale_change()
394 iolat->max_depth = max(old, 1UL); in scale_change()
447 if (iolat->max_depth == 1 && direction < 0) { in check_scale_change()
455 iolat->max_depth = UINT_MAX; in check_scale_change()
510 if (unlikely(issue_as_root && iolat->max_depth != UINT_MAX)) { in iolatency_record_time()
932 if (iolat->max_depth == UINT_MAX) in iolatency_ssd_stat()
940 iolat->max_depth); in iolatency_ssd_stat()
[all …]
Dblk-rq-qos.c124 rqd->max_depth = 1; in rq_depth_calc_max_depth()
126 rqd->max_depth = 2; in rq_depth_calc_max_depth()
151 rqd->max_depth = depth; in rq_depth_calc_max_depth()
184 if (rqd->max_depth == 1) in rq_depth_scale_down()
Dblk-wbt.c363 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step()
370 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits()
371 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits()
374 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits()
375 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits()
550 limit = rwb->rq_depth.max_depth; in get_limit()
/linux-6.6.21/arch/um/drivers/
Dvector_kern.c254 % qi->max_depth; in vector_advancehead()
284 % qi->max_depth; in vector_advancetail()
349 if (queue_depth < qi->max_depth) { in vector_enqueue()
411 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send()
424 if (send_len + qi->head > qi->max_depth) in vector_send()
425 send_len = qi->max_depth - qi->head; in vector_send()
493 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
502 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
534 result->max_depth = max_size; in create_queue()
973 if (budget > qi->max_depth) in vector_mmsg_rx()
[all …]
Dvector_kern.h47 int queue_depth, head, tail, max_depth, max_iov_frags; member
/linux-6.6.21/drivers/firewire/
Dcore-topology.c148 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count()
150 depths[0] = node->ports[i]->max_depth; in update_hop_count()
151 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count()
152 depths[1] = node->ports[i]->max_depth; in update_hop_count()
155 node->max_depth = depths[0] + 1; in update_hop_count()
/linux-6.6.21/fs/befs/
Dbefs_fs_types.h220 fs32 max_depth; member
230 u32 max_depth; member
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/
Dcedrus.c48 unsigned int bit_depth, max_depth; in cedrus_try_ctrl() local
59 max_depth = 10; in cedrus_try_ctrl()
61 max_depth = 8; in cedrus_try_ctrl()
63 if (bit_depth > max_depth) in cedrus_try_ctrl()
/linux-6.6.21/fs/f2fs/
Ddir.c366 unsigned int max_depth; in __f2fs_find_entry() local
379 max_depth = F2FS_I(dir)->i_current_depth; in __f2fs_find_entry()
380 if (unlikely(max_depth > MAX_DIR_HASH_DEPTH)) { in __f2fs_find_entry()
382 dir->i_ino, max_depth); in __f2fs_find_entry()
383 max_depth = MAX_DIR_HASH_DEPTH; in __f2fs_find_entry()
384 f2fs_i_depth_write(dir, max_depth); in __f2fs_find_entry()
387 for (level = 0; level < max_depth; level++) { in __f2fs_find_entry()
/linux-6.6.21/tools/perf/util/
Dcallchain.h76 u64 max_depth; member
180 root->max_depth = 0; in callchain_init()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c701 unsigned int max_depth = 0, depth = 0, frame = 0; in nfp_bpf_get_stack_usage() local
717 max_depth = max(max_depth, depth); in nfp_bpf_get_stack_usage()
743 return max_depth; in nfp_bpf_get_stack_usage()

12