| /linux/arch/sparc/kernel/ |
| H A D | prom_irqtrans.c | 20 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/autofs/ |
| H A D | expire.c | 14 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 D | dev-ioctl.c | 223 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 …]
|
| H A D | symlink.c | 13 struct autofs_info *ino; in autofs_get_link() local 18 ino = autofs_dentry_ino(dentry); in autofs_get_link() 19 if (ino && !autofs_oz_mode(sbi)) in autofs_get_link() 20 ino->last_used = jiffies; in autofs_get_link()
|
| H A D | waitq.c | 147 packet->ino = wq->ino; in autofs_notify_daemon() 209 struct autofs_info *ino; in validate_request() local 224 ino = autofs_dentry_ino(dentry); in validate_request() 225 if (!ino) in validate_request() 240 while (ino->flags & AUTOFS_INF_EXPIRING) { in validate_request() 395 wq->ino = autofs_get_ino(sbi); in autofs_wait() 453 struct autofs_info *ino; in autofs_wait() local 457 ino = autofs_dentry_ino(dentry); in autofs_wait() 458 if (!ino) { in autofs_wait() 462 ino = autofs_dentry_ino(de); in autofs_wait() [all …]
|
| /linux/security/ipe/ |
| H A D | eval.c | 24 #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 D | bitmap.c | 107 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 D | memcg_shrinker.py | 16 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 D | build.c | 58 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 D | write.c | 41 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 D | export.c | 45 __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()
|
| H A D | inode.c | 79 struct inode *squashfs_iget(struct super_block *sb, long long ino, in squashfs_iget() argument 92 err = squashfs_read_inode(inode, ino); in squashfs_iget() 107 int squashfs_read_inode(struct inode *inode, long long ino) in squashfs_read_inode() argument 111 u64 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; in squashfs_read_inode() 112 int err, type, offset = SQUASHFS_INODE_OFFSET(ino); in squashfs_read_inode() 131 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; in squashfs_read_inode() 132 offset = SQUASHFS_INODE_OFFSET(ino); in squashfs_read_inode() 184 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), in squashfs_read_inode() 244 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), in squashfs_read_inode() 267 SQUASHFS_INODE_BLK(ino), offset, in squashfs_read_inode() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | trace.h | 155 __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 D | nlinks.c | 120 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 …]
|
| /linux/fs/ext4/ |
| H A D | ialloc.c | 241 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 D | block_validity.c | 27 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 D | pnfs.c | 271 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 D | readdir.c | 24 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/ceph/ |
| H A D | snap.c | 96 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 …]
|
| H A D | quota.c | 62 vino.ino = le64_to_cpu(h->ino); in ceph_handle_quota() 66 pr_warn_client(cl, "failed to find inode %llx\n", vino.ino); in ceph_handle_quota() 85 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) in find_quotarealm_inode() argument 97 if (ino < qri->ino) in find_quotarealm_inode() 99 else if (ino > qri->ino) in find_quotarealm_inode() 104 if (!qri || (qri->ino != ino)) { in find_quotarealm_inode() 108 qri->ino = ino; in find_quotarealm_inode() 138 qri = find_quotarealm_inode(mdsc, realm->ino); in lookup_quotarealm_inode() 163 in = ceph_lookup_inode(sb, realm->ino); in lookup_quotarealm_inode() 167 doutc(cl, "Can't lookup inode %llx (err: %ld)\n", realm->ino, in lookup_quotarealm_inode()
|
| /linux/fs/qnx4/ |
| H A D | namei.c | 51 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()
|
| /linux/include/trace/events/ |
| H A D | btrfs.h | 280 __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/qnx6/ |
| H A D | namei.c | 19 unsigned ino; in qnx6_lookup() local 27 ino = qnx6_find_ino(len, dir, name); in qnx6_lookup() 28 if (ino) { in qnx6_lookup() 29 foundinode = qnx6_iget(dir->i_sb, ino); in qnx6_lookup()
|
| /linux/fs/ |
| H A D | pidfs.c | 68 .key_offset = offsetof(struct pid, ino), 114 static inline unsigned long pidfs_ino(u64 ino) in pidfs_ino() argument 116 return lower_32_bits(ino); in pidfs_ino() 120 static inline u32 pidfs_gen(u64 ino) in pidfs_gen() argument 122 return upper_32_bits(ino); in pidfs_gen() 127 u64 ino; in pidfs_alloc_ino() local 132 ino = pidfs_ino_nr++; in pidfs_alloc_ino() 134 return ino; in pidfs_alloc_ino() 140 static inline unsigned long pidfs_ino(u64 ino) in pidfs_ino() argument 142 return ino; in pidfs_ino() [all …]
|
| /linux/fs/btrfs/ |
| H A D | send.c | 82 u64 ino; member 320 u64 ino; member 327 u64 ino; member 340 u64 ino; member 419 static int is_waiting_for_move(struct send_ctx *sctx, u64 ino); 422 get_waiting_dir_move(struct send_ctx *sctx, u64 ino); 913 static int get_inode_info(struct btrfs_root *root, u64 ino, in get_inode_info() argument 925 key.objectid = ino; in get_inode_info() 956 static int get_inode_gen(struct btrfs_root *root, u64 ino, u64 *gen) in get_inode_gen() argument 963 ret = get_inode_info(root, ino, &info); in get_inode_gen() [all …]
|