/fs/ubifs/ |
D | recovery.c | 114 void *sbuf, *buf; in get_master_node() local 116 sbuf = vmalloc(c->leb_size); in get_master_node() 117 if (!sbuf) in get_master_node() 120 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); in get_master_node() 126 buf = sbuf; in get_master_node() 185 *pbuf = sbuf; in get_master_node() 191 vfree(sbuf); in get_master_node() 635 int offs, void *sbuf, int jhead) in ubifs_recover_leb() argument 640 void *buf = sbuf + offs; in ubifs_recover_leb() 644 sleb = ubifs_start_scan(c, lnum, offs, sbuf); in ubifs_recover_leb() [all …]
|
D | scan.c | 138 int offs, void *sbuf) in ubifs_start_scan() argument 151 sleb->buf = sbuf; in ubifs_start_scan() 153 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan() 268 int offs, void *sbuf, int quiet) in ubifs_scan() argument 270 void *buf = sbuf + offs; in ubifs_scan() 274 sleb = ubifs_start_scan(c, lnum, offs, sbuf); in ubifs_scan()
|
D | replay.c | 558 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); in replay_bud() 560 sleb = ubifs_scan(c, lnum, offs, c->sbuf, 0); in replay_bud() 826 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) in replay_log_leb() argument 834 sleb = ubifs_scan(c, lnum, offs, sbuf, c->need_recovery); in replay_log_leb() 843 sleb = ubifs_recover_log_leb(c, lnum, offs, sbuf); in replay_log_leb() 1030 err = replay_log_leb(c, lnum, 0, c->sbuf); in ubifs_replay_journal()
|
D | ubifs.h | 1364 void *sbuf; member 1492 int offs, void *sbuf, int quiet); 1497 int offs, void *sbuf); 1754 int offs, void *sbuf, int jhead); 1756 int offs, void *sbuf); 1757 int ubifs_recover_inl_heads(struct ubifs_info *c, void *sbuf); 1758 int ubifs_clean_lebs(struct ubifs_info *c, void *sbuf);
|
D | super.c | 1196 c->sbuf = vmalloc(c->leb_size); in mount_ubifs() 1197 if (!c->sbuf) in mount_ubifs() 1277 err = ubifs_recover_inl_heads(c, c->sbuf); in mount_ubifs() 1494 vfree(c->sbuf); in mount_ubifs() 1533 vfree(c->sbuf); in ubifs_umount() 1596 err = ubifs_clean_lebs(c, c->sbuf); in ubifs_remount_rw() 1599 err = ubifs_recover_inl_heads(c, c->sbuf); in ubifs_remount_rw()
|
D | master.c | 44 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 60 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
|
D | sb.c | 683 err = ubifs_leb_read(c, lnum, c->sbuf, 0, len, 1); in fixup_leb() 687 return ubifs_leb_change(c, lnum, c->sbuf, len); in fixup_leb()
|
D | orphan.c | 674 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in kill_orphans() 678 c->sbuf, -1); in kill_orphans()
|
D | log.c | 649 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 0); in ubifs_consolidate_log()
|
D | gc.c | 512 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 0); in ubifs_garbage_collect_leb()
|
/fs/xfs/ |
D | xfs_attr_list.c | 72 xfs_attr_sf_sort_t *sbuf, *sbp; in xfs_attr_shortform_list() local 131 sbsize = sf->hdr.count * sizeof(*sbuf); in xfs_attr_shortform_list() 132 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list() 146 kmem_free(sbuf); in xfs_attr_shortform_list() 165 xfs_sort(sbuf, nsbuf, sizeof(*sbuf), xfs_attr_shortform_compare); in xfs_attr_shortform_list() 173 for (sbp = sbuf, i = 0; i < nsbuf; i++, sbp++) { in xfs_attr_shortform_list() 184 kmem_free(sbuf); in xfs_attr_shortform_list() 202 kmem_free(sbuf); in xfs_attr_shortform_list() 210 kmem_free(sbuf); in xfs_attr_shortform_list()
|
/fs/ |
D | statfs.c | 216 int vfs_ustat(dev_t dev, struct kstatfs *sbuf) in vfs_ustat() argument 223 err = statfs_by_dentry(s->s_root, sbuf); in vfs_ustat() 231 struct kstatfs sbuf; in SYSCALL_DEFINE2() local 232 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in SYSCALL_DEFINE2() 237 tmp.f_tfree = sbuf.f_bfree; in SYSCALL_DEFINE2() 238 tmp.f_tinode = sbuf.f_ffree; in SYSCALL_DEFINE2()
|
D | compat.c | 323 struct kstatfs sbuf; in COMPAT_SYSCALL_DEFINE2() local 324 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in COMPAT_SYSCALL_DEFINE2() 329 tmp.f_tfree = sbuf.f_bfree; in COMPAT_SYSCALL_DEFINE2() 330 tmp.f_tinode = sbuf.f_ffree; in COMPAT_SYSCALL_DEFINE2()
|