/fs/ |
H A D | statfs.c | 216 int vfs_ustat(dev_t dev, struct kstatfs *sbuf) argument 223 err = statfs_by_dentry(s->s_root, sbuf); 231 struct kstatfs sbuf; local 232 int err = vfs_ustat(new_decode_dev(dev), &sbuf); 237 tmp.f_tfree = sbuf.f_bfree; 238 tmp.f_tinode = sbuf.f_ffree;
|
H A D | compat.c | 337 struct kstatfs sbuf; local 338 int err = vfs_ustat(new_decode_dev(dev), &sbuf); 343 tmp.f_tfree = sbuf.f_bfree; 344 tmp.f_tinode = sbuf.f_ffree;
|
/fs/ubifs/ |
H A D | scan.c | 132 * @sbuf: scan buffer (must be c->leb_size) 138 int offs, void *sbuf) 151 sleb->buf = sbuf; 153 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); 256 * @sbuf: scan buffer (must be of @c->leb_size bytes in size) 268 int offs, void *sbuf, int quiet) 270 void *buf = sbuf + offs; 274 sleb = ubifs_start_scan(c, lnum, offs, sbuf); 137 ubifs_start_scan(const struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 267 ubifs_scan(const struct ubifs_info *c, int lnum, int offs, void *sbuf, int quiet) argument
|
H A D | replay.c | 558 sleb = ubifs_recover_leb(c, lnum, offs, c->sbuf, b->bud->jhead); 560 sleb = ubifs_scan(c, lnum, offs, c->sbuf, 0); 820 * @sbuf: scan buffer 826 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 834 sleb = ubifs_scan(c, lnum, offs, sbuf, c->need_recovery); 843 sleb = ubifs_recover_log_leb(c, lnum, offs, sbuf); 1030 err = replay_log_leb(c, lnum, 0, c->sbuf);
|
H A D | recovery.c | 114 void *sbuf, *buf; local 116 sbuf = vmalloc(c->leb_size); 117 if (!sbuf) 120 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); 126 buf = sbuf; 185 *pbuf = sbuf; 191 vfree(sbuf); 625 * @sbuf: LEB-sized buffer to use 635 int offs, void *sbuf, int jhead) 640 void *buf = sbuf 634 ubifs_recover_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf, int jhead) argument 868 ubifs_recover_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 924 recover_head(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument 966 ubifs_recover_inl_heads(struct ubifs_info *c, void *sbuf) argument 997 clean_an_unclean_leb(struct ubifs_info *c, struct ubifs_unclean_leb *ucleb, void *sbuf) argument 1093 ubifs_clean_lebs(struct ubifs_info *c, void *sbuf) argument [all...] |
H A D | ubifs.h | 1149 * @sbuf: a buffer of LEB size used by GC and replay for scanning 1381 void *sbuf; member in struct:ubifs_info 1509 int offs, void *sbuf, int quiet); 1514 int offs, void *sbuf); 1765 int offs, void *sbuf, int jhead); 1767 int offs, void *sbuf); 1768 int ubifs_recover_inl_heads(struct ubifs_info *c, void *sbuf); 1769 int ubifs_clean_lebs(struct ubifs_info *c, void *sbuf);
|
/fs/xfs/ |
H A D | xfs_attr_list.c | 75 xfs_attr_sf_sort_t *sbuf, *sbp; local 137 sbsize = sf->hdr.count * sizeof(*sbuf); 138 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); 152 kmem_free(sbuf); 171 xfs_sort(sbuf, nsbuf, sizeof(*sbuf), xfs_attr_shortform_compare); 179 for (sbp = sbuf, i = 0; i < nsbuf; i++, sbp++) { 190 kmem_free(sbuf); 215 kmem_free(sbuf);
|