Home
last modified time | relevance | path

Searched refs:vi (Results 1 – 10 of 10) sorted by relevance

/fs/erofs/
A Dnamei.c31 vi->datalayout, vi->nid | 0ULL); in erofs_read_inode_from_disk()
48 switch (vi->i_mode & S_IFMT) { in erofs_read_inode_from_disk()
56 vi->u.i_rdev = in erofs_read_inode_from_disk()
61 vi->u.i_rdev = 0; in erofs_read_inode_from_disk()
91 vi->u.i_rdev = in erofs_read_inode_from_disk()
96 vi->u.i_rdev = 0; in erofs_read_inode_from_disk()
119 vi->flags = 0; in erofs_read_inode_from_disk()
123 vi->u.chunkformat, vi->nid | 0ULL); in erofs_read_inode_from_disk()
135 erofs_err("bogus i_mode (%o) @ nid %llu", vi->i_mode, vi->nid | 0ULL); in erofs_read_inode_from_disk()
194 while (offset < vi.i_size) { in erofs_namei()
[all …]
A Dzmap.c13 vi->z_advise = 0; in z_erofs_fill_inode()
14 vi->z_algorithmtype[0] = 0; in z_erofs_fill_inode()
15 vi->z_algorithmtype[1] = 0; in z_erofs_fill_inode()
18 vi->flags |= EROFS_I_Z_INITED; in z_erofs_fill_inode()
33 pos = round_up(iloc(vi->nid) + vi->inode_isize + vi->xattr_isize, 8); in z_erofs_fill_inode_lazy()
56 vi->z_algorithmtype[0], (unsigned long long)vi->nid); in z_erofs_fill_inode_lazy()
65 vi->nid * 1ULL); in z_erofs_fill_inode_lazy()
139 vi->inode_isize + vi->xattr_isize) + in legacy_load_cluster_from_disk()
336 const erofs_off_t ebase = round_up(iloc(vi->nid) + vi->inode_isize + in compacted_load_cluster_from_disk()
508 lcn, vi->nid | 0ULL); in z_erofs_get_extent_compressedlen()
[all …]
A Dfs.c75 target[vi->i_size] = '\0'; in erofs_readlink()
77 err = erofs_pread(vi, target, vi->i_size, 0); in erofs_readlink()
178 struct erofs_inode vi; in erofs_readdir() local
181 vi.nid = de->nid; in erofs_readdir()
186 dent->size = vi.i_size; in erofs_readdir()
206 struct erofs_inode vi; in erofs_exists() local
215 struct erofs_inode vi; in erofs_size() local
221 *size = vi.i_size; in erofs_size()
228 struct erofs_inode vi; in erofs_read() local
242 len = vi.i_size; in erofs_read()
[all …]
A Ddata.c12 struct erofs_inode *vi = inode; in erofs_map_blocks_flatmode() local
22 map->m_pa = erofs_pos(vi->u.i_blkaddr) + map->m_la; in erofs_map_blocks_flatmode()
26 map->m_pa = iloc(vi->nid) + vi->inode_isize + in erofs_map_blocks_flatmode()
27 vi->xattr_isize + erofs_blkoff(map->m_la); in erofs_map_blocks_flatmode()
33 vi->nid); in erofs_map_blocks_flatmode()
56 struct erofs_inode *vi = inode; in erofs_map_blocks() local
72 if (vi->datalayout != EROFS_INODE_CHUNK_BASED) in erofs_map_blocks()
80 chunknr = map->m_la >> vi->u.chunkbits; in erofs_map_blocks()
81 pos = roundup(iloc(vi->nid) + vi->inode_isize + in erofs_map_blocks()
82 vi->xattr_isize, unit) + unit * chunknr; in erofs_map_blocks()
[all …]
A Dinternal.h332 int erofs_read_inode_from_disk(struct erofs_inode *vi);
333 int erofs_ilookup(const char *path, struct erofs_inode *vi);
334 int erofs_read_inode_from_disk(struct erofs_inode *vi);
369 int erofs_getxattr(struct erofs_inode *vi, const char *name, char *buffer,
371 int erofs_listxattr(struct erofs_inode *vi, char *buffer, size_t buffer_size);
374 int z_erofs_fill_inode(struct erofs_inode *vi);
375 int z_erofs_map_blocks_iter(struct erofs_inode *vi,
/fs/ubifs/
A Dsuper.c669 return ubi_sync(c->vi.ubi_num); in ubifs_sync_fs()
684 if (c->vi.corrupted) { in init_constants_early()
699 c->leb_cnt = c->vi.size; in init_constants_early()
1454 sprintf(c->bgt_name, BGT_NAME_PATTERN, c->vi.ubi_num, c->vi.vol_id); in mount_ubifs()
1619 c->vi.ubi_num, c->vi.vol_id, c->vi.name, in mount_ubifs()
1733 c->vi.vol_id); in ubifs_umount()
2258 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READWRITE); in ubifs_fill_super()
2261 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_fill_super()
2284 c->vi.ubi_num, c->vi.vol_id); in ubifs_fill_super()
2357 return c->vi.cdev == c1->vi.cdev; in sb_test()
[all …]
A Dubifs.h625 (c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__)
631 (c)->vi.ubi_num, (c)->vi.vol_id, current->pid, \
636 (c)->vi.ubi_num, (c)->vi.vol_id, current->pid, \
641 (c)->vi.ubi_num, (c)->vi.vol_id, 0, \
646 (c)->vi.ubi_num, (c)->vi.vol_id, 0, \
1961 struct ubi_volume_info vi; member
A Dsb.c395 if (c->leb_cnt < min_leb_cnt || c->leb_cnt > c->vi.size) { in validate_sb()
397 c->leb_cnt, c->vi.size, min_leb_cnt); in validate_sb()
636 if (c->leb_cnt < c->vi.size && c->leb_cnt < c->max_leb_cnt) { in ubifs_read_superblock()
637 c->leb_cnt = min_t(int, c->max_leb_cnt, c->vi.size); in ubifs_read_superblock()
A Dubifs.c1000 ((struct ubifs_info *)(ubifs_sb->s_fs_info))->vi.name); in uboot_ubifs_umount()
A Ddebug.c2900 c->vi.ubi_num, c->vi.vol_id); in dbg_debugfs_init_fs()

Completed in 30 milliseconds