Home
last modified time | relevance | path

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

/linux-4.4.14/block/
Dblk-tag.c39 BUG_ON(find_first_bit(bqt->tag_map, bqt->max_depth) < in blk_free_tags()
40 bqt->max_depth); in blk_free_tags()
111 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()
316 unsigned max_depth; in blk_queue_start_tag() local
334 max_depth = bqt->max_depth; in blk_queue_start_tag()
[all …]
/linux-4.4.14/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-4.4.14/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-4.4.14/drivers/acpi/acpica/
Dutcache.c68 u16 max_depth, struct acpi_memory_list **return_cache) in acpi_os_create_cache() argument
90 cache->max_depth = max_depth; in acpi_os_create_cache()
200 if (cache->current_depth >= cache->max_depth) { in acpi_os_release_object()
Dnsdump.c648 u32 max_depth, in acpi_ns_dump_objects() argument
672 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_objects()
770 u32 max_depth, in acpi_ns_dump_object_paths() argument
792 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
800 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
851 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth) in acpi_ns_dump_tables() argument
875 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth, in acpi_ns_dump_tables()
Dacnamesp.h106 u32 max_depth,
196 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth);
212 u32 max_depth,
218 u32 max_depth,
Ddbstats.c111 if (list->max_depth > 0) { in acpi_db_list_info()
115 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info()
119 if (list->max_depth > 0) { in acpi_db_list_info()
Ddbnames.c210 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace() local
223 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace()
235 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace()
285 u32 max_depth = ACPI_UINT32_MAX; in acpi_db_dump_namespace_by_owner() local
293 max_depth = strtoul(depth_arg, NULL, 0); in acpi_db_dump_namespace_by_owner()
302 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_SUMMARY, max_depth, in acpi_db_dump_namespace_by_owner()
Dnswalk.c186 u32 max_depth, in acpi_ns_walk_namespace() argument
313 (level < max_depth) && (status != AE_CTRL_DEPTH)) { in acpi_ns_walk_namespace()
Dnsxfeval.c569 u32 max_depth, in acpi_walk_namespace() argument
581 (!max_depth) || (!descending_callback && !ascending_callback)) { in acpi_walk_namespace()
619 status = acpi_ns_walk_namespace(type, start_object, max_depth, in acpi_walk_namespace()
/linux-4.4.14/drivers/firewire/
Dcore-topology.c160 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count()
162 depths[0] = node->ports[i]->max_depth; in update_hop_count()
163 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count()
164 depths[1] = node->ports[i]->max_depth; in update_hop_count()
167 node->max_depth = depths[0] + 1; in update_hop_count()
Dcore.h185 u8 max_depth:4; /* Maximum depth to any leaf node */ member
/linux-4.4.14/fs/befs/
Dbefs_fs_types.h219 fs32 max_depth; member
229 u32 max_depth; member
Dbtree.c156 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super()
Ddebug.c230 befs_debug(sb, " max_depth %08x", fs32_to_cpu(sb, super->max_depth)); in befs_dump_index_entry()
/linux-4.4.14/tools/perf/util/
Dcallchain.h67 u64 max_depth; member
139 root->max_depth = 0; in callchain_init()
Dcallchain.c631 if (cursor->nr > root->max_depth) in callchain_append()
632 root->max_depth = cursor->nr; in callchain_append()
/linux-4.4.14/kernel/trace/
Dtrace_functions_graph.c67 static unsigned int max_depth; variable
327 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
1425 max_depth = val; in graph_depth_write()
1439 n = sprintf(buf, "%d\n", max_depth); in graph_depth_read()
/linux-4.4.14/fs/f2fs/
Ddir.c221 unsigned int max_depth; in f2fs_find_entry() local
240 max_depth = F2FS_I(dir)->i_current_depth; in f2fs_find_entry()
242 for (level = 0; level < max_depth; level++) { in f2fs_find_entry()
/linux-4.4.14/drivers/message/fusion/
Dmptscsih.c2323 int max_depth; in mptscsih_change_queue_depth() local
2331 max_depth = 1; in mptscsih_change_queue_depth()
2334 max_depth = MPT_SCSI_CMD_PER_DEV_HIGH; in mptscsih_change_queue_depth()
2336 max_depth = MPT_SCSI_CMD_PER_DEV_LOW; in mptscsih_change_queue_depth()
2338 max_depth = ioc->sh->can_queue; in mptscsih_change_queue_depth()
2341 max_depth = 1; in mptscsih_change_queue_depth()
2343 if (qdepth > max_depth) in mptscsih_change_queue_depth()
2344 qdepth = max_depth; in mptscsih_change_queue_depth()
/linux-4.4.14/include/acpi/
Dacpiosxf.h216 u16 max_depth, acpi_cache_t ** return_cache);
Dactypes.h1235 u16 max_depth; member
Dacpixf.h474 u32 max_depth,
/linux-4.4.14/tools/perf/ui/
Dhist.c210 ret = b->callchain->max_depth - a->callchain->max_depth; in __hpp__sort_acc()
/linux-4.4.14/tools/perf/tests/
Dhists_cumulate.c158 #define DEPTH(he) (he->callchain->max_depth)
/linux-4.4.14/drivers/pci/
Dsetup-bus.c1705 int max_depth = pci_bus_get_depth(bus); in pci_assign_unassigned_root_bus_resources() local
1707 pci_try_num = max_depth + 1; in pci_assign_unassigned_root_bus_resources()
1710 max_depth, pci_try_num); in pci_assign_unassigned_root_bus_resources()
/linux-4.4.14/drivers/scsi/
Dvirtio_scsi.c706 int max_depth = shost->cmd_per_lun; in virtscsi_change_queue_depth() local
708 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1204 int max_depth; in scsih_change_queue_depth() local
1211 max_depth = shost->can_queue; in scsih_change_queue_depth()
1227 max_depth = MPT3SAS_SATA_QUEUE_DEPTH; in scsih_change_queue_depth()
1236 max_depth = 1; in scsih_change_queue_depth()
1237 if (qdepth > max_depth) in scsih_change_queue_depth()
1238 qdepth = max_depth; in scsih_change_queue_depth()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_scsi.c2183 tag = find_next_zero_bit(bqt->tag_map, bqt->max_depth, 1); in fnic_scsi_host_start_tag()
2184 if (tag >= bqt->max_depth) { in fnic_scsi_host_start_tag()
/linux-4.4.14/include/linux/
Dblkdev.h239 int max_depth; /* what we will send to device */ member
/linux-4.4.14/Documentation/block/
Dbiodoc.txt803 int max_depth; /* max queue depth */