/fs/ubifs/ |
D | recovery.c | 102 void *sbuf, *buf; in get_master_node() local 104 sbuf = vmalloc(c->leb_size); in get_master_node() 105 if (!sbuf) in get_master_node() 108 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); in get_master_node() 114 buf = sbuf; in get_master_node() 173 *pbuf = sbuf; in get_master_node() 179 vfree(sbuf); in get_master_node() 623 int offs, void *sbuf, int jhead) in ubifs_recover_leb() argument 628 void *buf = sbuf + offs; in ubifs_recover_leb() 632 sleb = ubifs_start_scan(c, lnum, offs, sbuf); in ubifs_recover_leb() [all …]
|
D | scan.c | 126 int offs, void *sbuf) in ubifs_start_scan() argument 139 sleb->buf = sbuf; in ubifs_start_scan() 141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan() 255 int offs, void *sbuf, int quiet) in ubifs_scan() argument 257 void *buf = sbuf + offs; in ubifs_scan() 261 sleb = ubifs_start_scan(c, lnum, offs, sbuf); in ubifs_scan()
|
D | replay.c | 684 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); in replay_bud() 686 sleb = ubifs_scan(c, lnum, offs, c->sbuf, 0); in replay_bud() 982 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) in replay_log_leb() argument 990 sleb = ubifs_scan(c, lnum, offs, sbuf, c->need_recovery); in replay_log_leb() 999 sleb = ubifs_recover_log_leb(c, lnum, offs, sbuf); in replay_log_leb() 1199 err = replay_log_leb(c, lnum, 0, c->sbuf); in ubifs_replay_journal()
|
D | ubifs.h | 1408 void *sbuf; member 1746 int offs, void *sbuf, int quiet); 1751 int offs, void *sbuf); 2048 int offs, void *sbuf, int jhead); 2050 int offs, void *sbuf); 2051 int ubifs_recover_inl_heads(struct ubifs_info *c, void *sbuf); 2052 int ubifs_clean_lebs(struct ubifs_info *c, void *sbuf);
|
D | super.c | 1308 c->sbuf = vmalloc(c->leb_size); in mount_ubifs() 1309 if (!c->sbuf) in mount_ubifs() 1402 err = ubifs_recover_inl_heads(c, c->sbuf); in mount_ubifs() 1650 vfree(c->sbuf); in mount_ubifs() 1692 vfree(c->sbuf); in ubifs_umount() 1743 err = ubifs_clean_lebs(c, c->sbuf); in ubifs_remount_rw() 1746 err = ubifs_recover_inl_heads(c, c->sbuf); in ubifs_remount_rw()
|
D | master.c | 98 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 114 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
|
D | orphan.c | 779 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in kill_orphans() 783 c->sbuf, -1); in kill_orphans()
|
D | auth.c | 200 sleb = ubifs_scan(c, UBIFS_SB_LNUM, UBIFS_SB_NODE_SZ, c->sbuf, 0); in ubifs_sb_verify_signature()
|
D | sb.c | 806 err = ubifs_leb_read(c, lnum, c->sbuf, 0, len, 1); in fixup_leb() 810 return ubifs_leb_change(c, lnum, c->sbuf, len); in fixup_leb()
|
D | log.c | 658 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 0); in ubifs_consolidate_log()
|
D | gc.c | 537 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 0); in ubifs_garbage_collect_leb()
|
/fs/ |
D | statfs.c | 236 static int vfs_ustat(dev_t dev, struct kstatfs *sbuf) in vfs_ustat() argument 243 err = statfs_by_dentry(s->s_root, sbuf); in vfs_ustat() 251 struct kstatfs sbuf; in SYSCALL_DEFINE2() local 252 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in SYSCALL_DEFINE2() 257 tmp.f_tfree = sbuf.f_bfree; in SYSCALL_DEFINE2() 258 tmp.f_tinode = sbuf.f_ffree; in SYSCALL_DEFINE2() 391 struct kstatfs sbuf; in COMPAT_SYSCALL_DEFINE2() local 392 int err = vfs_ustat(new_decode_dev(dev), &sbuf); in COMPAT_SYSCALL_DEFINE2() 397 tmp.f_tfree = sbuf.f_bfree; in COMPAT_SYSCALL_DEFINE2() 398 tmp.f_tinode = sbuf.f_ffree; in COMPAT_SYSCALL_DEFINE2()
|
/fs/xfs/ |
D | xfs_attr_list.c | 57 struct xfs_attr_sf_sort *sbuf, *sbp; in xfs_attr_shortform_list() local 112 sbsize = sf->hdr.count * sizeof(*sbuf); in xfs_attr_shortform_list() 113 sbp = sbuf = kmem_alloc(sbsize, KM_NOFS); in xfs_attr_shortform_list() 128 kmem_free(sbuf); in xfs_attr_shortform_list() 147 xfs_sort(sbuf, nsbuf, sizeof(*sbuf), xfs_attr_shortform_compare); in xfs_attr_shortform_list() 155 for (sbp = sbuf, i = 0; i < nsbuf; i++, sbp++) { in xfs_attr_shortform_list() 192 kmem_free(sbuf); in xfs_attr_shortform_list()
|