/third_party/musl/src/malloc/mallocng/ |
H A D | malloc.c | 248 size_t usage = ctx.usage_by_class[sc]; in alloc_group() 252 while (i<2 && 4*small_cnt_tab[sc][i] > usage) in alloc_group() 262 while (!(cnt&1) && 4*cnt > usage) in alloc_group() 286 // an absolute memory usage cost, don't overdo them. count in alloc_group() 287 // coarse usage as part of usage. in alloc_group() 288 if (!(sc&1) && sc<32) usage += ctx.usage_by_class[sc+1]; in alloc_group() 291 // increases usage by more than 25%. these reduced counts in alloc_group() 294 if (4*cnt > usage && !nosmall) { in alloc_group() 304 // produce an individually-mmapped allocation if usage i in alloc_group() 418 size_t usage = ctx.usage_by_class[sc|1]; malloc() local [all...] |
/third_party/musl/porting/linux/user/src/malloc/mallocng/ |
H A D | malloc.c | 245 size_t usage = ctx.usage_by_class[sc]; in alloc_group() 249 while (i<2 && 4*small_cnt_tab[sc][i] > usage) in alloc_group() 259 while (!(cnt&1) && 4*cnt > usage) in alloc_group() 283 // an absolute memory usage cost, don't overdo them. count in alloc_group() 284 // coarse usage as part of usage. in alloc_group() 285 if (!(sc&1) && sc<32) usage += ctx.usage_by_class[sc+1]; in alloc_group() 288 // increases usage by more than 25%. these reduced counts in alloc_group() 291 if (4*cnt > usage && !nosmall) { in alloc_group() 301 // produce an individually-mmapped allocation if usage i in alloc_group() 411 size_t usage = ctx.usage_by_class[sc|1]; malloc() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | memory.h | 59 // Intended usage of the allocation. Used for allocation trackers. 67 Count, // Not intended to be used as a usage type - used for upper bound. 75 Usage usage = Usage::Undefined; // Intended usage of the allocation. member 168 allocation.request.usage = Allocation::Usage::Create; in operator ()() 180 request.usage = Allocation::Usage::Create; in create() 195 alloc.request.usage = Allocation::Usage::Create; in destroy() 213 request.usage = Allocation::Usage::Create; in make_unique_n() 225 request.usage = Allocation::Usage::Create; in make_shared() 256 // Statistics per usage [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 474 double usage[(int)BlockCycleEstimator::resource_count] = {0}; in collect_preasm_stats() local 525 usage[i] += block_est.res_usage[i] * iter; in collect_preasm_stats() 536 if (usage[i] > 0.0) in collect_preasm_stats() 537 parallelism = MIN2(parallelism, latency / usage[i]); in collect_preasm_stats() 555 fprintf(stderr, "salu_smem_usage: %f\n", usage[(int)BlockCycleEstimator::scalar]); in collect_preasm_stats() 557 usage[(int)BlockCycleEstimator::branch_sendmsg]); in collect_preasm_stats() 558 fprintf(stderr, "valu_usage: %f\n", usage[(int)BlockCycleEstimator::valu]); in collect_preasm_stats() 559 fprintf(stderr, "valu_complex_usage: %f\n", usage[(int)BlockCycleEstimator::valu_complex]); in collect_preasm_stats() 560 fprintf(stderr, "lds_usage: %f\n", usage[(int)BlockCycleEstimator::lds]); in collect_preasm_stats() 561 fprintf(stderr, "export_gds_usage: %f\n", usage[(in in collect_preasm_stats() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_kvdl.c | 15 * usage bits we need and how many indexes there are 48 unsigned long usage[]; /* Usage bits */ member 69 bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit); in mlxsw_sp2_kvdl_part_find_zero_bits() 78 if (test_bit(bit + i, part->usage)) { in mlxsw_sp2_kvdl_part_find_zero_bits() 101 __set_bit(bit + i, part->usage); in mlxsw_sp2_kvdl_part_alloc() 141 __clear_bit(bit + i, part->usage); in mlxsw_sp2_kvdl_part_free() 198 /* For some partitions, one usage bit represents a group of indexes. in mlxsw_sp2_kvdl_part_init() 199 * That's why we compute the number of indexes per usage bit here, in mlxsw_sp2_kvdl_part_init()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | fdtget.c | 282 static void usage(const char *msg) in usage() function 309 usage(NULL); in main() 314 usage("Invalid type string"); in main() 336 usage("Missing filename"); in main() 347 usage("Must have an even number of arguments"); in main()
|
/kernel/linux/linux-5.10/tools/pci/ |
H A D | pcitest.c | 185 goto usage; in main() 193 goto usage; in main() 198 goto usage; in main() 203 goto usage; in main() 229 usage: in main() 231 "usage: %s [options]\n" in main()
|
/kernel/linux/linux-5.10/tools/firmware/ |
H A D | ihex2fw.c | 61 static int usage(void) in usage() function 65 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); in usage() 91 return usage(); in main() 96 return usage(); in main() 105 return usage(); in main() 124 return usage(); in main()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_kvdl.c | 15 * usage bits we need and how many indexes there are 49 unsigned long usage[]; /* Usage bits */ member 70 bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit); in mlxsw_sp2_kvdl_part_find_zero_bits() 79 if (test_bit(bit + i, part->usage)) { in mlxsw_sp2_kvdl_part_find_zero_bits() 102 __set_bit(bit + i, part->usage); in mlxsw_sp2_kvdl_part_alloc() 142 __clear_bit(bit + i, part->usage); in mlxsw_sp2_kvdl_part_free() 199 /* For some partitions, one usage bit represents a group of indexes. in mlxsw_sp2_kvdl_part_init() 200 * That's why we compute the number of indexes per usage bit here, in mlxsw_sp2_kvdl_part_init()
|
/kernel/linux/linux-6.6/tools/pci/ |
H A D | pcitest.c | 185 goto usage; in main() 193 goto usage; in main() 198 goto usage; in main() 203 goto usage; in main() 229 usage: in main() 231 "usage: %s [options]\n" in main()
|
/kernel/linux/linux-6.6/tools/firmware/ |
H A D | ihex2fw.c | 61 static int usage(void) in usage() function 65 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); in usage() 91 return usage(); in main() 96 return usage(); in main() 105 return usage(); in main() 124 return usage(); in main()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | decode_stacktrace.sh | 6 usage() { function 49 usage 66 usage 227 usage 233 usage
|
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | fdtget.c | 282 static void usage(const char *msg) in usage() function 309 usage(NULL); in main() 314 usage("Invalid type string"); in main() 336 usage("Missing filename"); in main() 347 usage("Must have an even number of arguments"); in main()
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | thugetlb.c | 53 static void usage(void) in usage() function 139 usage(); in main() 184 usage(); in main() 187 usage(); in main() 200 usage(); in main()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.py | 97 def usage(): function 99 print("usage:") 181 usage() 210 usage() 214 usage() 223 usage()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | thugetlb.c | 53 static void usage(void) in usage() function 139 usage(); in main() 184 usage(); in main() 187 usage(); in main() 200 usage(); in main()
|
/third_party/ltp/testscripts/ |
H A D | ltpdmmapper.sh | 17 usage() function 20 usage: ${0##*/} [ -a part1 ] [ -b part2 ] 49 usage;; 55 usage; 61 usage;
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/ |
H A D | ServerBuffer.cpp | 28 if (buffer->mappedAtCreation && !(buffer->usage & WGPUMapMode_Write)) { in PreHandleBufferUnmap() 122 resultData->usage = descriptor->usage; in DoDeviceCreateBuffer() 128 // isReadMode and isWriteMode could be true at the same time if usage contains in DoDeviceCreateBuffer() 130 bool isReadMode = descriptor->usage & WGPUMapMode_Read; in DoDeviceCreateBuffer() 131 bool isWriteMode = descriptor->usage & WGPUMapMode_Write || descriptor->mappedAtCreation; in DoDeviceCreateBuffer()
|
/third_party/selinux/libselinux/utils/ |
H A D | avcstat.c | 63 static void usage(void) in usage() function 118 usage(); in main() 121 usage(); in main() 131 usage(); in main() 135 usage(); in main()
|
/third_party/skia/bench/ |
H A D | check_bench_regressions.py | 38 def usage(): function 39 """Prints simple usage information.""" 205 usage() 227 usage() 230 usage() 234 usage()
|
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_private_mapped_file.c | 43 void usage(char *prog) in usage() function 85 usage(basename(argv[0])); in main() 91 usage(basename(argv[0])); in main()
|
H A D | futex_wait_uninitialized_heap.c | 42 void usage(char *prog) in usage() function 78 usage(basename(argv[0])); in main() 84 usage(basename(argv[0])); in main()
|
H A D | futex_requeue_pi_mismatched_ops.c | 35 void usage(char *prog) in usage() function 66 usage(basename(argv[0])); in main() 72 usage(basename(argv[0])); in main()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | ibumad_user.c | 64 static void usage(char *cmd) in usage() function 99 usage(argv[0]); in main() 105 usage(argv[0]); in main()
|
/kernel/linux/linux-5.10/samples/pktgen/ |
H A D | parameters.sh | 6 function usage() { function 82 usage; 106 usage
|