/linux-master/kernel/ |
H A D | audit_fsnotify.c | 24 * but dev, ino, and path are about the child 28 unsigned long ino; /* associated inode number */ member in struct:audit_fsnotify_mark 60 int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev) argument 62 if (mark->ino == AUDIT_INO_UNSET) 64 return (mark->ino == ino) && (mark->dev == dev); 71 audit_mark->ino = inode ? inode->i_ino : AUDIT_INO_UNSET;
|
/linux-master/fs/ext2/ |
H A D | trace.h | 16 __field(ino_t, ino) 26 __entry->ino = file_inode(iocb->ki_filp)->i_ino; 34 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd", 36 __entry->ino, 60 __field(ino_t, ino) 70 __entry->ino = file_inode(iocb->ki_filp)->i_ino; 78 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d", 80 __entry->ino,
|
H A D | ialloc.c | 109 unsigned long ino; local 115 ino = inode->i_ino; 116 ext2_debug ("freeing inode %lu\n", ino); 129 if (ino < EXT2_FIRST_INO(sb) || 130 ino > le32_to_cpu(es->s_inodes_count)) { 132 "reserved or nonexistent inode %lu", ino); 135 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); 136 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb); 145 "bit already cleared for inode %lu", ino); 426 ino_t ino local [all...] |
/linux-master/fs/bfs/ |
H A D | inode.c | 34 struct inode *bfs_iget(struct super_block *sb, unsigned long ino) argument 41 inode = iget_locked(sb, ino); 47 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(inode->i_sb)->si_lasti)) { 48 printf("Bad inode number %s:%08lx\n", inode->i_sb->s_id, ino); 52 block = (ino - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1; 56 ino); 60 off = (ino - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK; 96 static struct bfs_inode *find_inode(struct super_block *sb, u16 ino, struct buffer_head **p) argument 98 if ((ino < BFS_ROOT_IN 117 unsigned int ino = (u16)inode->i_ino; local 162 unsigned long ino = inode->i_ino; local [all...] |
/linux-master/fs/ext4/ |
H A D | block_validity.c | 27 u32 ino; member in struct:ext4_system_zone 50 entry1->ino == entry2->ino) 71 unsigned int count, u32 ino) 94 new_entry->ino = ino; 149 u32 ino) 157 if ((ino < EXT4_ROOT_INO) || 158 (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) 160 inode = ext4_iget(sb, ino, EXT4_IGET_SPECIA 69 add_system_zone(struct ext4_system_blocks *system_blks, ext4_fsblk_t start_blk, unsigned int count, u32 ino) argument 147 ext4_protect_reserved_inode(struct super_block *sb, struct ext4_system_blocks *system_blks, u32 ino) argument [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_imap.h | 27 #define INOTOIAG(ino) ((ino) >> L2INOSPERIAG) 33 * that contains ino. 35 #define INOPBLK(pxd,ino,l2nbperpg) (addressPXD((pxd)) + \ 36 ((((ino) & (INOSPEREXT-1)) >> L2INOSPERPAGE) << (l2nbperpg)))
|
H A D | namei.c | 68 ino_t ino; local 113 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { 121 tblk->ino = ip->i_ino; 136 ino = ip->i_ino; 137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { 201 ino_t ino; local 246 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { 254 tblk->ino = ip->i_ino; 269 ino = ip->i_ino; 270 if ((rc = dtInsert(tid, dip, &dname, &ino, 338 ino_t ino; local 468 ino_t ino; local 792 ino_t ino; local 883 ino_t ino = 0; local 1073 ino_t ino; local 1361 ino_t ino; local 1477 jfs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument [all...] |
/linux-master/fs/affs/ |
H A D | amigaffs.c | 30 u32 ino, hash_ino; local 33 ino = bh->b_blocknr; 36 pr_debug("%s(dir=%lu, ino=%d)\n", __func__, dir->i_ino, ino); 55 AFFS_HEAD(dir_bh)->table[offset] = cpu_to_be32(ino); 57 AFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino); 59 affs_adjust_checksum(dir_bh, ino); 80 __be32 ino; local 86 pr_debug("%s(dir=%lu, ino=%d, hashval=%d)\n", __func__, dir->i_ino, 97 ino 147 u32 link_ino, ino; local [all...] |
/linux-master/fs/ceph/ |
H A D | quota.c | 62 vino.ino = le64_to_cpu(h->ino); 66 pr_warn_client(cl, "failed to find inode %llx\n", vino.ino); 85 find_quotarealm_inode(struct ceph_mds_client *mdsc, u64 ino) argument 97 if (ino < qri->ino) 99 else if (ino > qri->ino) 104 if (!qri || (qri->ino != ino)) { [all...] |
H A D | snap.c | 96 if (new->ino < r->ino) 98 else if (new->ino > r->ino) 109 * create and get the realm rooted at @ino and bump its ref count. 115 u64 ino) 126 if (ino == CEPH_INO_GLOBAL_SNAPREALM) 130 realm->ino = ino; 141 doutc(mdsc->fsc->client, "%llx %p\n", realm->ino, real 113 ceph_create_snap_realm( struct ceph_mds_client *mdsc, u64 ino) argument 150 __lookup_snap_realm(struct ceph_mds_client *mdsc, u64 ino) argument 173 ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, u64 ino) argument [all...] |
/linux-master/fs/squashfs/ |
H A D | inode.c | 75 struct inode *squashfs_iget(struct super_block *sb, long long ino, argument 88 err = squashfs_read_inode(inode, ino); 103 int squashfs_read_inode(struct inode *inode, long long ino) argument 107 u64 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; 108 int err, type, offset = SQUASHFS_INODE_OFFSET(ino); 127 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; 128 offset = SQUASHFS_INODE_OFFSET(ino); 171 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), 218 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), 241 SQUASHFS_INODE_BLK(ino), offse [all...] |
/linux-master/include/trace/events/ |
H A D | f2fs.h | 12 #define show_dev_ino(entry) show_dev(entry->dev), (unsigned long)entry->ino 191 __field(ino_t, ino) 202 __entry->ino = inode->i_ino; 211 TP_printk("dev = (%d,%d), ino = %lu, pino = %lu, i_mode = 0x%hx, " 230 __field(ino_t, ino) 237 __entry->ino = inode->i_ino; 242 TP_printk("dev = (%d,%d), ino = %lu, type: %s, mode = 0%o, ret = %d", 264 __field(ino_t, ino) 272 __entry->ino = inode->i_ino; 278 TP_printk("dev = (%d,%d), ino [all...] |
/linux-master/fs/nfsd/ |
H A D | nfsfh.h | 64 static inline __u32 ino_t_to_u32(ino_t ino) argument 66 return (__u32) ino; 142 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, argument 150 fsidv[1] = ino_t_to_u32(ino); 158 fsidv[2] = ino_t_to_u32(ino); 163 fsidv[1] = ino_t_to_u32(ino); 169 fsidv[0] = ino_t_to_u32(ino); 187 *(u64*)fsidv = (u64)ino;
|
/linux-master/fs/autofs/ |
H A D | waitq.c | 147 packet->ino = wq->ino; 209 struct autofs_info *ino; local 224 ino = autofs_dentry_ino(dentry); 225 if (!ino) 240 while (ino->flags & AUTOFS_INF_EXPIRING) { 395 wq->ino = autofs_get_ino(sbi); 453 struct autofs_info *ino; local 457 ino = autofs_dentry_ino(dentry); 458 if (!ino) { [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | trace.h | 135 __field(xfs_ino_t, ino) 145 __entry->ino = ip->i_ino; 153 TP_printk("dev %d:%d ino 0x%llx type %s agno 0x%x inum 0x%llx gen 0x%x flags (%s) error %d", 155 __entry->ino, 237 __field(xfs_ino_t, ino) 246 __entry->ino = sc->ip->i_ino; 253 TP_printk("dev %d:%d ino 0x%llx fork %s type %s fileoff 0x%llx error %d ret_ip %pS", 255 __entry->ino, 299 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, void *ret_ip), 300 TP_ARGS(sc, ino, ret_i [all...] |
/linux-master/fs/ufs/ |
H A D | ialloc.c | 64 unsigned ino, cg, bit; local 66 UFSD("ENTER, ino %lu\n", inode->i_ino); 71 ino = inode->i_ino; 75 if (!((ino > 1) && (ino < (uspi->s_ncg * uspi->s_ipg )))) { 76 ufs_warning(sb, "ufs_free_inode", "reserved inode or nonexistent inode %u\n", ino); 81 cg = ufs_inotocg (ino); 82 bit = ufs_inotocgoff (ino); 97 ufs_error(sb, "ufs_free_inode", "bit already cleared for inode %u", ino); 100 if (ino < ucp [all...] |
/linux-master/fs/overlayfs/ |
H A D | readdir.c | 22 u64 ino; member in struct:ovl_cache_entry 147 u64 ino, unsigned int d_type) 160 p->real_ino = ino; 161 p->ino = ino; 164 p->ino = 0; 178 const char *name, int len, u64 ino, 188 p = ovl_cache_entry_new(rdd, name, len, ino, d_type); 203 loff_t offset, u64 ino, unsigned int d_type) 211 p = ovl_cache_entry_new(rdd, name, namelen, ino, d_typ 145 ovl_cache_entry_new(struct ovl_readdir_data *rdd, const char *name, int len, u64 ino, unsigned int d_type) argument 177 ovl_cache_entry_add_rb(struct ovl_readdir_data *rdd, const char *name, int len, u64 ino, unsigned int d_type) argument 201 ovl_fill_lowest(struct ovl_readdir_data *rdd, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument 257 ovl_fill_merge(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument 436 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid, const char *name, int namelen, bool warn) argument 476 u64 ino = p->real_ino; local 547 ovl_fill_plain(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument 668 ovl_fill_real(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument 1050 ovl_check_d_type(struct dir_context *ctx, const char *name, int namelen, loff_t offset, u64 ino, unsigned int d_type) argument [all...] |
/linux-master/fs/nilfs2/ |
H A D | nilfs.h | 118 #define NILFS_MDT_INODE(sb, ino) \ 119 ((ino) < NILFS_FIRST_INO(sb) && (NILFS_MDT_INO_BITS & BIT(ino))) 120 #define NILFS_VALID_INODE(sb, ino) \ 121 ((ino) >= NILFS_FIRST_INO(sb) || (NILFS_SYS_INO_BITS & BIT(ino))) 262 unsigned long ino); 264 unsigned long ino); 266 unsigned long ino); 268 unsigned long ino, __u6 [all...] |
H A D | inode.c | 28 * @ino: inode number 36 u64 ino; member in struct:nilfs_iget_args 112 "%s (ino=%lu): a race condition while inserting a data block at offset=%llu", 315 unsigned long ino) 318 .ino = ino, .root = root, .cno = 0, .for_gc = false, 322 return insert_inode_locked4(inode, ino, nilfs_iget_test, &args); 334 ino_t ino; local 348 err = nilfs_ifile_create_inode(root->ifile, &ino, &bh); 353 if (unlikely(ino < NILFS_USER_IN 313 nilfs_insert_inode_locked(struct inode *inode, struct nilfs_root *root, unsigned long ino) argument 485 __nilfs_read_inode(struct super_block *sb, struct nilfs_root *root, unsigned long ino, struct inode *inode) argument 587 nilfs_ilookup(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument 598 nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument 609 nilfs_iget(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument 630 nilfs_iget_for_gc(struct super_block *sb, unsigned long ino, __u64 cno) argument 799 ino_t ino = inode->i_ino; local [all...] |
/linux-master/fs/f2fs/ |
H A D | node.h | 60 nid_t ino; /* inode number of the node's owner */ member in struct:node_info 75 #define nat_get_ino(nat) ((nat)->ni.ino) 76 #define nat_set_ino(nat, i) ((nat)->ni.ino = (i)) 86 dst->ino = src->ino; 117 ni->ino = le32_to_cpu(raw_ne->ino); 125 raw_ne->ino = cpu_to_le32(ni->ino); 242 return le32_to_cpu(rn->footer.ino); 270 fill_node_footer(struct page *page, nid_t nid, nid_t ino, unsigned int ofs, bool reset) argument [all...] |
/linux-master/fs/ |
H A D | readdir.c | 184 loff_t offset, u64 ino, unsigned int d_type) 196 d_ino = ino; 197 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { 263 loff_t offset, u64 ino, unsigned int d_type) 279 d_ino = ino; 280 if (sizeof(d_ino) < sizeof(ino) && d_ino != ino) { 351 loff_t offset, u64 ino, unsigned int d_type) 376 unsafe_put_user(ino, 183 fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument 262 filldir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument 350 filldir64(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument 440 compat_fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument 514 compat_filldir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument [all...] |
/linux-master/fs/freevxfs/ |
H A D | vxfs_lookup.c | 136 ino_t ino = 0; local 140 ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino); 145 return (ino); 166 ino_t ino; local 171 ino = vxfs_inode_by_name(dip, dp); 172 if (ino) 173 ip = vxfs_iget(dip->i_sb, ino);
|
/linux-master/fs/nfs/ |
H A D | pnfs.c | 270 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) argument 272 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; 273 return ld->alloc_layout_hdr(ino, gfp_flags); 1083 pnfs_alloc_init_layoutget_args(struct inode *ino, argument 1089 struct nfs_server *server = pnfs_find_server(ino, ctx); 1120 if (ino) { 1121 loff_t i_size = i_size_read(ino); 1133 lgp->args.inode = ino; 1244 struct inode *ino = lo->plh_inode; local 1245 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino) 1330 _pnfs_return_layout(struct inode *ino) argument 1420 pnfs_roc(struct inode *ino, struct nfs4_layoutreturn_args *args, struct nfs4_layoutreturn_res *res, const struct cred *cred) argument 1604 pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task) argument 1723 alloc_init_layout_hdr(struct inode *ino, struct nfs_open_context *ctx, gfp_t gfp_flags) argument 1849 pnfs_within_mdsthreshold(struct nfs_open_context *ctx, struct inode *ino, int iomode) argument 1963 pnfs_update_layout(struct inode *ino, struct nfs_open_context *ctx, loff_t pos, u64 count, enum pnfs_iomode iomode, bool strict_iomode, gfp_t gfp_flags) argument 2240 _pnfs_grab_empty_layout(struct inode *ino, struct nfs_open_context *ctx) argument 2270 struct inode *ino = data->dentry->d_inode; local 2305 struct inode *ino = data->dentry->d_inode; local 2342 pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp, struct nfs_open_context *ctx) argument 2408 struct inode *ino = lo->plh_inode; local [all...] |
/linux-master/fs/proc/ |
H A D | nommu.c | 33 unsigned long ino = 0; local 44 ino = inode->i_ino; 57 MAJOR(dev), MINOR(dev), ino);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_ialloc.h | 44 xfs_ino_t ino, struct xfs_icluster *ifree); 53 xfs_ino_t ino, /* inode to locate */ 72 * Lookup a record by ino in the btree given by cur. 74 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino,
|