Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 25 of 32) sorted by relevance

12

/fs/xfs/linux-2.6/
Dxfs_sysctl.c62 .maxlen = sizeof(int),
73 .maxlen = sizeof(int),
84 .maxlen = sizeof(int),
96 .maxlen = sizeof(int),
107 .maxlen = sizeof(int),
118 .maxlen = sizeof(int),
129 .maxlen = sizeof(int),
140 .maxlen = sizeof(int),
151 .maxlen = sizeof(int),
162 .maxlen = sizeof(int),
[all …]
/fs/xfs/
Dxfs_rtalloc.c209 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() argument
237 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block()
245 error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, in xfs_rtallocate_extent_block()
250 *len = maxlen; in xfs_rtallocate_extent_block()
260 if (minlen < maxlen) { in xfs_rtallocate_extent_block()
283 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block()
322 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact() argument
334 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
338 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact()
346 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact()
[all …]
Dxfs_alloc.c283 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len()
284 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
299 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len()
520 (void *)(__psunsigned_t)args->maxlen, in xfs_alloc_trace_alloc()
638 ASSERT(args->maxlen > 0); in xfs_alloc_ag_vextent()
639 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_ag_vextent()
673 ASSERT(args->len >= args->minlen && args->len <= args->maxlen); in xfs_alloc_ag_vextent()
753 maxend = args->agbno + args->maxlen; in xfs_alloc_ag_vextent_exact()
854 if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) in xfs_alloc_ag_vextent_near()
915 !error && j && (blen < args->maxlen || bdiff > 0); in xfs_alloc_ag_vextent_near()
[all …]
Dxfs_alloc.h80 xfs_extlen_t maxlen; /* maximum size of extent */ member
Dxfs_rtalloc.h88 xfs_extlen_t maxlen, /* maximum length to allocate */
/fs/nls/
Dnls_base.c106 utf8_wctomb(__u8 *s, wchar_t wc, int maxlen) in utf8_wctomb() argument
117 for (t = utf8_table; t->cmask && maxlen; t++, maxlen--) { in utf8_wctomb()
134 utf8_wcstombs(__u8 *s, const wchar_t *pwcs, int maxlen) in utf8_wcstombs() argument
142 while (*ip && maxlen > 0) { in utf8_wcstombs()
144 size = utf8_wctomb(op, *ip, maxlen); in utf8_wcstombs()
147 maxlen--; in utf8_wcstombs()
150 maxlen -= size; in utf8_wcstombs()
/fs/isofs/
Djoliet.c42 wcsntombs_be(__u8 *s, const __u8 *pwcs, int inlen, int maxlen) in wcsntombs_be() argument
51 while ((*ip || ip[1]) && (maxlen > 0) && (inlen > 0)) { in wcsntombs_be()
54 size = utf8_wctomb(op, c, maxlen); in wcsntombs_be()
57 maxlen--; in wcsntombs_be()
60 maxlen -= size; in wcsntombs_be()
/fs/nfs/
Dsysctl.c28 .maxlen = sizeof(int),
38 .maxlen = sizeof(int),
48 .maxlen = sizeof(nfs_mountpoint_expiry_timeout),
57 .maxlen = sizeof(nfs_congestion_kb),
Dcallback_xdr.c363 long maxlen; in process_op() local
381 maxlen = xdr_out->end - xdr_out->p; in process_op()
382 if (maxlen > 0 && maxlen < PAGE_SIZE) { in process_op()
/fs/coda/
Dsysctl.c23 .maxlen = sizeof(int),
31 .maxlen = sizeof(int),
39 .maxlen = sizeof(int),
/fs/lockd/
Dsvc.c368 .maxlen = sizeof(unsigned long),
378 .maxlen = sizeof(unsigned long),
388 .maxlen = sizeof(int),
398 .maxlen = sizeof(int),
408 .maxlen = sizeof(int),
416 .maxlen = sizeof(int),
/fs/cifs/
Dmisc.c654 cifs_convertUCSpath(char *target, const __le16 *source, int maxlen, in cifs_convertUCSpath() argument
660 for (i = 0, j = 0; i < maxlen; i++) { in cifs_convertUCSpath()
714 cifsConvertToUCS(__le16 *target, const char *source, int maxlen, in cifsConvertToUCS() argument
718 int len_remaining = maxlen; in cifsConvertToUCS()
725 for (i = 0, j = 0; i < maxlen; j++) { in cifsConvertToUCS()
Dcifs_unicode.h149 UniStrnlen(const wchar_t *ucs1, int maxlen) in UniStrnlen() argument
155 if (i >= maxlen) in UniStrnlen()
Dcifsproto.h301 extern int cifs_convertUCSpath(char *target, const __le16 *source, int maxlen,
303 extern int cifsConvertToUCS(__le16 *target, const char *source, int maxlen,
/fs/ocfs2/
Dstackglue.c625 .maxlen = OCFS2_MAX_HB_CTL_PATH,
638 .maxlen = 0,
650 .maxlen = 0,
662 .maxlen = 0,
/fs/gfs2/
Dbmap.c429 const unsigned int maxlen) in gfs2_bmap_alloc() argument
454 dblks = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, in gfs2_bmap_alloc()
461 dblks = min(maxlen, ptrs_per_blk - mp->mp_list[end_of_metadata]); in gfs2_bmap_alloc()
571 const unsigned int maxlen = bh_map->b_size >> inode->i_blkbits; in gfs2_block_map() local
582 BUG_ON(maxlen == 0); in gfs2_block_map()
616 len = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, &eob); in gfs2_block_map()
635 ret = gfs2_bmap_alloc(inode, lblock, bh_map, &mp, ret, height, maxlen); in gfs2_block_map()
/fs/smbfs/
Dproc.c303 int maxlen, in smb_build_path() argument
310 if (maxlen < (2<<unicode)) in smb_build_path()
313 if (maxlen > SMB_MAXPATHLEN + 1) in smb_build_path()
314 maxlen = SMB_MAXPATHLEN + 1; in smb_build_path()
339 if (maxlen < (3<<unicode)) { in smb_build_path()
345 len = server->ops->convert(path, maxlen-2, in smb_build_path()
358 maxlen--; in smb_build_path()
361 maxlen -= len+1; in smb_build_path()
377 if (maxlen < (3<<unicode)) in smb_build_path()
382 maxlen--; in smb_build_path()
[all …]
/fs/ntfs/
Dsysctl.c42 .maxlen = sizeof(debug_msgs),
/fs/affs/
Dnamei.c320 int i, maxlen, error; in affs_symlink() local
326 maxlen = AFFS_SB(sb)->s_hashsize * sizeof(u32) - 1; in affs_symlink()
349 while (i < maxlen && (c = *symname++)) { in affs_symlink()
/fs/befs/
Dlinuxvfs.c523 int maxlen = in_len + 1; in befs_utf2nls() local
532 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_utf2nls()
602 int maxlen = (3 * in_len) + 1; in befs_nls2utf() local
611 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_nls2utf()
/fs/notify/inotify/
Dinotify_user.c122 .maxlen = sizeof(int),
132 .maxlen = sizeof(int),
142 .maxlen = sizeof(int),
/fs/
Ddquot.c2238 .maxlen = sizeof(int),
2246 .maxlen = sizeof(int),
2254 .maxlen = sizeof(int),
2262 .maxlen = sizeof(int),
2270 .maxlen = sizeof(int),
2278 .maxlen = sizeof(int),
2286 .maxlen = sizeof(int),
2294 .maxlen = sizeof(int),
2303 .maxlen = sizeof(int),
/fs/adfs/
Ddir_f.c52 static inline int adfs_readname(char *buf, char *ptr, int maxlen) in adfs_readname() argument
56 while ((unsigned char)*ptr >= ' ' && maxlen--) { in adfs_readname()
/fs/sysv/
Ddir.c123 static inline int namecompare(int len, int maxlen, in namecompare() argument
126 if (len < maxlen && buffer[len]) in namecompare()
/fs/minix/
Ddir.c153 static inline int namecompare(int len, int maxlen, in namecompare() argument
156 if (len < maxlen && buffer[len]) in namecompare()

12