Home
last modified time | relevance | path

Searched refs:largest (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.1.9/samples/watch_queue/
Dwatch_test.c95 size_t largest, len; in consumer() local
97 largest = end - p; in consumer()
98 if (largest > 128) in consumer()
99 largest = 128; in consumer()
100 if (largest < sizeof(struct watch_notification)) { in consumer()
101 fprintf(stderr, "Short message header: %zu\n", largest); in consumer()
104 memcpy(&n, p, largest); in consumer()
110 if (len < sizeof(n.n) || len > largest) { in consumer()
111 fprintf(stderr, "Bad message length: %zu/%zu\n", len, largest); in consumer()
/linux-6.1.9/drivers/scsi/
Dscsicam.c64 struct msdos_partition *p, *largest = NULL; in scsi_partsize() local
85 largest = p; in scsi_partsize()
89 if (largest) { in scsi_partsize()
90 end_cyl = largest->end_cyl + ((largest->end_sector & 0xc0) << 2); in scsi_partsize()
91 end_head = largest->end_head; in scsi_partsize()
92 end_sector = largest->end_sector & 0x3f; in scsi_partsize()
106 logical_end = get_unaligned_le32(&largest->start_sect) in scsi_partsize()
107 + get_unaligned_le32(&largest->nr_sects); in scsi_partsize()
/linux-6.1.9/kernel/sched/
Dcpudeadline.c27 int l, r, largest; in cpudl_heapify_down() local
41 largest = idx; in cpudl_heapify_down()
46 largest = l; in cpudl_heapify_down()
51 largest = r; in cpudl_heapify_down()
53 if (largest == idx) in cpudl_heapify_down()
57 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down()
58 cp->elements[idx].dl = cp->elements[largest].dl; in cpudl_heapify_down()
60 idx = largest; in cpudl_heapify_down()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dwatch_queue.rst290 size_t largest, len;
292 largest = end - p;
293 if (largest > 128)
294 largest = 128;
295 memcpy(&n, p, largest);
299 if (len == 0 || len > largest)
/linux-6.1.9/tools/testing/selftests/vm/
Dthuge-gen.c198 unsigned long largest = getpagesize(); in sanity_checks() local
201 if (page_sizes[i] > largest) in sanity_checks()
202 largest = page_sizes[i]; in sanity_checks()
212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks()
213 printf("Please do echo %lu > /proc/sys/kernel/shmmax", largest * NUM_PAGES); in sanity_checks()
218 if (largest != 1U<<30) { in sanity_checks()
/linux-6.1.9/fs/f2fs/
Dextent_cache.c328 et->largest = en->ei; in __init_extent_tree()
354 if (fofs < et->largest.fofs + et->largest.len && in __drop_largest_extent()
355 fofs + len > et->largest.fofs) { in __drop_largest_extent()
356 et->largest.len = 0; in __drop_largest_extent()
425 if (et->largest.fofs <= pgofs && in f2fs_lookup_extent_tree()
426 et->largest.fofs + et->largest.len > pgofs) { in f2fs_lookup_extent_tree()
427 *ei = et->largest; in f2fs_lookup_extent_tree()
557 prev = et->largest; in f2fs_update_extent_tree_range()
645 et->largest.len < F2FS_MIN_EXTENT_LEN) { in f2fs_update_extent_tree_range()
646 et->largest.len = 0; in f2fs_update_extent_tree_range()
[all …]
/linux-6.1.9/arch/m68k/fpsp040/
Dx_ovfl.S23 | RM For pos overflow, the largest pos number. For neg overflow,
25 | RP For pos overflow, +infinity. For neg overflow, the largest
Dscosh.S44 | the appropriate sign. Huge is the largest finite number in
Dssinh.S45 | the appropriate sign. Huge is the largest finite number in
/linux-6.1.9/Documentation/core-api/
Dwatch_queue.rst320 size_t largest, len;
322 largest = end - p;
323 if (largest > 128)
324 largest = 128;
325 memcpy(&n, p, largest);
329 if (len == 0 || len > largest)
/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c447 unsigned largest=0; in FSE_normalizeCount() local
463 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
467 if (-stillToDistribute >= (normalizedCounter[largest] >> 1)) { in FSE_normalizeCount()
472 else normalizedCounter[largest] += (short)stillToDistribute; in FSE_normalizeCount()
Dzstd_compress_superblock.c101 …{ size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize,… in ZSTD_buildSuperBlockEntropy_literal() local
102 FORWARD_IF_ERROR(largest, "HIST_count_wksp failed"); in ZSTD_buildSuperBlockEntropy_literal()
103 if (largest == srcSize) { in ZSTD_buildSuperBlockEntropy_literal()
108 if (largest <= (srcSize >> 7)+4) { in ZSTD_buildSuperBlockEntropy_literal()
595 …size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize… in ZSTD_estimateSubBlockSize_literal() local
596 if (ZSTD_isError(largest)) return litSize; in ZSTD_estimateSubBlockSize_literal()
Dhuf_compress.c798 …{ CHECK_V_F(largest, HIST_count_wksp (table->count, &maxSymbolValue, (const BYTE*)src, srcSize, … in HUF_compress_internal()
799 … if (largest == srcSize) { *ostart = ((const BYTE*)src)[0]; return 1; } /* single symbol, rle */ in HUF_compress_internal()
800 … if (largest <= (srcSize >> 7)+4) return 0; /* heuristic : probably not compressible enough */ in HUF_compress_internal()
/linux-6.1.9/Documentation/hwmon/
Dlm93.rst96 list will cause the driver to use the next largest interval. The available
151 will cause the driver to use the next largest value. Also note: when manual
161 not available will cause the driver to use the next largest value. Also note
172 combination of eight control sources. The final PWM is the largest of all
246 to use the next largest value.
259 which is not available will cause the driver to use the next largest value.
/linux-6.1.9/Documentation/ABI/stable/
Dfirewire-cdev81 buffer which is large enough to receive the largest event that
90 size, i.e. number of packets times size of largest packet,
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
Dvctrl.txt8 - regulator-max-microvolt : largest voltage consumers may set
/linux-6.1.9/arch/nios2/
DKconfig54 pages. This option selects the largest power of two that the kernel
60 a value of 11 means that the largest free memory block is 2^10 pages.
/linux-6.1.9/drivers/mtd/nand/raw/atmel/
Dpmecc.c506 int largest; in atmel_pmecc_get_sigma() local
574 largest = -1; in atmel_pmecc_get_sigma()
577 if ((dmu[j]) && (delta[j] > largest)) { in atmel_pmecc_get_sigma()
578 largest = delta[j]; in atmel_pmecc_get_sigma()
/linux-6.1.9/drivers/iio/
Dindustrialio-buffer.c706 int length, i, largest = 0; in iio_compute_scan_bytes() local
714 largest = max(largest, length); in iio_compute_scan_bytes()
721 largest = max(largest, length); in iio_compute_scan_bytes()
724 bytes = ALIGN(bytes, largest); in iio_compute_scan_bytes()
/linux-6.1.9/arch/sh/mm/
DKconfig33 pages. This option selects the largest power of two that the kernel
39 a value of 11 means that the largest free memory block is 2^10 pages.
/linux-6.1.9/Documentation/i2c/
Di2c-stub.rst31 return the number of bytes selected with the largest write so far.
/linux-6.1.9/Documentation/mm/
Dovercommit-accounting.rst46 largest size you think you will need. For typical stack usage this does
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Damlogic,axg-sound-card.txt35 If omitted, slot number is set to accommodate the largest
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_connector.c59 struct drm_display_mode *mode, *largest = NULL; in nouveau_conn_native_mode() local
89 largest = mode; in nouveau_conn_native_mode()
94 return largest ? drm_mode_duplicate(dev, largest) : NULL; in nouveau_conn_native_mode()
/linux-6.1.9/drivers/pci/
DKconfig236 Use largest MPS that boot-time devices support. If you have a
238 will use the largest MPS that's supported by all devices. This

1234