Home
last modified time | relevance | path

Searched refs:ino (Results 1 – 25 of 269) sorted by relevance

1234567891011

/linux/arch/sparc/kernel/
H A Dprom_irqtrans.c20 static unsigned long psycho_pcislot_imap_offset(unsigned long ino) in psycho_pcislot_imap_offset() argument
22 unsigned int bus = (ino & 0x10) >> 4; in psycho_pcislot_imap_offset()
23 unsigned int slot = (ino & 0x0c) >> 2; in psycho_pcislot_imap_offset()
40 #define psycho_iclr_offset(ino) \ argument
41 ((ino & 0x20) ? (PSYCHO_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \
42 (PSYCHO_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3)))
45 unsigned int ino, in psycho_irq_build() argument
53 ino &= 0x3f; in psycho_irq_build()
54 if (ino < PSYCHO_ONBOARD_IRQ_BASE) { in psycho_irq_build()
56 imap_off = psycho_pcislot_imap_offset(ino); in psycho_irq_build()
[all …]
/linux/fs/xfs/scrub/
H A Dinode.c237 xfs_ino_t ino, in xchk_inode_extsize() argument
246 xchk_ino_set_corrupt(sc, ino); in xchk_inode_extsize()
260 xchk_ino_set_warning(sc, ino); in xchk_inode_extsize()
268 xfs_ino_t ino, in xchk_inode_cowextsize() argument
285 xchk_ino_set_corrupt(sc, ino); in xchk_inode_cowextsize()
299 xchk_ino_set_warning(sc, ino); in xchk_inode_cowextsize()
307 xfs_ino_t ino, in xchk_inode_flags() argument
322 if ((flags & XFS_DIFLAG_NEWRTBM) && ino != mp->m_sb.sb_rbmino) in xchk_inode_flags()
344 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags()
352 xfs_ino_t ino, in xchk_inode_flags2() argument
[all …]
H A Ddir_repair.c100 xfs_ino_t ino; member
220 xfs_ino_t ino; in xrep_dir_lookup_parent() local
223 error = xfs_dir_lookup(sc->tp, sc->ip, &xfs_name_dotdot, &ino, NULL); in xrep_dir_lookup_parent()
226 if (!xfs_verify_dir_ino(sc->mp, ino)) in xrep_dir_lookup_parent()
229 error = xrep_findparent_confirm(sc, &ino); in xrep_dir_lookup_parent()
233 return ino; in xrep_dir_lookup_parent()
264 xfs_ino_t ino; in xrep_dir_find_parent() local
266 ino = xrep_findparent_self_reference(rd->sc); in xrep_dir_find_parent()
267 if (ino != NULLFSINO) { in xrep_dir_find_parent()
268 xrep_findparent_scan_finish_early(&rd->pscan, ino); in xrep_dir_find_parent()
[all …]
H A Dtrace.h155 __field(xfs_ino_t, ino)
165 __entry->ino = I_INO(ip);
175 __entry->ino,
229 __field(xfs_ino_t, ino)
239 __entry->ino = I_INO(ip);
249 __entry->ino,
334 __field(xfs_ino_t, ino)
343 __entry->ino = I_INO(sc->ip);
352 __entry->ino,
396 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, void *ret_ip),
[all …]
H A Dnlinks.c120 xfs_ino_t ino, in xchk_nlinks_update_incore() argument
131 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore()
135 trace_xchk_nlinks_update_incore(xnc->sc->mp, ino, &nl, parents_delta, in xchk_nlinks_update_incore()
143 error = xfarray_store(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore()
226 xfs_ino_t ino, in xchk_nlinks_collect_dirent() argument
246 if (dot && ino != I_INO(dp)) { in xchk_nlinks_collect_dirent()
252 if (!xfs_verify_dir_ino(sc->mp, ino)) { in xchk_nlinks_collect_dirent()
264 trace_xchk_nlinks_collect_dirent(sc->mp, dp, ino, name); in xchk_nlinks_collect_dirent()
283 error = xchk_nlinks_update_incore(xnc, ino, 1, 0, 0); in xchk_nlinks_collect_dirent()
285 error = xchk_nlinks_update_incore(xnc, ino, 0, 1, 0); in xchk_nlinks_collect_dirent()
[all …]
H A Dmetapath.c309 xfs_ino_t ino = NULLFSINO; in xchk_metapath() local
329 error = xchk_dir_lookup(sc, mpath->dp, &mpath->xname, &ino); in xchk_metapath()
330 trace_xchk_metapath_lookup(sc, mpath->path, mpath->dp, ino); in xchk_metapath()
339 if (ino != I_INO(sc->ip)) { in xchk_metapath()
457 xfs_ino_t ino, in xrep_metapath_unlink() argument
465 trace_xrep_metapath_unlink(sc, mpath->path, mpath->dp, ino); in xrep_metapath_unlink()
471 ino, mpath->unlink_resblks); in xrep_metapath_unlink()
512 xfs_ino_t ino; in xrep_metapath_try_link() local
528 error = xchk_dir_lookup(sc, mpath->dp, &mpath->xname, &ino); in xrep_metapath_try_link()
529 trace_xrep_metapath_lookup(sc, mpath->path, mpath->dp, ino); in xrep_metapath_try_link()
[all …]
/linux/fs/autofs/
H A Dexpire.c14 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire() local
17 if (ino == NULL) in autofs_can_expire()
22 if (!timeout || time_after(ino->last_used + timeout, jiffies)) in autofs_can_expire()
59 struct autofs_info *ino; in autofs_mount_busy() local
61 ino = autofs_dentry_ino(top); in autofs_mount_busy()
62 ino->last_used = jiffies; in autofs_mount_busy()
160 struct autofs_info *ino; in autofs_direct_busy() local
162 ino = autofs_dentry_ino(top); in autofs_direct_busy()
163 if (ino) in autofs_direct_busy()
164 ino->last_used = jiffies; in autofs_direct_busy()
[all …]
H A Dinode.c14 struct autofs_info *ino; in autofs_new_ino() local
16 ino = kzalloc_obj(*ino); in autofs_new_ino()
17 if (ino) { in autofs_new_ino()
18 INIT_LIST_HEAD(&ino->active); in autofs_new_ino()
19 INIT_LIST_HEAD(&ino->expiring); in autofs_new_ino()
20 ino->last_used = jiffies; in autofs_new_ino()
21 ino->sbi = sbi; in autofs_new_ino()
22 ino->exp_timeout = -1; in autofs_new_ino()
23 ino->count = 1; in autofs_new_ino()
25 return ino; in autofs_new_ino()
[all …]
H A Ddev-ioctl.c223 struct autofs_info *ino = autofs_dentry_ino(path->dentry); in test_by_type() local
225 return ino && ino->sbi->type & *(unsigned *)p; in test_by_type()
430 struct autofs_info *ino; in autofs_dev_ioctl_timeout() local
439 ino = autofs_dentry_ino(dentry); in autofs_dev_ioctl_timeout()
440 if (!ino) { in autofs_dev_ioctl_timeout()
445 if (ino->exp_timeout && ino->flags & AUTOFS_INF_EXPIRE_SET) in autofs_dev_ioctl_timeout()
446 param->timeout.timeout = ino->exp_timeout / HZ; in autofs_dev_ioctl_timeout()
452 ino->flags &= ~AUTOFS_INF_EXPIRE_SET; in autofs_dev_ioctl_timeout()
453 ino->exp_timeout = 0; in autofs_dev_ioctl_timeout()
460 ino->flags |= AUTOFS_INF_EXPIRE_SET; in autofs_dev_ioctl_timeout()
[all …]
/linux/security/ipe/
H A Deval.c24 #define INO_BLOCK_DEV(ino) ((ino)->i_sb->s_bdev) argument
44 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx() argument
46 if (INO_BLOCK_DEV(ino)) in build_ipe_bdev_ctx()
47 ctx->ipe_bdev = ipe_bdev(INO_BLOCK_DEV(ino)); in build_ipe_bdev_ctx()
50 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx() argument
58 const struct inode *const ino) in build_ipe_inode_blob_ctx() argument
60 ctx->ipe_inode = ipe_inode(ctx->ino); in build_ipe_inode_blob_ctx()
64 const struct inode *const ino) in build_ipe_inode_blob_ctx() argument
74 static void build_ipe_inode_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_inode_ctx() argument
76 ctx->ino = ino; in build_ipe_inode_ctx()
[all …]
/linux/fs/minix/
H A Dbitmap.c107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode() argument
113 if (!ino || ino > sbi->s_ninodes) { in minix_V1_raw_inode()
115 sb->s_id, (long)ino); in minix_V1_raw_inode()
118 ino--; in minix_V1_raw_inode()
120 ino / MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode()
127 return p + ino % MINIX_INODES_PER_BLOCK; in minix_V1_raw_inode()
131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode() argument
139 if (!ino || ino > sbi->s_ninodes) { in minix_V2_raw_inode()
141 sb->s_id, (long)ino); in minix_V2_raw_inode()
144 ino--; in minix_V2_raw_inode()
[all …]
/linux/tools/cgroup/
H A Dmemcg_shrinker.py16 ino = os.stat(path).st_ino
17 cgroups[ino] = path
32 ino = int(items[0])
34 shrinkers.append((int(items[1]), shrinker, ino))
50 count, name, ino = (s[0], s[1], s[2])
54 if ino == 0 or ino == 1:
58 cg = cgroups[ino]
60 cg = "unknown (%d)" % ino
/linux/fs/jffs2/
H A Dbuild.c58 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1()
63 if (!fd->ino) in jffs2_build_inode_pass1()
68 child_ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_inode_pass1()
71 fd->name, fd->ino, ic->ino); in jffs2_build_inode_pass1()
89 dbg_fsbuild("increased nlink for child \"%s\" (ino #%u)\n", fd->name, fd->ino); in jffs2_build_inode_pass1()
153 ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_filesystem()
202 fd->name, fd->ino, ic->ino, fd->ic->pino_nlink); in jffs2_build_filesystem()
207 fd->ic->pino_nlink = ic->ino; in jffs2_build_filesystem()
249 dbg_fsbuild("removing ino #%u with nlink == zero.\n", ic->ino); in jffs2_build_remove_unlinked_inode()
261 dbg_fsbuild("inode #%u was a directory which may have children...\n", ic->ino); in jffs2_build_remove_unlinked_inode()
[all …]
H A Dwrite.c41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode()
42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode()
110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino); in jffs2_write_dnode()
218 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent()
231 je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), in jffs2_write_dirent()
247 fd->ino = je32_to_cpu(rd->ino); in jffs2_write_dirent()
348 __func__, f->inocache->ino, offset, writelen); in jffs2_write_inode_range()
380 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_write_inode_range()
515 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_create()
517 rd->ino = ri->ino; in jffs2_do_create()
[all …]
/linux/fs/squashfs/
H A Dexport.c45 __le64 ino; in squashfs_inode_lookup() local
55 err = squashfs_read_metadata(sb, &ino, &start, &offset, sizeof(ino)); in squashfs_inode_lookup()
60 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup()
62 return le64_to_cpu(ino); in squashfs_inode_lookup()
69 long long ino; in squashfs_export_iget() local
74 ino = squashfs_inode_lookup(sb, ino_num); in squashfs_export_iget()
75 if (ino >= 0) in squashfs_export_iget()
76 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num)); in squashfs_export_iget()
89 return squashfs_export_iget(sb, fid->i32.ino); in squashfs_fh_to_dentry()
/linux/fs/ceph/
H A Dexport.c16 u64 ino; member
23 u64 ino, parent_ino; member
30 u64 ino; member
81 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
84 sfh->ino = ceph_ino(inode); in ceph_encode_snapfh()
117 cfh->ino = ceph_ino(inode); in ceph_encode_fh()
124 fh->ino = ceph_ino(inode); in ceph_encode_fh()
131 static struct inode *__lookup_inode(struct super_block *sb, u64 ino) in __lookup_inode() argument
138 vino.ino = ino; in __lookup_inode()
177 struct inode *ceph_lookup_inode(struct super_block *sb, u64 ino) in ceph_lookup_inode() argument
[all …]
H A Dsnap.c96 if (new->ino < r->ino) in __insert_snap_realm()
98 else if (new->ino > r->ino) in __insert_snap_realm()
115 u64 ino) in ceph_create_snap_realm() argument
126 if (ino == CEPH_INO_GLOBAL_SNAPREALM) in ceph_create_snap_realm()
130 realm->ino = ino; in ceph_create_snap_realm()
141 doutc(mdsc->fsc->client, "%llx %p\n", realm->ino, realm); in ceph_create_snap_realm()
151 u64 ino) in __lookup_snap_realm() argument
161 if (ino < r->ino) in __lookup_snap_realm()
163 else if (ino > r->ino) in __lookup_snap_realm()
166 doutc(cl, "%llx %p\n", r->ino, r); in __lookup_snap_realm()
[all …]
/linux/include/trace/events/
H A Dcachefiles.h245 __field(u64, ino)
253 __entry->ino = (!IS_ERR(de) && d_backing_inode(de) ?
259 __entry->obj, __entry->dino, __entry->ino, __entry->error)
324 ino_t ino,
327 TP_ARGS(obj, ino, why),
332 __field(unsigned int, ino)
338 __entry->ino = ino;
343 __entry->obj, __entry->ino,
349 ino_t ino,
352 TP_ARGS(obj, ino, why),
[all …]
H A Df2fs.h12 #define show_dev_ino(entry) show_dev(entry->dev), (unsigned long long)entry->ino
210 __field(u64, ino)
222 __entry->ino = inode->i_ino;
249 __field(u64, ino)
257 __entry->ino = inode->i_ino;
283 __field(u64, ino)
292 __entry->ino = inode->i_ino;
365 __field(u64, ino)
374 __entry->ino = dir->i_ino;
416 __field(u64, ino)
[all …]
H A Dbtrfs.h280 __field( u64, ino )
290 __entry->ino = btrfs_ino(BTRFS_I(inode));
304 __entry->ino,
361 __field( u64, ino )
370 __entry->ino = btrfs_ino(inode);
379 __entry->ino,
433 __field( u64, ino )
449 __entry->ino = btrfs_ino(bi);
469 show_root_type(__entry->root_obj), __entry->ino,
488 __field( u64, ino )
[all …]
/linux/fs/ext4/
H A Dialloc.c241 unsigned long ino; in ext4_free_inode() local
270 ino = inode->i_ino; in ext4_free_inode()
271 ext4_debug("freeing inode %lu\n", ino); in ext4_free_inode()
283 if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { in ext4_free_inode()
284 ext4_error(sb, "reserved or nonexistent inode %lu", ino); in ext4_free_inode()
287 block_group = (ino - 1) / EXT4_INODES_PER_GROUP(sb); in ext4_free_inode()
288 bit = (ino - 1) % EXT4_INODES_PER_GROUP(sb); in ext4_free_inode()
356 ext4_error(sb, "bit already cleared for inode %lu", ino); in ext4_free_inode()
677 static int recently_deleted(struct super_block *sb, ext4_group_t group, int ino) in recently_deleted() argument
694 ino >= EXT4_INODES_PER_GROUP(sb) - ext4_itable_unused_count(sb, gdp))) in recently_deleted()
[all …]
H A Dblock_validity.c27 u32 ino; member
50 entry1->ino == entry2->ino) in can_merge()
71 unsigned int count, u32 ino) in add_system_zone() argument
94 new_entry->ino = ino; in add_system_zone()
149 u32 ino) in ext4_protect_reserved_inode() argument
157 if ((ino < EXT4_ROOT_INO) || in ext4_protect_reserved_inode()
158 (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) in ext4_protect_reserved_inode()
160 inode = ext4_iget(sb, ino, EXT4_IGET_SPECIAL); in ext4_protect_reserved_inode()
176 err = add_system_zone(system_blks, map.m_pblk, n, ino); in ext4_protect_reserved_inode()
329 ret = (entry->ino == inode->i_ino); in ext4_sb_block_valid()
/linux/fs/nfs/
H A Dpnfs.c271 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) in pnfs_alloc_layout_hdr() argument
273 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr()
274 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr()
1166 pnfs_alloc_init_layoutget_args(struct inode *ino, in pnfs_alloc_init_layoutget_args() argument
1172 struct nfs_server *server = pnfs_find_server(ino, ctx); in pnfs_alloc_init_layoutget_args()
1203 if (ino) { in pnfs_alloc_init_layoutget_args()
1204 loff_t i_size = i_size_read(ino); in pnfs_alloc_init_layoutget_args()
1216 lgp->args.inode = ino; in pnfs_alloc_init_layoutget_args()
1354 struct inode *ino = lo->plh_inode; in pnfs_send_layoutreturn() local
1355 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_send_layoutreturn()
[all …]
/linux/fs/overlayfs/
H A Dreaddir.c24 u64 ino; member
179 u64 ino, unsigned int d_type) in ovl_cache_entry_new() argument
191 p->real_ino = ino; in ovl_cache_entry_new()
192 p->ino = ino; in ovl_cache_entry_new()
195 p->ino = 0; in ovl_cache_entry_new()
220 u64 ino, in ovl_cache_entry_add_rb() argument
230 p = ovl_cache_entry_new(rdd, name, len, c_name, c_len, ino, d_type); in ovl_cache_entry_add_rb()
247 loff_t offset, u64 ino, unsigned int d_type) in ovl_fill_lowest() argument
257 ino, d_type); in ovl_fill_lowest()
311 int namelen, loff_t offset, u64 ino, in ovl_fill_merge() argument
[all …]
/linux/fs/qnx4/
H A Dnamei.c51 const char *name, struct qnx4_inode_entry **res_dir, int *ino) in qnx4_find_entry() argument
71 *ino = block * QNX4_INODES_PER_BLOCK + in qnx4_find_entry()
90 int ino; in qnx4_lookup() local
98 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino))) in qnx4_lookup()
103 ino = (le32_to_cpu(lnk->dl_inode_blk) - 1) * in qnx4_lookup()
109 foundinode = qnx4_iget(dir->i_sb, ino); in qnx4_lookup()

1234567891011