/fs/ubifs/ |
D | recovery.c | 75 const int sz = c->mst_node_alsz; in get_master_node() local 96 offs += sz; in get_master_node() 97 buf += sz; in get_master_node() 98 len -= sz; in get_master_node() 104 offs -= sz; in get_master_node() 105 buf -= sz; in get_master_node() 106 len += sz; in get_master_node() 110 offs -= sz; in get_master_node() 111 buf -= sz; in get_master_node() 112 len += sz; in get_master_node() [all …]
|
D | lpt.c | 60 long long sz, tot_wastage; in do_calc_lpt_geom() local 117 sz = c->lpt_sz; in do_calc_lpt_geom() 119 sz += per_leb_wastage; in do_calc_lpt_geom() 121 while (sz > c->leb_size) { in do_calc_lpt_geom() 122 sz += per_leb_wastage; in do_calc_lpt_geom() 123 sz -= c->leb_size; in do_calc_lpt_geom() 126 tot_wastage += ALIGN(sz, c->min_io_size) - sz; in do_calc_lpt_geom() 139 long long sz; in ubifs_calc_lpt_geom() local 144 sz = c->lpt_sz * 2; /* Must have at least 2 times the size */ in ubifs_calc_lpt_geom() 145 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in ubifs_calc_lpt_geom() [all …]
|
D | log.c | 659 int sz = ALIGN(*offs, c->min_io_size), err; in add_node() local 661 ubifs_pad(c, buf + *offs, sz - *offs); in add_node() 662 err = ubifs_leb_change(c, *lnum, buf, sz, UBI_SHORTTERM); in add_node() 738 int sz = ALIGN(offs, c->min_io_size); in ubifs_consolidate_log() local 740 ubifs_pad(c, buf + offs, sz - offs); in ubifs_consolidate_log() 741 err = ubifs_leb_change(c, write_lnum, buf, sz, UBI_SHORTTERM); in ubifs_consolidate_log()
|
D | commit.c | 518 size_t sz; in dbg_check_old_index() local 525 sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) - in dbg_check_old_index() 542 i = kmalloc(sz, GFP_NOFS); in dbg_check_old_index()
|
D | journal.c | 1127 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); in ubifs_jnl_truncate() local 1138 sz = UBIFS_TRUN_NODE_SZ + UBIFS_INO_NODE_SZ + in ubifs_jnl_truncate() 1140 ino = kmalloc(sz, GFP_NOFS); in ubifs_jnl_truncate() 1203 sz = offs + UBIFS_INO_NODE_SZ + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate() 1204 err = ubifs_tnc_add(c, &key, lnum, sz, dlen); in ubifs_jnl_truncate()
|
D | super.c | 1111 size_t sz; in mount_ubifs() local 1189 sz = ALIGN(c->max_idx_node_sz, c->min_io_size); in mount_ubifs() 1190 sz = ALIGN(sz + c->max_idx_node_sz, c->min_io_size); in mount_ubifs() 1191 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs()
|
/fs/ |
D | binfmt_elf_fdpic.c | 1280 int sz; in notesize() local 1282 sz = sizeof(struct elf_note); in notesize() 1283 sz += roundup(strlen(en->name) + 1, 4); in notesize() 1284 sz += roundup(en->datasz, 4); in notesize() 1286 return sz; in notesize() 1348 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument 1354 phdr->p_filesz = sz; in fill_elf_note_phdr() 1362 unsigned int sz, void *data) in fill_note() argument 1366 note->datasz = sz; in fill_note() 1469 int sz = 0; in elf_dump_thread_status() local [all …]
|
D | binfmt_elf.c | 1259 int sz; in notesize() local 1261 sz = sizeof(struct elf_note); in notesize() 1262 sz += roundup(strlen(en->name) + 1, 4); in notesize() 1263 sz += roundup(en->datasz, 4); in notesize() 1265 return sz; in notesize() 1328 static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument 1334 phdr->p_filesz = sz; in fill_elf_note_phdr() 1342 unsigned int sz, void *data) in fill_note() argument 1346 note->datasz = sz; in fill_note() 1687 int sz = 0; in elf_dump_thread_status() local [all …]
|
D | dcache.c | 2027 int sz; in dynamic_dname() local 2030 sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1; in dynamic_dname() 2033 if (sz > sizeof(temp) || sz > buflen) in dynamic_dname() 2036 buffer += buflen - sz; in dynamic_dname() 2037 return memcpy(buffer, temp, sz); in dynamic_dname()
|
D | open.c | 141 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 146 if (sz != sizeof(*buf)) in SYSCALL_DEFINE3() 177 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 183 if (sz != sizeof(*buf)) in SYSCALL_DEFINE3()
|
D | bio.c | 74 unsigned int sz = sizeof(struct bio) + extra_size; in bio_find_or_create_slab() local 87 else if (bslab->slab_size == sz) { in bio_find_or_create_slab() 112 slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL); in bio_find_or_create_slab() 119 bslab->slab_size = sz; in bio_find_or_create_slab()
|
D | block_dev.c | 52 loff_t sz = i_size_read(bdev->bd_inode); in max_block() local 54 if (sz) { in max_block() 57 retval = (sz >> sizebits); in max_block()
|
/fs/proc/ |
D | vmcore.c | 228 u64 offset, max_sz, sz, real_sz = 0; in merge_note_headers_elf64() local 243 for (j = 0; j < max_sz; j += sz) { in merge_note_headers_elf64() 246 sz = sizeof(Elf64_Nhdr) + in merge_note_headers_elf64() 249 real_sz += sz; in merge_note_headers_elf64() 250 nhdr_ptr = (Elf64_Nhdr*)((char*)nhdr_ptr + sz); in merge_note_headers_elf64() 309 u64 offset, max_sz, sz, real_sz = 0; in merge_note_headers_elf32() local 324 for (j = 0; j < max_sz; j += sz) { in merge_note_headers_elf32() 327 sz = sizeof(Elf32_Nhdr) + in merge_note_headers_elf32() 330 real_sz += sz; in merge_note_headers_elf32() 331 nhdr_ptr = (Elf32_Nhdr*)((char*)nhdr_ptr + sz); in merge_note_headers_elf32()
|
D | kcore.c | 107 int sz; in notesize() local 109 sz = sizeof(struct elf_note); in notesize() 110 sz += roundup((strlen(en->name) + 1), 4); in notesize() 111 sz += roundup(en->datasz, 4); in notesize() 113 return sz; in notesize()
|
/fs/romfs/ |
D | inode.c | 122 int sz, ret = -EINVAL; in romfs_fill_super() local 137 sz = be32_to_cpu(rsb->size); in romfs_fill_super() 139 || sz < ROMFH_SIZE) { in romfs_fill_super() 145 if (romfs_checksum(rsb, min_t(int, sz, 512))) { in romfs_fill_super() 152 s->s_fs_info = (void *)(long)sz; in romfs_fill_super() 157 sz = (ROMFH_SIZE + in romfs_fill_super() 162 root = romfs_iget(s, sz); in romfs_fill_super()
|
/fs/fat/ |
D | namei_vfat.c | 316 int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen; in vfat_create_shortname() local 329 sz = ulen; in vfat_create_shortname() 337 sz = ulen; in vfat_create_shortname() 352 sz = ext_start - uname; in vfat_create_shortname() 355 sz = ulen; in vfat_create_shortname() 362 for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) { in vfat_create_shortname() 379 if ((chi < chl - 1) || (ip + 1) - uname < sz) in vfat_create_shortname() 472 sz = (jiffies >> 16) & 0x7; in vfat_create_shortname() 478 name_res[baselen + 5] = '1' + sz; in vfat_create_shortname()
|
/fs/xfs/ |
D | xfs_acl.h | 84 #define xfs_acl_vset(v,p,sz,t) (-EOPNOTSUPP) argument 85 #define xfs_acl_vget(v,p,sz,t) (-EOPNOTSUPP) argument
|
D | xfs_bmap_btree.h | 194 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ argument 195 XFS_BMBT_PTR_ADDR(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, 0))
|
/fs/jffs2/ |
D | debug.c | 262 #define check(sz) \ in __jffs2_dbg_superblock_counts() argument 263 if (sz != c->sz##_size) { \ in __jffs2_dbg_superblock_counts() 264 printk(KERN_WARNING #sz "_size mismatch counted 0x%x, c->" #sz "_size 0x%x\n", \ in __jffs2_dbg_superblock_counts() 265 sz, c->sz##_size); \ in __jffs2_dbg_superblock_counts()
|
/fs/adfs/ |
D | dir_fplus.c | 23 adfs_fplus_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir) in adfs_fplus_read() argument 46 if (size != sz) { in adfs_fplus_read()
|
D | dir_f.c | 344 adfs_f_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir) in adfs_f_read() argument 348 if (sz != ADFS_NEWDIR_SIZE) in adfs_f_read() 351 ret = adfs_dir_read(sb, id, sz, dir); in adfs_f_read()
|
D | adfs.h | 50 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
|
/fs/ecryptfs/ |
D | miscdev.c | 414 ssize_t sz = 0; in ecryptfs_miscdev_write() local 433 sz = count; in ecryptfs_miscdev_write() 485 return sz; in ecryptfs_miscdev_write()
|
/fs/affs/ |
D | affs.h | 17 #define GET_END_PTR(st,p,sz) ((st *)((char *)(p)+((sz)-sizeof(st)))) argument
|
/fs/ocfs2/dlm/ |
D | dlmdomain.c | 69 unsigned int sz) in byte_copymap() argument 73 if (!sz) in byte_copymap() 76 memset(dmap, 0, ((sz + 7) >> 3)); in byte_copymap() 77 for (nn = 0 ; nn < sz; nn++) in byte_copymap()
|