Home
last modified time | relevance | path

Searched refs:inode_item (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dioctl.c62 struct btrfs_inode_item *inode_item; in create_subvol() local
103 inode_item = &root_item.inode; in create_subvol()
104 memset(inode_item, 0, sizeof(*inode_item)); in create_subvol()
105 inode_item->generation = cpu_to_le64(1); in create_subvol()
106 inode_item->size = cpu_to_le64(3); in create_subvol()
107 inode_item->nlink = cpu_to_le32(1); in create_subvol()
108 inode_item->nbytes = cpu_to_le64(root->leafsize); in create_subvol()
109 inode_item->mode = cpu_to_le32(S_IFDIR | 0755); in create_subvol()
Dinode.c1966 struct btrfs_inode_item *inode_item; in btrfs_read_locked_inode() local
1983 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode()
1986 inode->i_mode = btrfs_inode_mode(leaf, inode_item); in btrfs_read_locked_inode()
1987 inode->i_nlink = btrfs_inode_nlink(leaf, inode_item); in btrfs_read_locked_inode()
1988 inode->i_uid = btrfs_inode_uid(leaf, inode_item); in btrfs_read_locked_inode()
1989 inode->i_gid = btrfs_inode_gid(leaf, inode_item); in btrfs_read_locked_inode()
1990 btrfs_i_size_write(inode, btrfs_inode_size(leaf, inode_item)); in btrfs_read_locked_inode()
1992 tspec = btrfs_inode_atime(inode_item); in btrfs_read_locked_inode()
1996 tspec = btrfs_inode_mtime(inode_item); in btrfs_read_locked_inode()
2000 tspec = btrfs_inode_ctime(inode_item); in btrfs_read_locked_inode()
[all …]
Dctree.h1194 btrfs_inode_atime(struct btrfs_inode_item *inode_item) in btrfs_inode_atime() argument
1196 unsigned long ptr = (unsigned long)inode_item; in btrfs_inode_atime()
1202 btrfs_inode_mtime(struct btrfs_inode_item *inode_item) in btrfs_inode_mtime() argument
1204 unsigned long ptr = (unsigned long)inode_item; in btrfs_inode_mtime()
1210 btrfs_inode_ctime(struct btrfs_inode_item *inode_item) in btrfs_inode_ctime() argument
1212 unsigned long ptr = (unsigned long)inode_item; in btrfs_inode_ctime()
1218 btrfs_inode_otime(struct btrfs_inode_item *inode_item) in btrfs_inode_otime() argument
1220 unsigned long ptr = (unsigned long)inode_item; in btrfs_inode_otime()
Ddisk-io.c1059 struct btrfs_inode_item *inode_item; in btrfs_add_log_tree() local
1068 inode_item = &log_root->root_item.inode; in btrfs_add_log_tree()
1069 inode_item->generation = cpu_to_le64(1); in btrfs_add_log_tree()
1070 inode_item->size = cpu_to_le64(3); in btrfs_add_log_tree()
1071 inode_item->nlink = cpu_to_le32(1); in btrfs_add_log_tree()
1072 inode_item->nbytes = cpu_to_le64(root->leafsize); in btrfs_add_log_tree()
1073 inode_item->mode = cpu_to_le32(S_IFDIR | 0755); in btrfs_add_log_tree()
Dtree-log.c1509 struct btrfs_inode_item *inode_item; in replay_one_buffer() local
1512 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer()
1514 mode = btrfs_inode_mode(eb, inode_item); in replay_one_buffer()
2437 struct btrfs_inode_item *inode_item; in copy_items() local
2471 inode_item = btrfs_item_ptr(dst_path->nodes[0], in copy_items()
2474 btrfs_set_inode_size(dst_path->nodes[0], inode_item, 0); in copy_items()
2482 inode_item, 0); in copy_items()