Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.c651 u32 max_depth, in acpi_ns_dump_objects() argument
675 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_objects()
775 u32 max_depth, in acpi_ns_dump_object_paths() argument
797 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
805 (void)acpi_ns_walk_namespace(type, start_handle, max_depth, in acpi_ns_dump_object_paths()
857 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth) in acpi_ns_dump_tables() argument
881 acpi_ns_dump_objects(ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, max_depth, in acpi_ns_dump_tables()
Dacnamesp.h105 u32 max_depth,
196 void acpi_ns_dump_tables(acpi_handle search_base, u32 max_depth);
214 u32 max_depth,
220 u32 max_depth,
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.1.27/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.1.27/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.1.27/tools/perf/util/
Dcallchain.h43 u64 max_depth; member
110 root->max_depth = 0; in callchain_init()
Dcallchain.c682 if (cursor->nr > root->max_depth) in callchain_append()
683 root->max_depth = cursor->nr; in callchain_append()
/linux-4.1.27/kernel/trace/
Dtrace_functions_graph.c67 static unsigned int max_depth; variable
325 (max_depth && trace->depth >= max_depth)) in trace_graph_entry()
1412 max_depth = val; in graph_depth_write()
1426 n = sprintf(buf, "%d\n", max_depth); in graph_depth_read()
/linux-4.1.27/fs/f2fs/
Ddir.c215 unsigned int max_depth; in f2fs_find_entry() local
227 max_depth = F2FS_I(dir)->i_current_depth; in f2fs_find_entry()
229 for (level = 0; level < max_depth; level++) { in f2fs_find_entry()
/linux-4.1.27/include/acpi/
Dacpiosxf.h215 u16 max_depth, acpi_cache_t ** return_cache);
Dactypes.h1230 u16 max_depth; member
Dacpixf.h471 u32 max_depth,
/linux-4.1.27/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.1.27/tools/perf/ui/
Dhist.c210 ret = b->callchain->max_depth - a->callchain->max_depth; in __hpp__sort_acc()
/linux-4.1.27/tools/perf/tests/
Dhists_cumulate.c154 #define DEPTH(he) (he->callchain->max_depth)
/linux-4.1.27/drivers/pci/
Dsetup-bus.c1661 int max_depth = pci_bus_get_depth(bus); in pci_assign_unassigned_root_bus_resources() local
1663 pci_try_num = max_depth + 1; in pci_assign_unassigned_root_bus_resources()
1666 max_depth, pci_try_num); in pci_assign_unassigned_root_bus_resources()
/linux-4.1.27/drivers/scsi/
Dvirtio_scsi.c701 int max_depth = shost->cmd_per_lun; in virtscsi_change_queue_depth() local
703 return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); in virtscsi_change_queue_depth()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c1193 int max_depth; in _scsih_change_queue_depth() local
1200 max_depth = shost->can_queue; in _scsih_change_queue_depth()
1216 max_depth = MPT2SAS_SATA_QUEUE_DEPTH; in _scsih_change_queue_depth()
1221 max_depth = 1; in _scsih_change_queue_depth()
1222 if (qdepth > max_depth) in _scsih_change_queue_depth()
1223 qdepth = max_depth; in _scsih_change_queue_depth()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1068 int max_depth; in _scsih_change_queue_depth() local
1075 max_depth = shost->can_queue; in _scsih_change_queue_depth()
1091 max_depth = MPT3SAS_SATA_QUEUE_DEPTH; in _scsih_change_queue_depth()
1097 max_depth = 1; in _scsih_change_queue_depth()
1098 if (qdepth > max_depth) in _scsih_change_queue_depth()
1099 qdepth = max_depth; in _scsih_change_queue_depth()
/linux-4.1.27/drivers/scsi/fnic/
Dfnic_scsi.c2167 tag = find_next_zero_bit(bqt->tag_map, bqt->max_depth, 1); in fnic_scsi_host_start_tag()
2168 if (tag >= bqt->max_depth) { in fnic_scsi_host_start_tag()
/linux-4.1.27/include/linux/
Dblkdev.h272 int max_depth; /* what we will send to device */ member
/linux-4.1.27/Documentation/block/
Dbiodoc.txt803 int max_depth; /* max queue depth */