/Linux-v4.19/block/ |
D | blk-tag.c | 40 BUG_ON(find_first_bit(bqt->tag_map, bqt->max_depth) < in blk_free_tags() 41 bqt->max_depth); in blk_free_tags() 112 tags->max_depth = depth; in init_tag_map() 208 int max_depth, nr_ulongs; in blk_queue_resize_tags() local 220 bqt->max_depth = new_depth; in blk_queue_resize_tags() 236 max_depth = bqt->real_max_depth; in blk_queue_resize_tags() 241 memcpy(bqt->tag_index, tag_index, max_depth * sizeof(struct request *)); in blk_queue_resize_tags() 242 nr_ulongs = ALIGN(max_depth, BITS_PER_LONG) / BITS_PER_LONG; in blk_queue_resize_tags() 312 unsigned max_depth; in blk_queue_start_tag() local 332 max_depth = bqt->max_depth; in blk_queue_start_tag() [all …]
|
D | blk-rq-qos.c | 118 rqd->max_depth = 1; in rq_depth_calc_max_depth() 120 rqd->max_depth = 2; in rq_depth_calc_max_depth() 145 rqd->max_depth = depth; in rq_depth_calc_max_depth() 175 if (rqd->max_depth == 1) in rq_depth_scale_down()
|
D | blk-iolatency.c | 184 return rq_wait_inc_below(rqw, iolat->rq_depth.max_depth); in iolatency_may_queue() 300 unsigned long old = iolat->rq_depth.max_depth; in scale_change() 314 iolat->rq_depth.max_depth = old; in scale_change() 320 iolat->rq_depth.max_depth = max(old, 1UL); in scale_change() 378 if (iolat->rq_depth.max_depth == 1 && direction < 0) { in check_scale_change() 386 iolat->rq_depth.max_depth = UINT_MAX; in check_scale_change() 465 if (unlikely(issue_as_root && iolat->rq_depth.max_depth != UINT_MAX)) { in iolatency_record_time() 845 if (iolat->rq_depth.max_depth == UINT_MAX) in iolatency_pd_stat() 850 iolat->rq_depth.max_depth, avg_lat, cur_win); in iolatency_pd_stat() 888 iolat->rq_depth.max_depth = UINT_MAX; in iolatency_pd_init()
|
D | blk-wbt.c | 292 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step() 299 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits() 300 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits() 303 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits() 304 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits() 478 limit = rwb->rq_depth.max_depth; in get_limit()
|
D | blk-rq-qos.h | 39 unsigned int max_depth; member
|
/Linux-v4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-cmd-queue.c | 113 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-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 133 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-v4.19/drivers/acpi/acpica/ |
D | utcache.c | 34 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()
|
D | nsdump.c | 623 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()
|
D | dbstats.c | 75 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()
|
D | dbnames.c | 174 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()
|
D | acnamesp.h | 78 u32 max_depth, 178 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth); 195 u32 max_depth, 201 u32 max_depth,
|
D | nswalk.c | 152 u32 max_depth, in acpi_ns_walk_namespace() argument 279 (level < max_depth) && (status != AE_CTRL_DEPTH)) { in acpi_ns_walk_namespace()
|
D | nsxfeval.c | 556 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-v4.19/arch/um/drivers/ |
D | vector_kern.c | 226 % qi->max_depth; in vector_advancehead() 256 % qi->max_depth; in vector_advancetail() 321 if (queue_depth < qi->max_depth) { in vector_enqueue() 383 int result = 0, send_len, queue_depth = qi->max_depth; in vector_send() 396 if (send_len + qi->head > qi->max_depth) in vector_send() 397 send_len = qi->max_depth - qi->head; in vector_send() 467 for (i = 0; i < qi->max_depth; i++) { in destroy_queue() 476 for (i = 0; i < qi->max_depth; i++) { in destroy_queue() 508 result->max_depth = max_size; in create_queue() 937 vp->fds->rx_fd, qi->mmsg_vector, qi->max_depth, 0); in vector_mmsg_rx() [all …]
|
D | vector_kern.h | 43 int queue_depth, head, tail, max_depth, max_iov_frags; member
|
/Linux-v4.19/drivers/firewire/ |
D | core-topology.c | 159 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count() 161 depths[0] = node->ports[i]->max_depth; in update_hop_count() 162 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count() 163 depths[1] = node->ports[i]->max_depth; in update_hop_count() 166 node->max_depth = depths[0] + 1; in update_hop_count()
|
D | core.h | 186 u8 max_depth:4; /* Maximum depth to any leaf node */ member
|
/Linux-v4.19/fs/befs/ |
D | befs_fs_types.h | 220 fs32 max_depth; member 230 u32 max_depth; member
|
D | btree.c | 153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super()
|
/Linux-v4.19/fs/f2fs/ |
D | dir.c | 208 unsigned int max_depth; in __f2fs_find_entry() local 222 max_depth = F2FS_I(dir)->i_current_depth; in __f2fs_find_entry() 223 if (unlikely(max_depth > MAX_DIR_HASH_DEPTH)) { in __f2fs_find_entry() 226 dir->i_ino, max_depth); in __f2fs_find_entry() 227 max_depth = MAX_DIR_HASH_DEPTH; in __f2fs_find_entry() 228 f2fs_i_depth_write(dir, max_depth); in __f2fs_find_entry() 231 for (level = 0; level < max_depth; level++) { in __f2fs_find_entry()
|
/Linux-v4.19/tools/perf/util/ |
D | callchain.h | 71 u64 max_depth; member 169 root->max_depth = 0; in callchain_init()
|
/Linux-v4.19/drivers/message/fusion/ |
D | mptscsih.c | 2316 int max_depth; in mptscsih_change_queue_depth() local 2324 max_depth = 1; in mptscsih_change_queue_depth() 2327 max_depth = MPT_SCSI_CMD_PER_DEV_HIGH; in mptscsih_change_queue_depth() 2329 max_depth = MPT_SCSI_CMD_PER_DEV_LOW; in mptscsih_change_queue_depth() 2331 max_depth = ioc->sh->can_queue; in mptscsih_change_queue_depth() 2334 max_depth = 1; in mptscsih_change_queue_depth() 2336 if (qdepth > max_depth) in mptscsih_change_queue_depth() 2337 qdepth = max_depth; in mptscsih_change_queue_depth()
|
/Linux-v4.19/include/acpi/ |
D | acpiosxf.h | 203 u16 max_depth, acpi_cache_t ** return_cache);
|
/Linux-v4.19/kernel/bpf/ |
D | stackmap.c | 344 u32 max_depth = map->value_size / stack_map_data_size(map); in BPF_CALL_3() local 346 u32 init_nr = sysctl_perf_event_max_stack - max_depth; in BPF_CALL_3()
|