Searched refs:SIZE_MAX (Results 26 - 50 of 76) sorted by path

1234

/linux-master/drivers/spi/
H A Dspi-omap2-mcspi.c1371 return SIZE_MAX;
H A Dspi-s3c64xx.c793 return ctlr->can_dma ? S3C64XX_SPI_PACKET_CNT_MASK : SIZE_MAX;
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c240 if ((size_t)num_pages > (SIZE_MAX - sizeof(struct pagelist) -
/linux-master/drivers/usb/gadget/
H A Du_f.h26 if (groupname##__next != SIZE_MAX) { \
33 groupname##__next = SIZE_MAX; \
44 if (groupname##__next != SIZE_MAX) { \
50 groupname##__next = SIZE_MAX; \
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c1300 iova + size - 1 < iova || size > SIZE_MAX) {
/linux-master/drivers/virtio/
H A Dvirtio_ring.c302 size_t max_segment_size = SIZE_MAX;
/linux-master/fs/btrfs/
H A Dqgroup.c3116 if (struct_sz == SIZE_MAX)
/linux-master/fs/ceph/
H A Dsnap.c377 if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64))
/linux-master/fs/iomap/
H A Dbuffered-io.c1335 size_t bytes = min_t(u64, SIZE_MAX, length);
1398 size_t bytes = min_t(u64, SIZE_MAX, length);
/linux-master/fs/
H A Dselect.c658 if (size > (SIZE_MAX / 6))
/linux-master/include/crypto/
H A Ddrbg.h180 * return SIZE_MAX - 1 to allow the verification of the enforcement
183 return (SIZE_MAX - 1);
/linux-master/include/linux/
H A Dfortify-string.h66 size_t __ret = SIZE_MAX; \
68 if (__p_size != SIZE_MAX && \
212 if (__builtin_constant_p(maxlen) && p_len != SIZE_MAX) {
253 if (p_size == SIZE_MAX)
271 if (p_size == SIZE_MAX && q_size == SIZE_MAX)
282 if (__compiletime_lessthan(p_size, SIZE_MAX)) {
285 if (len < SIZE_MAX && __compiletime_lessthan(len, size)) {
353 if (p_size == SIZE_MAX && q_size == SIZE_MAX)
[all...]
H A Dgeneric-radix-tree.h215 iter->offset = SIZE_MAX;
216 iter->pos = SIZE_MAX;
236 iter->offset == SIZE_MAX) {
237 iter->offset = SIZE_MAX;
269 (SIZE_MAX / GENRADIX_NODE_SIZE * __genradix_objs_per_page(_radix) - 1)
H A Dlimits.h9 #define SIZE_MAX (~(size_t)0) macro
10 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))
H A Doverflow.h258 * size_mul() - Calculate size_t multiplication with saturation at SIZE_MAX
263 * with any overflow causing the return value to be SIZE_MAX. The
271 return SIZE_MAX;
277 * size_add() - Calculate size_t addition with saturation at SIZE_MAX
282 * with any overflow causing the return value to be SIZE_MAX. The
290 return SIZE_MAX;
296 * size_sub() - Calculate size_t subtraction with saturation at SIZE_MAX
301 * with any overflow causing the return value to be SIZE_MAX. For
303 * argument may be SIZE_MAX (or the result with be forced to SIZE_MAX)
[all...]
H A Dswiotlb.h235 return SIZE_MAX;
/linux-master/include/linux/spi/
H A Dspi.h415 * a &spi_device; may be %NULL, so the default %SIZE_MAX will be used.
417 * a &spi_device; may be %NULL, so the default %SIZE_MAX will be used.
1283 return SIZE_MAX;
1291 size_t tr_max = SIZE_MAX;
/linux-master/include/linux/sunrpc/
H A Dxdr.h782 if (U32_MAX >= SIZE_MAX / sizeof(*p) && len > SIZE_MAX / sizeof(*p))
/linux-master/io_uring/
H A Dio_uring.c2586 if (off == SIZE_MAX)
2587 return SIZE_MAX;
2590 return SIZE_MAX;
2596 return SIZE_MAX;
2601 *sq_offset = SIZE_MAX;
2609 if (sq_array_size == SIZE_MAX)
2610 return SIZE_MAX;
2613 return SIZE_MAX;
3345 if (size == SIZE_MAX)
3368 if (size == SIZE_MAX) {
[all...]
H A Dregister.c97 if (size == SIZE_MAX)
179 if (size == SIZE_MAX)
/linux-master/kernel/bpf/
H A Dsyscall.c292 if (size >= SIZE_MAX)
/linux-master/kernel/dma/
H A Ddirect.c637 return SIZE_MAX;
H A Dmapping.c821 size_t size = SIZE_MAX;
835 size_t size = SIZE_MAX;
/linux-master/lib/
H A Dfortify_kunit.c90 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_unknown), SIZE_MAX);
92 KUNIT_EXPECT_EQ(test, __compiletime_strlen(test->name), SIZE_MAX);
119 KUNIT_EXPECT_EQ(test, want_minus_one(pick), SIZE_MAX);
153 KUNIT_EXPECT_BOS(test, p, SIZE_MAX, #alloc); \
H A Dgeneric-radix-tree.c160 if (iter->offset == SIZE_MAX)
184 iter->offset = SIZE_MAX;
185 iter->pos = SIZE_MAX;
214 if (iter->offset == SIZE_MAX)

Completed in 406 milliseconds

1234