| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-cmd-queue.c | 109 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/arch/mips/include/asm/octeon/ |
| H A 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/kernel/bpf/ |
| H A D | stackmap.c | 57 u32 max_depth; in stack_map_calculate_max_depth() local 60 max_depth = size / elem_size; in stack_map_calculate_max_depth() 61 max_depth += skip; in stack_map_calculate_max_depth() 62 if (max_depth > curr_sysctl_max_stack) in stack_map_calculate_max_depth() 65 return max_depth; in stack_map_calculate_max_depth() 477 get_callchain_entry_for_task(struct task_struct *task, u32 max_depth) in get_callchain_entry_for_task() argument 489 max_depth, 0); in get_callchain_entry_for_task() 528 u32 max_depth; in stackid_init() local 534 max_depth = stack_map_calculate_max_depth(map->value_size, stack_map_data_size(map), flags); in stackid_init() 535 stackid->nr = min_t(u32, trace_nr - skip, max_depth - skip); in stackid_init() [all …]
|
| /linux/block/ |
| H A D | blk-iolatency.c | 144 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() 502 if (unlikely(issue_as_root && iolat->max_depth != UINT_MAX)) { in iolatency_record_time() 935 if (iolat->max_depth == UINT_MAX) in iolatency_ssd_stat() 943 iolat->max_depth); in iolatency_ssd_stat() [all …]
|
| H A D | blk-wbt.c | 366 rwb->wb_background, rwb->wb_normal, rqd->max_depth); in rwb_trace_step() 373 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits() 374 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits() 377 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits() 378 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits() 553 limit = rwb->rq_depth.max_depth; in get_limit()
|
| H A D | blk-rq-qos.h | 52 unsigned int max_depth; member
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | sama5d4_vdec_hw.c | 46 .max_depth = 2, 59 .max_depth = 2, 72 .max_depth = 2,
|
| H A D | stm32mp25_vpu_hw.c | 35 .max_depth = 2, 48 .max_depth = 2, 84 .max_depth = 2,
|
| H A D | imx8m_vpu_hw.c | 113 .max_depth = 2, 126 .max_depth = 2, 139 .max_depth = 2, 212 .max_depth = 2, 225 .max_depth = 2,
|
| H A D | sunxi_vpu_hw.c | 71 .max_depth = 2,
|
| /linux/drivers/acpi/acpica/ |
| H A 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()
|
| H A D | dbnames.c | 175 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()
|
| H A 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/arch/um/drivers/ |
| H A D | vector_kern.c | 264 % qi->max_depth; in vector_advancehead() 280 % qi->max_depth; in vector_advancetail() 340 if (queue_depth < qi->max_depth) { in vector_enqueue() 413 if (send_len + qi->head > qi->max_depth) in vector_send() 414 send_len = qi->max_depth - qi->head; in vector_send() 480 for (i = 0; i < qi->max_depth; i++) { in destroy_queue() 489 for (i = 0; i < qi->max_depth; i++) { in destroy_queue() 521 result->max_depth = max_size; in create_queue() 962 if (budget > qi->max_depth) in vector_mmsg_rx() 963 budget = qi->max_depth; in vector_mmsg_rx() [all …]
|
| H A D | vector_kern.h | 49 int head, tail, max_depth, max_iov_frags; member
|
| /linux/fs/befs/ |
| H A D | befs_fs_types.h | 220 fs32 max_depth; member 230 u32 max_depth; member
|
| H A D | btree.c | 153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super()
|
| H A D | debug.c | 234 befs_debug(sb, " max_depth %08x", fs32_to_cpu(sb, super->max_depth)); in befs_dump_index_entry()
|
| /linux/fs/f2fs/ |
| H A D | dir.c | 359 unsigned int max_depth; in __f2fs_find_entry() local 376 max_depth = F2FS_I(dir)->i_current_depth; in __f2fs_find_entry() 377 if (unlikely(max_depth > MAX_DIR_HASH_DEPTH)) { in __f2fs_find_entry() 379 dir->i_ino, max_depth); in __f2fs_find_entry() 380 max_depth = MAX_DIR_HASH_DEPTH; in __f2fs_find_entry() 381 f2fs_i_depth_write(dir, max_depth); in __f2fs_find_entry() 384 for (level = 0; level < max_depth; level++) { in __f2fs_find_entry()
|
| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | iommu.c | 262 u32 max_depth; in vfio_iommu_info_cap_hdr() local 271 max_depth = (info->argsz - sizeof(*info)) / sizeof(*hdr); in vfio_iommu_info_cap_hdr() 275 VFIO_ASSERT_LE(depth, max_depth, "Capability chain contains a cycle\n"); in vfio_iommu_info_cap_hdr()
|
| /linux/tools/perf/util/ |
| H A D | callchain.h | 76 u64 max_depth; member 181 root->max_depth = 0; in callchain_init()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | frwr_ops.c | 294 unsigned int max_depth = ep->re_max_fr_depth; in frwr_map() 334 while (remaining > 0 && i < max_depth) { in frwr_map() 359 i < max_depth) { in frwr_map() 293 unsigned int max_depth = ep->re_max_fr_depth; frwr_map() local
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 825 max_depth = 0 841 max_depth = 1 886 max_depth += 1 907 ksft_true(max_depth >= 2,
|
| /linux/drivers/scsi/leapraid/ |
| H A D | leapraid_os.c | 1640 int max_depth; in leapraid_calc_max_queue_depth() local 1646 max_depth = shost->can_queue; in leapraid_calc_max_queue_depth() 1689 max_depth = min_t(int, max_depth, fw_qdepth); in leapraid_calc_max_queue_depth() 1693 max_depth = 1; in leapraid_calc_max_queue_depth() 1695 if (qdepth > max_depth) in leapraid_calc_max_queue_depth() 1696 qdepth = max_depth; in leapraid_calc_max_queue_depth()
|
| /linux/include/linux/ |
| H A D | cgroup-defs.h | 501 int max_depth; member
|