Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c113 int max_depth, int fpa_pool, in cvmx_cmd_queue_initialize() argument
130 if ((max_depth < 0) || (max_depth > 1 << 20)) in cvmx_cmd_queue_initialize()
132 } else if (max_depth != 0) in cvmx_cmd_queue_initialize()
142 if (max_depth != (int)qstate->max_depth) { in cvmx_cmd_queue_initialize()
146 (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
183 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
/Linux-v5.4/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-v5.4/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.c623 u32 max_depth, in acpi_ns_dump_objects() argument
648 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_objects()
747 u32 max_depth, in acpi_ns_dump_object_paths() argument
769 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
777 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
828 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth) in acpi_ns_dump_tables() argument
852 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth, in acpi_ns_dump_tables()
Ddbnames.c174 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace() local
187 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace()
205 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace()
255 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace_by_owner() local
263 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace_by_owner()
272 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace_by_owner()
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,
Dnswalk.c152 u32 max_depth, in acpi_ns_walk_namespace() argument
279 (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-v5.4/drivers/staging/media/hantro/
Drk3288_vpu_hw.c46 .max_depth = 2,
67 .max_depth = 2,
80 .max_depth = 2,
93 .max_depth = 2,
Drk3399_vpu_hw.c45 .max_depth = 2,
66 .max_depth = 2,
79 .max_depth = 2,
Dhantro.h278 int max_depth; member
/Linux-v5.4/block/
Dblk-iolatency.c277 return rq_wait_inc_below(rqw, iolat->rq_depth.max_depth); in iolat_acquire_inflight()
369 unsigned long old = iolat->rq_depth.max_depth; in scale_change()
381 iolat->rq_depth.max_depth = old; in scale_change()
386 iolat->rq_depth.max_depth = max(old, 1UL); in scale_change()
444 if (iolat->rq_depth.max_depth == 1 && direction < 0) { in check_scale_change()
452 iolat->rq_depth.max_depth = UINT_MAX; in check_scale_change()
507 if (unlikely(issue_as_root && iolat->rq_depth.max_depth != UINT_MAX)) { in iolatency_record_time()
903 if (iolat->rq_depth.max_depth == UINT_MAX) in iolatency_ssd_stat()
910 iolat->rq_depth.max_depth); in iolatency_ssd_stat()
928 if (iolat->rq_depth.max_depth == UINT_MAX) in iolatency_pd_stat()
[all …]
Dblk-rq-qos.c130 rqd->max_depth = 1; in rq_depth_calc_max_depth()
132 rqd->max_depth = 2; in rq_depth_calc_max_depth()
157 rqd->max_depth = depth; in rq_depth_calc_max_depth()
190 if (rqd->max_depth == 1) in rq_depth_scale_down()
Dblk-wbt.c293 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step()
300 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits()
301 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits()
304 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits()
305 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits()
481 limit = rwb->rq_depth.max_depth; in get_limit()
Dblk-rq-qos.h51 unsigned int max_depth; member
/Linux-v5.4/arch/um/drivers/
Dvector_kern.c230 % qi->max_depth; in vector_advancehead()
260 % qi->max_depth; in vector_advancetail()
325 if (queue_depth < qi->max_depth) { in vector_enqueue()
387 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send()
400 if (send_len + qi->head > qi->max_depth) in vector_send()
401 send_len = qi->max_depth - qi->head; in vector_send()
472 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
481 for (i = 0; i < qi->max_depth; i++) { in destroy_queue()
513 result->max_depth = max_size; in create_queue()
952 vp->fds->rx_fd, qi->mmsg_vector, qi->max_depth, 0); in vector_mmsg_rx()
[all …]
Dvector_kern.h43 int queue_depth, head, tail, max_depth, max_iov_frags; member
/Linux-v5.4/drivers/firewire/
Dcore-topology.c147 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count()
149 depths[0] = node->ports[i]->max_depth; in update_hop_count()
150 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count()
151 depths[1] = node->ports[i]->max_depth; in update_hop_count()
154 node->max_depth = depths[0] + 1; in update_hop_count()
Dcore.h186 u8 max_depth:4; /* Maximum depth to any leaf node */ member
/Linux-v5.4/fs/befs/
Dbefs_fs_types.h220 fs32 max_depth; member
230 u32 max_depth; member
Dbtree.c153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super()
/Linux-v5.4/fs/f2fs/
Ddir.c311 unsigned int max_depth; in __f2fs_find_entry() local
325 max_depth = F2FS_I(dir)->i_current_depth; in __f2fs_find_entry()
326 if (unlikely(max_depth > MAX_DIR_HASH_DEPTH)) { in __f2fs_find_entry()
328 dir->i_ino, max_depth); in __f2fs_find_entry()
329 max_depth = MAX_DIR_HASH_DEPTH; in __f2fs_find_entry()
330 f2fs_i_depth_write(dir, max_depth); in __f2fs_find_entry()
333 for (level = 0; level < max_depth; level++) { in __f2fs_find_entry()
/Linux-v5.4/tools/perf/util/
Dcallchain.h75 u64 max_depth; member
174 root->max_depth = 0; in callchain_init()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c696 unsigned int max_depth = 0, depth = 0, frame = 0; in nfp_bpf_get_stack_usage() local
712 max_depth = max(max_depth, depth); in nfp_bpf_get_stack_usage()
738 return max_depth; in nfp_bpf_get_stack_usage()

12