Searched refs:ino (Results 1 - 25 of 257) sorted by relevance

1234567891011

/fs/autofs4/
H A Dsymlink.c18 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
19 if (ino && !autofs4_oz_mode(sbi))
20 ino->last_used = jiffies;
H A Dexpire.c23 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
26 if (ino == NULL)
31 if (!timeout || time_after(ino->last_used + timeout, now))
62 struct autofs_info *ino = autofs4_dentry_ino(top); local
63 ino->last_used = jiffies;
200 struct autofs_info *ino = autofs4_dentry_ino(top); local
201 if (ino)
202 ino->last_used = jiffies;
249 struct autofs_info *ino = autofs4_dentry_ino(p); local
250 unsigned int ino_count = atomic_read(&ino
310 struct autofs_info *ino; local
357 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
443 struct autofs_info *ino; local
502 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
540 struct autofs_info *ino; local
583 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
[all...]
H A Dinode.c27 struct autofs_info *ino = kzalloc(sizeof(*ino), GFP_KERNEL); local
28 if (ino) {
29 INIT_LIST_HEAD(&ino->active);
30 INIT_LIST_HEAD(&ino->expiring);
31 ino->last_used = jiffies;
32 ino->sbi = sbi;
34 return ino;
37 void autofs4_clean_ino(struct autofs_info *ino) argument
39 ino
44 autofs4_free_ino(struct autofs_info *ino) argument
212 struct autofs_info *ino; local
[all...]
H A Droot.c77 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
78 if (ino) {
80 if (!ino->active_count) {
81 if (list_empty(&ino->active))
82 list_add(&ino->active, &sbi->active_list);
84 ino->active_count++;
93 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
94 if (ino) {
96 ino->active_count--;
97 if (!ino
139 struct autofs_info *ino = autofs4_dentry_ino(de); local
174 struct autofs_info *ino; local
229 struct autofs_info *ino; local
276 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
324 struct autofs_info *ino; local
340 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
428 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
504 struct autofs_info *ino; local
555 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
619 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
701 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
740 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
[all...]
H A Dautofs_i.h95 u64 ino; member in struct:autofs_wait_queue
249 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
250 if (ino) {
251 if (list_empty(&ino->expiring))
252 list_add(&ino->expiring, &sbi->expiring_list);
260 struct autofs_info *ino = autofs4_dentry_ino(dentry); local
261 if (ino) {
263 if (list_empty(&ino->expiring))
264 list_add(&ino->expiring, &sbi->expiring_list);
273 struct autofs_info *ino local
[all...]
/fs/qnx6/
H A Dnamei.c18 unsigned ino; local
27 ino = qnx6_find_entry(len, dir, name, &page);
28 if (ino) {
29 foundinode = qnx6_iget(dir->i_sb, ino);
/fs/affs/
H A Ddir.c54 u32 ino; local
57 pr_debug("%s(ino=%lu,f_pos=%lx)\n",
82 ino = (u32)(long)file->private_data;
83 if (ino && file->f_version == inode->i_version) {
84 pr_debug("readdir() left off=%d\n", ino);
88 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]);
89 for (i = 0; ino && i < chain_pos; i++) {
90 fh_bh = affs_bread(sb, ino);
96 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain);
100 if (ino)
[all...]
/fs/nilfs2/
H A Dexport.h11 * @ino: inode number
18 u64 ino; member in struct:nilfs_fid
H A Difile.h36 nilfs_ifile_map_inode(struct inode *ifile, ino_t ino, struct buffer_head *ibh) argument
39 return nilfs_palloc_block_get_entry(ifile, ino, ibh, kaddr);
42 static inline void nilfs_ifile_unmap_inode(struct inode *ifile, ino_t ino, argument
/fs/sysv/
H A Dialloc.c56 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) argument
62 block += (ino-1) >> sbi->s_inodes_per_block_bits;
67 return res + ((ino-1) & sbi->s_inodes_per_block_1);
75 int i = 0, ino; local
77 ino = SYSV_ROOT_INO+1;
78 raw_inode = sysv_raw_inode(sb, ino, &bh);
81 while (ino <= sbi->s_ninodes) {
83 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino);
87 if ((ino++ & sbi->s_inodes_per_block_1) == 0) {
89 raw_inode = sysv_raw_inode(sb, ino,
104 unsigned int ino; local
140 sysv_ino_t ino; local
186 int ino, count, sb_count; local
[all...]
/fs/xfs/
H A Dxfs_export.h63 u64 ino; member in struct:xfs_fid64
H A Dxfs_itable.h27 xfs_ino_t ino,
62 xfs_ino_t ino,
72 xfs_ino_t ino,
/fs/squashfs/
H A Dexport.c50 * Look-up inode number (ino) in table, returning the inode location.
58 __le64 ino; local
63 err = squashfs_read_metadata(sb, &ino, &start, &offset, sizeof(ino));
68 (u64) le64_to_cpu(ino));
70 return le64_to_cpu(ino);
77 long long ino; local
82 ino = squashfs_inode_lookup(sb, ino_num);
83 if (ino >= 0)
84 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_nu
[all...]
/fs/minix/
H A Dbitmap.c106 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
112 if (!ino || ino > sbi->s_ninodes) {
114 sb->s_id, (long)ino);
117 ino--;
119 ino / MINIX_INODES_PER_BLOCK;
126 return p + ino % MINIX_INODES_PER_BLOCK;
130 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
138 if (!ino || ino > sb
188 unsigned long ino, bit; local
[all...]
/fs/freevxfs/
H A Dvxfs_inode.c52 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) argument
55 if (ino)
56 printk(KERN_DEBUG "dumping vxfs inode %ld\n", ino);
75 * @ino: inode number to search
78 * vxfs_blkiget searches inode @ino in the filesystem described by
88 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) argument
93 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize);
94 offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE);
106 vxfs_dumpi(vip, ino);
121 * @ino
130 __vxfs_iget(ino_t ino, struct inode *ilistp) argument
174 vxfs_stiget(struct super_block *sbp, ino_t ino) argument
293 vxfs_iget(struct super_block *sbp, ino_t ino) argument
[all...]
/fs/efs/
H A Dnamei.c76 static struct inode *efs_nfs_get_inode(struct super_block *sb, u64 ino, argument
81 if (ino == 0)
83 inode = efs_iget(sb, ino);
112 efs_ino_t ino; local
114 ino = efs_find_entry(child->d_inode, "..", 2);
115 if (ino)
116 parent = d_obtain_alias(efs_iget(child->d_inode->i_sb, ino));
/fs/ceph/
H A Dexport.c14 u64 ino; member in struct:ceph_nfs_fh
18 * Larger fh that includes parent ino.
21 u64 ino, parent_ino; member in struct:ceph_nfs_confh
48 cfh->ino = ceph_ino(inode);
54 fh->ino = ceph_ino(inode);
61 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino) argument
69 vino.ino = ino;
101 dout("__fh_to_dentry %llx %p dentry %p\n", ino, inode, dentry);
120 dout("fh_to_dentry %llx\n", fh->ino);
124 __get_parent(struct super_block *sb, struct dentry *child, u64 ino) argument
[all...]
/fs/ocfs2/
H A Docfs2_trace.h528 TP_PROTO(unsigned long long ino, unsigned int new_cpos,
530 TP_ARGS(ino, new_cpos, clusters, depth),
532 __field(unsigned long long, ino)
538 __entry->ino = ino;
544 __entry->ino, __entry->new_cpos,
1041 TP_PROTO(unsigned long long ino, unsigned int cpos,
1044 TP_ARGS(ino, cpos, len, p_cluster, ext_flags),
1046 __field(unsigned long long, ino)
1053 __entry->ino
[all...]
/fs/logfs/
H A Dinode.c81 static struct inode *__logfs_iget(struct super_block *sb, ino_t ino) argument
83 struct inode *inode = iget_locked(sb, ino);
109 struct inode *logfs_iget(struct super_block *sb, ino_t ino) argument
111 BUG_ON(ino == LOGFS_INO_MASTER);
112 BUG_ON(ino == LOGFS_INO_SEGFILE);
113 return __logfs_iget(sb, ino);
120 struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *is_cached) argument
125 if (ino == LOGFS_INO_MASTER)
127 if (ino == LOGFS_INO_SEGFILE)
132 if (li->vfs_inode.i_ino == ino) {
262 logfs_new_meta_inode(struct super_block *sb, u64 ino) argument
278 logfs_read_meta_inode(struct super_block *sb, u64 ino) argument
326 u64 ino; local
[all...]
/fs/jffs2/
H A Dbuild.c56 dbg_fsbuild("building directory inode #%u\n", ic->ino);
61 if (!fd->ino)
66 child_ic = jffs2_get_ino_cache(c, fd->ino);
68 dbg_fsbuild("child \"%s\" (ino #%u) of dir ino #%u doesn't exist!\n",
69 fd->name, fd->ino, ic->ino);
76 JFFS2_ERROR("child dir \"%s\" (ino #%u) of dir ino #%u appears to be a hard link\n",
77 fd->name, fd->ino, i
[all...]
/fs/qnx4/
H A Dnamei.c57 const char *name, struct qnx4_inode_entry **res_dir, int *ino)
77 *ino = block * QNX4_INODES_PER_BLOCK +
96 int ino; local
104 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino)))
109 ino = (le32_to_cpu(lnk->dl_inode_blk) - 1) *
115 foundinode = qnx4_iget(dir->i_sb, ino);
56 qnx4_find_entry(int len, struct inode *dir, const char *name, struct qnx4_inode_entry **res_dir, int *ino) argument
H A Ddir.c25 int ix, ino; local
53 ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1;
56 ino = ( le32_to_cpu(le->dl_inode_blk) - 1 ) *
60 if (!dir_emit(ctx, de->di_fname, size, ino, DT_UNKNOWN)) {
/fs/nfsd/
H A Dnfsfh.h13 static inline __u32 ino_t_to_u32(ino_t ino) argument
15 return (__u32) ino;
86 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, argument
94 fsidv[1] = ino_t_to_u32(ino);
102 fsidv[2] = ino_t_to_u32(ino);
107 fsidv[1] = ino_t_to_u32(ino);
113 fsidv[0] = ino_t_to_u32(ino);
131 *(u64*)fsidv = (u64)ino;
/fs/hostfs/
H A Dhostfs_kern.c117 static char *inode_name(struct inode *ino) argument
122 dentry = d_find_alias(ino);
275 unsigned long long next, ino; local
287 while ((name = read_dir(dir, &next, &ino, &len, &type)) != NULL) {
288 if (!dir_emit(ctx, name, len, ino, type))
296 static int hostfs_file_open(struct inode *ino, struct file *file) argument
305 if ((mode & HOSTFS_I(ino)->mode) == mode)
308 mode |= HOSTFS_I(ino)->mode;
329 if ((mode & HOSTFS_I(ino)->mode) == mode) {
333 if ((mode | HOSTFS_I(ino)
507 read_name(struct inode *ino, char *name) argument
595 hostfs_lookup(struct inode *ino, struct dentry *dentry, unsigned int flags) argument
632 hostfs_link(struct dentry *to, struct inode *ino, struct dentry *from) argument
651 hostfs_unlink(struct inode *ino, struct dentry *dentry) argument
667 hostfs_symlink(struct inode *ino, struct dentry *dentry, const char *to) argument
680 hostfs_mkdir(struct inode *ino, struct dentry *dentry, umode_t mode) argument
692 hostfs_rmdir(struct inode *ino, struct dentry *dentry) argument
772 hostfs_permission(struct inode *ino, int desired) argument
[all...]
/fs/ubifs/
H A Djournal.c65 * @ino: the inode to zero out
67 static inline void zero_ino_node_unused(struct ubifs_ino_node *ino) argument
69 memset(ino->padding1, 0, 4);
70 memset(ino->padding2, 0, 26);
453 * @ino: buffer in which to pack inode node
457 static void pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, argument
463 ino->ch.node_type = UBIFS_INO_NODE;
464 ino_key_init_flash(c, &ino->key, inode->i_ino);
465 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum);
466 ino
551 struct ubifs_ino_node *ino; local
782 struct ubifs_ino_node *ino; local
1143 struct ubifs_ino_node *ino; local
1285 struct ubifs_ino_node *ino; local
1398 struct ubifs_ino_node *ino; local
[all...]

Completed in 295 milliseconds

1234567891011