/fs/xfs/ |
D | xfs_rtalloc.c | 226 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() argument 251 maxlen = min(mp->m_sb.sb_rextents, i + maxlen) - i; in xfs_rtallocate_extent_block() 257 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block() 265 error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, in xfs_rtallocate_extent_block() 270 *len = maxlen; in xfs_rtallocate_extent_block() 280 if (minlen < maxlen) { in xfs_rtallocate_extent_block() 303 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block() 346 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact() argument 358 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact() 362 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact() [all …]
|
D | xfs_sysctl.c | 57 .maxlen = sizeof(int), 66 .maxlen = sizeof(int), 75 .maxlen = sizeof(int), 85 .maxlen = sizeof(int), 94 .maxlen = sizeof(int), 103 .maxlen = sizeof(int), 112 .maxlen = sizeof(int), 121 .maxlen = sizeof(int), 130 .maxlen = sizeof(int), 139 .maxlen = sizeof(int), [all …]
|
D | xfs_extent_busy.c | 471 if (bbno - fbno >= args->maxlen) { in xfs_extent_busy_trim() 474 } else if (fend - bend >= args->maxlen * 4) { in xfs_extent_busy_trim()
|
D | xfs_rtalloc.h | 44 xfs_extlen_t maxlen, /* maximum length to allocate */
|
/fs/romfs/ |
D | storage.c | 37 unsigned long pos, size_t maxlen) in romfs_mtd_strnlen() argument 46 while (maxlen > 0) { in romfs_mtd_strnlen() 47 segment = min_t(size_t, maxlen, 16); in romfs_mtd_strnlen() 54 maxlen -= len; in romfs_mtd_strnlen() 238 unsigned long pos, size_t maxlen) in romfs_dev_strnlen() argument 245 if (maxlen > limit - pos) in romfs_dev_strnlen() 246 maxlen = limit - pos; in romfs_dev_strnlen() 250 return romfs_mtd_strnlen(sb, pos, maxlen); in romfs_dev_strnlen() 254 return romfs_blk_strnlen(sb, pos, maxlen); in romfs_dev_strnlen()
|
D | internal.h | 41 unsigned long pos, size_t maxlen);
|
/fs/coda/ |
D | sysctl.c | 21 .maxlen = sizeof(int), 28 .maxlen = sizeof(int), 35 .maxlen = sizeof(int),
|
/fs/cifs/ |
D | cifs_unicode.h | 98 char *cifs_strndup_from_utf16(const char *src, const int maxlen, 101 extern int cifsConvertToUTF16(__le16 *target, const char *source, int maxlen, 104 extern __le16 *cifs_strndup_to_utf16(const char *src, const int maxlen, 194 UniStrnlen(const wchar_t *ucs1, int maxlen) in UniStrnlen() argument 200 if (i >= maxlen) in UniStrnlen()
|
D | cifs_unicode.c | 348 cifs_strndup_from_utf16(const char *src, const int maxlen, in cifs_strndup_from_utf16() argument 355 len = cifs_utf16_bytes((__le16 *) src, maxlen, codepage); in cifs_strndup_from_utf16() 360 cifs_from_utf16(dst, (__le16 *) src, len, maxlen, codepage, in cifs_strndup_from_utf16() 363 dst = kstrndup(src, maxlen, GFP_KERNEL); in cifs_strndup_from_utf16() 617 cifs_strndup_to_utf16(const char *src, const int maxlen, int *utf16_len, in cifs_strndup_to_utf16() argument 623 len = cifs_local_to_utf16_bytes(src, maxlen, cp); in cifs_strndup_to_utf16()
|
/fs/xfs/libxfs/ |
D | xfs_alloc.c | 381 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len() 382 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len() 395 ASSERT(rlen >= args->minlen && rlen <= args->maxlen); in xfs_alloc_fix_len() 817 ASSERT(args->maxlen > 0); in xfs_alloc_ag_vextent() 818 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_ag_vextent() 845 ASSERT(args->len <= args->maxlen); in xfs_alloc_ag_vextent() 949 args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) in xfs_alloc_ag_vextent_exact() 1045 args->len = XFS_EXTLEN_MIN(*slena, args->maxlen); in xfs_alloc_find_best_extent() 1152 if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) in xfs_alloc_ag_vextent_near() 1215 !error && j && (blen < args->maxlen || bdiff > 0); in xfs_alloc_ag_vextent_near() [all …]
|
/fs/nfs/ |
D | sysctl.c | 21 .maxlen = sizeof(nfs_mountpoint_expiry_timeout), 28 .maxlen = sizeof(nfs_congestion_kb),
|
D | nfs4sysctl.c | 24 .maxlen = sizeof(int), 33 .maxlen = sizeof(int),
|
D | callback_xdr.c | 76 const char **str, size_t maxlen) in decode_string() argument 80 err = xdr_stream_decode_opaque_inline(xdr, (void **)str, maxlen); in decode_string() 869 long maxlen; in process_op() local 900 maxlen = xdr_out->end - xdr_out->p; in process_op() 901 if (maxlen > 0 && maxlen < PAGE_SIZE) { in process_op()
|
/fs/lockd/ |
D | svc.c | 549 .maxlen = sizeof(unsigned long), 558 .maxlen = sizeof(unsigned long), 567 .maxlen = sizeof(int), 576 .maxlen = sizeof(int), 585 .maxlen = sizeof(int), 592 .maxlen = sizeof(int),
|
/fs/fscache/ |
D | main.c | 71 .maxlen = sizeof(unsigned), 79 .maxlen = sizeof(unsigned),
|
/fs/ocfs2/ |
D | stackglue.c | 661 .maxlen = OCFS2_MAX_HB_CTL_PATH, 672 .maxlen = 0, 683 .maxlen = 0, 694 .maxlen = 0,
|
/fs/ntfs/ |
D | sysctl.c | 27 .maxlen = sizeof(debug_msgs),
|
/fs/devpts/ |
D | inode.c | 51 .maxlen = sizeof(int), 59 .maxlen = sizeof(int), 67 .maxlen = sizeof(int),
|
/fs/affs/ |
D | namei.c | 320 int i, maxlen, error; in affs_symlink() local 326 maxlen = AFFS_SB(sb)->s_hashsize * sizeof(u32) - 1; in affs_symlink() 353 while (i < maxlen && (c = *symname++)) { in affs_symlink()
|
/fs/befs/ |
D | linuxvfs.c | 517 int maxlen = in_len + 1; in befs_utf2nls() local 526 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_utf2nls() 595 int maxlen = (3 * in_len) + 1; in befs_nls2utf() local 605 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_nls2utf()
|
/fs/nfsd/ |
D | blocklayout.c | 227 size_t bufflen = 252, maxlen = 65532, len, id_len; in nfsd4_scsi_identify_device() local 267 if (len <= maxlen && retries--) { in nfsd4_scsi_identify_device()
|
/fs/sysv/ |
D | dir.c | 111 static inline int namecompare(int len, int maxlen, in namecompare() argument 114 if (len < maxlen && buffer[len]) in namecompare()
|
/fs/notify/inotify/ |
D | inotify_user.c | 53 .maxlen = sizeof(int), 61 .maxlen = sizeof(int), 69 .maxlen = sizeof(int),
|
/fs/verity/ |
D | signature.c | 127 .maxlen = sizeof(int),
|
/fs/quota/ |
D | dquot.c | 2968 .maxlen = sizeof(unsigned long), 2975 .maxlen = sizeof(unsigned long), 2982 .maxlen = sizeof(unsigned long), 2989 .maxlen = sizeof(unsigned long), 2996 .maxlen = sizeof(unsigned long), 3003 .maxlen = sizeof(unsigned long), 3010 .maxlen = sizeof(unsigned long), 3017 .maxlen = sizeof(unsigned long), 3025 .maxlen = sizeof(int),
|