Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 15 of 15) sorted by relevance

/fs/squashfs/
Dxattr.c36 size_t rest = buffer_size; in squashfs_listxattr() local
62 if (prefix_size + name_size + 1 > rest) { in squashfs_listxattr()
77 rest -= prefix_size + name_size + 1; in squashfs_listxattr()
98 err = buffer_size - rest; in squashfs_listxattr()
/fs/nfsd/
Dnfs3acl.c244 #define PROC(name, argt, rest, relt, cache, respsize) \ argument
248 .pc_encode = nfs3svc_encode_##rest##res, \
251 .pc_ressize = sizeof(struct nfsd3_##rest##res), \
Dnfs2acl.c357 #define PROC(name, argt, rest, relt, cache, respsize) \ argument
361 .pc_encode = nfsaclsvc_encode_##rest##res, \
364 .pc_ressize = sizeof(struct nfsd3_##rest##res), \
/fs/ufs/
Dballoc.c765 unsigned rest, offset; in ubh_scanc() local
773 rest = size; in ubh_scanc()
775 rest = uspi->s_fsize - offset; in ubh_scanc()
776 size -= rest; in ubh_scanc()
778 while ((table[*cp++] & mask) == 0 && --rest) in ubh_scanc()
780 if (rest || !size) in ubh_scanc()
785 return (size + rest); in ubh_scanc()
/fs/ext2/
Dxattr.c294 size_t rest = buffer_size; in ext2_xattr_list() local
345 if (size > rest) { in ext2_xattr_list()
355 rest -= size; in ext2_xattr_list()
358 error = buffer_size - rest; /* total size */ in ext2_xattr_list()
564 size_t rest = (char *)last - (char *)here; in ext2_xattr_set() local
565 memmove((char *)here + size, here, rest); in ext2_xattr_set()
/fs/hugetlbfs/
Dinode.c1209 char *rest; in hugetlbfs_parse_param() local
1238 ctx->max_size_opt = memparse(param->string, &rest); in hugetlbfs_parse_param()
1240 if (*rest == '%') in hugetlbfs_parse_param()
1248 ctx->nr_inodes = memparse(param->string, &rest); in hugetlbfs_parse_param()
1252 ps = memparse(param->string, &rest); in hugetlbfs_parse_param()
1265 ctx->min_size_opt = memparse(param->string, &rest); in hugetlbfs_parse_param()
1267 if (*rest == '%') in hugetlbfs_parse_param()
/fs/reiserfs/
Dbitmap.c1157 int rest = amount_needed; in allocate_without_wrapping_disk() local
1160 while (rest > 0 && start <= finish) { in allocate_without_wrapping_disk()
1162 rest + prealloc_size, in allocate_without_wrapping_disk()
1169 while (rest > 0 && nr_allocated > 0) { in allocate_without_wrapping_disk()
1171 rest--; in allocate_without_wrapping_disk()
1191 return (amount_needed - rest); in allocate_without_wrapping_disk()
/fs/f2fs/
Dxattr.c566 size_t rest = buffer_size; in f2fs_listxattr() local
599 if (size > rest) { in f2fs_listxattr()
609 rest -= size; in f2fs_listxattr()
611 error = buffer_size - rest; in f2fs_listxattr()
/fs/fat/
Dfatent.c674 unsigned long rest = sbi->fat_length - cur_block; in fat_count_free_clusters() local
675 fat_ent_reada(sb, &fatent, min(reada_blocks, rest)); in fat_count_free_clusters()
740 unsigned long rest = sbi->fat_length - cur_block; in fat_trim_fs() local
741 fat_ent_reada(sb, &fatent, min(reada_blocks, rest)); in fat_trim_fs()
/fs/lockd/
Dsvc4proc.c510 #define PROC(name, xargt, xrest, argt, rest, respsize) \ argument
516 .pc_ressize = sizeof(struct nlm_##rest), \
Dsvcproc.c552 #define PROC(name, xargt, xrest, argt, rest, respsize) \ argument
558 .pc_ressize = sizeof(struct nlm_##rest), \
/fs/nilfs2/
Dsegment.c1086 size_t n, rest = nilfs_segctor_buffer_rest(sci); in nilfs_segctor_scan_file() local
1089 inode, &data_buffers, rest + 1, 0, LLONG_MAX); in nilfs_segctor_scan_file()
1090 if (n > rest) { in nilfs_segctor_scan_file()
1134 size_t n, rest = nilfs_segctor_buffer_rest(sci); in nilfs_segctor_scan_file_dsync() local
1137 n = nilfs_lookup_dirty_data_buffers(inode, &data_buffers, rest + 1, in nilfs_segctor_scan_file_dsync()
1145 BUG_ON(n > rest); in nilfs_segctor_scan_file_dsync()
/fs/ext4/
Dxattr.c672 size_t rest = buffer_size; in ext4_xattr_list_entries() local
684 if (size > rest) in ext4_xattr_list_entries()
692 rest -= size; in ext4_xattr_list_entries()
695 return buffer_size - rest; /* total size */ in ext4_xattr_list_entries()
1762 size_t rest = (void *)last - (void *)here + sizeof(__u32); in ext4_xattr_set_entry() local
1764 memmove((void *)here + size, here, rest); in ext4_xattr_set_entry()
Dresize.c1139 int rest = sb->s_blocksize - size; in update_backups() local
1190 if (rest) in update_backups()
1191 memset(bh->b_data + size, 0, rest); in update_backups()
/fs/affs/
DChanges25 a multiple of the blocksize, the rest of the