Home
last modified time | relevance | path

Searched refs:i_op (Results 1 – 25 of 120) sorted by relevance

12345

/linux/fs/coda/
H A Dcnode.c31 inode->i_op = &coda_file_inode_operations; in coda_fill_inode()
34 inode->i_op = &coda_dir_inode_operations; in coda_fill_inode()
37 inode->i_op = &coda_symlink_inode_operations; in coda_fill_inode()
172 inode->i_op = &coda_ioctl_inode_operations; in coda_cnode_makectl()
/linux/kernel/bpf/
H A Dinode.c132 if (inode->i_op == &bpf_prog_iops) in bpf_inode_type()
134 else if (inode->i_op == &bpf_map_iops) in bpf_inode_type()
136 else if (inode->i_op == &bpf_link_iops) in bpf_inode_type()
162 inode->i_op = &bpf_dir_iops; in bpf_mkdir()
338 inode->i_op = iops; in bpf_mkobj_ops()
398 inode->i_op = &simple_symlink_inode_operations; in bpf_symlink()
450 if (dir->i_op != &bpf_dir_iops) { in bpf_obj_do_pin()
563 if (inode->i_op == &bpf_map_iops) in __get_prog_inode()
565 if (inode->i_op == &bpf_link_iops) in __get_prog_inode()
567 if (inode->i_op != &bpf_prog_iops) in __get_prog_inode()
[all …]
/linux/fs/jfs/
H A Dinode.c42 inode->i_op = &jfs_file_inode_operations; in jfs_iget()
46 inode->i_op = &jfs_dir_inode_operations; in jfs_iget()
50 inode->i_op = &page_symlink_inode_operations; in jfs_iget()
54 inode->i_op = &jfs_fast_symlink_inode_operations; in jfs_iget()
63 inode->i_op = &jfs_file_inode_operations; in jfs_iget()
/linux/fs/squashfs/
H A Dinode.c203 inode->i_op = &squashfs_inode_ops; in squashfs_read_inode()
232 inode->i_op = &squashfs_dir_inode_ops; in squashfs_read_inode()
257 inode->i_op = &squashfs_dir_inode_ops; in squashfs_read_inode()
289 inode->i_op = &squashfs_symlink_inode_ops; in squashfs_read_inode()
352 inode->i_op = &squashfs_inode_ops; in squashfs_read_inode()
392 inode->i_op = &squashfs_inode_ops; in squashfs_read_inode()
/linux/fs/erofs/
H A Dinode.c214 inode->i_op = &erofs_generic_iops; in erofs_fill_inode()
221 inode->i_op = &erofs_dir_iops; in erofs_fill_inode()
227 inode->i_op = &erofs_fast_symlink_iops; in erofs_fill_inode()
229 inode->i_op = &erofs_symlink_iops; in erofs_fill_inode()
236 inode->i_op = &erofs_generic_iops; in erofs_fill_inode()
/linux/fs/ufs/
H A Dnamei.c82 inode->i_op = &ufs_file_inode_operations; in ufs_create()
127 inode->i_op = &page_symlink_inode_operations; in ufs_symlink()
135 inode->i_op = &simple_symlink_inode_operations; in ufs_symlink()
182 inode->i_op = &ufs_dir_inode_operations; in ufs_mkdir()
/linux/fs/
H A Dposix_acl.c72 ret = inode->i_op->get_inode_acl(inode, type, LOOKUP_RCU); in get_cached_acl_rcu()
156 if (dentry && inode->i_op->get_acl) { in __get_acl()
157 acl = inode->i_op->get_acl(idmap, dentry, type); in __get_acl()
158 } else if (inode->i_op->get_inode_acl) { in __get_acl()
159 acl = inode->i_op->get_inode_acl(inode, type, false); in __get_acl()
613 if (!inode->i_op->set_acl) in posix_acl_chmod()
626 ret = inode->i_op->set_acl(idmap, dentry, acl, ACL_TYPE_ACCESS); in posix_acl_chmod()
941 if (!inode->i_op->set_acl) in set_posix_acl()
954 return inode->i_op->set_acl(idmap, dentry, acl, type); in set_posix_acl()
H A Dnamei.c524 if (likely(inode->i_op->permission)) in do_inode_permission()
525 return inode->i_op->permission(idmap, inode, mask); in do_inode_permission()
1692 old = dir->i_op->lookup(dir, dentry, flags); in lookup_one_qstr_excl()
1791 old = inode->i_op->lookup(inode, dentry, flags); in __lookup_slow()
1910 get = inode->i_op->get_link; in pick_link()
3341 if (!dir->i_op->create) in vfs_create()
3348 error = dir->i_op->create(idmap, dir, dentry, mode, want_excl); in vfs_create()
3509 error = dir->i_op->atomic_open(dir, dentry, file, in atomic_open()
3619 if (dir_inode->i_op->atomic_open) { in lookup_open()
3627 struct dentry *res = dir_inode->i_op->lookup(dir_inode, dentry, in lookup_open()
[all …]
H A Dbad_inode.c212 inode->i_op = &bad_inode_ops; in make_bad_inode()
233 return (inode->i_op == &bad_inode_ops); in is_bad_inode()
H A Dlibfs.c350 octx = inode->i_op->get_offset_ctx(inode); in simple_offset_empty()
381 struct offset_ctx *old_ctx = old_dir->i_op->get_offset_ctx(old_dir); in simple_offset_rename()
382 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename()
412 struct offset_ctx *old_ctx = old_dir->i_op->get_offset_ctx(old_dir); in simple_offset_rename_exchange()
413 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename_exchange()
459 struct offset_ctx *ctx = inode->i_op->get_offset_ctx(inode); in offset_dir_open()
479 struct offset_ctx *ctx = inode->i_op->get_offset_ctx(inode); in offset_dir_llseek()
528 struct offset_ctx *octx = inode->i_op->get_offset_ctx(inode); in offset_iterate_dir()
1033 inode->i_op = &simple_dir_inode_operations; in simple_fill_super()
1766 inode->i_op = &empty_dir_inode_operations; in make_empty_dir_inode()
[all …]
H A Dioctl.c207 if (!inode->i_op->fiemap) in ioctl_fiemap()
220 error = inode->i_op->fiemap(inode, &fieinfo, fiemap.fm_start, in ioctl_fiemap()
529 if (!inode->i_op->fileattr_get) in vfs_fileattr_get()
532 return inode->i_op->fileattr_get(dentry, fa); in vfs_fileattr_get()
675 if (!inode->i_op->fileattr_set) in vfs_fileattr_set()
696 err = inode->i_op->fileattr_set(idmap, dentry, fa); in vfs_fileattr_set()
/linux/fs/ext2/
H A Dnamei.c150 inode->i_op = &ext2_special_inode_operations; in ext2_mknod()
179 inode->i_op = &ext2_symlink_inode_operations; in ext2_symlink()
187 inode->i_op = &ext2_fast_symlink_inode_operations; in ext2_symlink()
245 inode->i_op = &ext2_dir_inode_operations; in ext2_mkdir()
/linux/fs/ramfs/
H A Dinode.c74 inode->i_op = &ramfs_file_inode_operations; in ramfs_get_inode()
78 inode->i_op = &ramfs_dir_inode_operations; in ramfs_get_inode()
85 inode->i_op = &page_symlink_inode_operations; in ramfs_get_inode()
/linux/fs/9p/
H A Dvfs_inode.c276 inode->i_op = &v9fs_file_inode_operations_dotl; in v9fs_init_inode()
278 inode->i_op = &v9fs_file_inode_operations; in v9fs_init_inode()
289 inode->i_op = &v9fs_file_inode_operations_dotl; in v9fs_init_inode()
292 inode->i_op = &v9fs_file_inode_operations; in v9fs_init_inode()
306 inode->i_op = &v9fs_symlink_inode_operations_dotl; in v9fs_init_inode()
308 inode->i_op = &v9fs_symlink_inode_operations; in v9fs_init_inode()
314 inode->i_op = &v9fs_dir_inode_operations_dotl; in v9fs_init_inode()
316 inode->i_op = &v9fs_dir_inode_operations_dotu; in v9fs_init_inode()
318 inode->i_op = &v9fs_dir_inode_operations; in v9fs_init_inode()
/linux/fs/freevxfs/
H A Dvxfs_inode.c280 ip->i_op = &vxfs_dir_inode_ops; in vxfs_iget()
285 ip->i_op = &page_symlink_inode_operations; in vxfs_iget()
289 ip->i_op = &simple_symlink_inode_operations; in vxfs_iget()
/linux/fs/hfsplus/
H A Dinode.c413 inode->i_op = &hfsplus_dir_inode_operations; in hfsplus_new_inode()
417 inode->i_op = &hfsplus_file_inode_operations; in hfsplus_new_inode()
423 inode->i_op = &page_symlink_inode_operations; in hfsplus_new_inode()
530 inode->i_op = &hfsplus_dir_inode_operations; in hfsplus_cat_read_inode()
551 inode->i_op = &hfsplus_file_inode_operations; in hfsplus_cat_read_inode()
555 inode->i_op = &page_symlink_inode_operations; in hfsplus_cat_read_inode()
/linux/fs/efivarfs/
H A Dinode.c36 inode->i_op = &efivarfs_file_inode_operations; in efivarfs_get_inode()
40 inode->i_op = &efivarfs_dir_inode_operations; in efivarfs_get_inode()
/linux/fs/sysv/
H A Dinode.c155 inode->i_op = &sysv_file_inode_operations; in sysv_set_inode()
159 inode->i_op = &sysv_dir_inode_operations; in sysv_set_inode()
163 inode->i_op = &sysv_symlink_inode_operations; in sysv_set_inode()
/linux/fs/cachefiles/
H A Dcache.c63 !d_backing_inode(root)->i_op->lookup || in cachefiles_add_cache()
64 !d_backing_inode(root)->i_op->mkdir || in cachefiles_add_cache()
65 !d_backing_inode(root)->i_op->tmpfile || in cachefiles_add_cache()
/linux/security/tomoyo/
H A Drealpath.c186 if (!inode->i_op->rename) in tomoyo_get_local_path()
265 if ((!inode->i_op->rename && in tomoyo_realpath_from_path()
/linux/security/
H A Dinode.c151 inode->i_op = &simple_dir_inode_operations; in securityfs_create_dentry()
156 inode->i_op = iops ? iops : &simple_symlink_inode_operations; in securityfs_create_dentry()
/linux/fs/autofs/
H A Dinode.c331 root_inode->i_op = &autofs_dir_inode_operations; in autofs_fill_super()
446 inode->i_op = &autofs_dir_inode_operations; in autofs_get_inode()
449 inode->i_op = &autofs_symlink_inode_operations; in autofs_get_inode()
/linux/fs/hpfs/
H A Dinode.c80 i->i_op = &page_symlink_inode_operations; in hpfs_read_inode()
119 i->i_op = &hpfs_dir_iops; in hpfs_read_inode()
135 i->i_op = &hpfs_file_iops; in hpfs_read_inode()
/linux/fs/kernfs/
H A Dinode.c204 inode->i_op = &kernfs_iops; in kernfs_init_inode()
213 inode->i_op = &kernfs_dir_iops; in kernfs_init_inode()
223 inode->i_op = &kernfs_symlink_iops; in kernfs_init_inode()
/linux/fs/f2fs/
H A Dnamei.c373 inode->i_op = &f2fs_file_inode_operations; in f2fs_create()
634 inode->i_op = &f2fs_encrypted_symlink_inode_operations; in f2fs_symlink()
636 inode->i_op = &f2fs_symlink_inode_operations; in f2fs_symlink()
704 inode->i_op = &f2fs_dir_inode_operations; in f2fs_mkdir()
762 inode->i_op = &f2fs_special_inode_operations; in f2fs_mknod()
802 inode->i_op = &f2fs_special_inode_operations; in __f2fs_tmpfile()
804 inode->i_op = &f2fs_file_inode_operations; in __f2fs_tmpfile()

12345