/linux-master/fs/jfs/ |
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/kernfs/ |
H A D | dir.c | 714 * @id's lower 32bits encode ino and upper gen. If the gen portion is 724 ino_t ino = kernfs_id_ino(id); local 729 kn = idr_find(&root->ino_idr, (u32)ino); 735 if (kernfs_ino(kn) != ino) 978 * On 64bit ino setups, id is ino. On 32bit, low 32bits are ino. 979 * High bits generation. The starting value for both ino and 1827 struct kernfs_node *parent, ino_t ino, struct kernfs_node *pos) 1829 pos = kernfs_dir_pos(ns, parent, ino, po 1826 kernfs_dir_next_pos(const void *ns, struct kernfs_node *parent, ino_t ino, struct kernfs_node *pos) argument 1865 ino_t ino = kernfs_ino(pos); local [all...] |
H A D | mount.c | 106 id = ((u64)fid->i32.gen << 32) | fid->i32.ino;
|
/linux-master/fs/ |
H A D | libfs.c | 1419 fid->i32.ino = inode->i_ino; 1446 (struct super_block *sb, u64 ino, u32 gen)) 1456 inode = get_inode(sb, fid->i32.ino, fid->i32.gen); 1479 (struct super_block *sb, u64 ino, u32 gen)) 1444 generic_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)) argument 1477 generic_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)) argument
|
/linux-master/fs/minix/ |
H A D | bitmap.c | 107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument 113 if (!ino || ino > sbi->s_ninodes) { 115 sb->s_id, (long)ino); 118 ino--; 120 ino / MINIX_INODES_PER_BLOCK; 127 return p + ino % MINIX_INODES_PER_BLOCK; 131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument 139 if (!ino || ino > sb 189 unsigned long ino, bit; local [all...] |
H A D | inode.c | 578 struct inode *minix_iget(struct super_block *sb, unsigned long ino) argument 582 inode = iget_locked(sb, ino);
|
H A D | namei.c | 25 ino_t ino; local 30 ino = minix_inode_by_name(dentry); 31 if (ino) 32 inode = minix_iget(dir->i_sb, ino);
|
/linux-master/fs/nfs/ |
H A D | callback_proc.c | 249 struct inode *ino; local 254 ino = nfs_layout_find_inode(clp, &args->cbl_fh, &args->cbl_stateid); 255 if (IS_ERR(ino)) { 256 if (ino == ERR_PTR(-EAGAIN)) 261 pnfs_layoutcommit_inode(ino, false); 264 spin_lock(&ino->i_lock); 265 lo = NFS_I(ino)->layout; 267 spin_unlock(&ino->i_lock); 297 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { 298 NFS_SERVER(ino) [all...] |
H A D | dir.c | 139 u64 ino; member in struct:nfs_cache_array_entry 331 cache_entry->ino = entry->ino; 1105 nfs_compat_user_ino64(ent->ino), ent->d_type)) {
|
H A D | inode.c | 94 compat_ulong_t ino; local 96 unsigned long ino; 101 ino = fileid; 102 if (sizeof(ino) < sizeof(fileid)) 103 ino ^= fileid >> (sizeof(fileid)-sizeof(ino)) * 8; 104 return ino; 916 stat->ino = nfs_compat_user_ino64(NFS_FILEID(inode));
|
H A D | nfs2xdr.c | 948 entry->ino = be32_to_cpup(p);
|
H A D | nfs3xdr.c | 1988 error = decode_fileid3(xdr, &entry->ino); 2010 if (entry->fattr->fileid != entry->ino) { 2011 entry->fattr->mounted_on_fileid = entry->ino;
|
H A D | nfs4trace.h | 1115 __field(u64, ino) 1121 __entry->ino = NFS_FILEID(inode); 1130 (unsigned long long)__entry->ino
|
H A D | nfs4xdr.c | 7524 entry->ino = 1; 7537 entry->ino = entry->fattr->mounted_on_fileid; 7539 entry->ino = entry->fattr->fileid;
|
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...] |
H A D | pnfs.h | 300 bool pnfs_roc(struct inode *ino, 309 bool pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task); 320 struct pnfs_layout_segment *pnfs_update_layout(struct inode *ino, 426 void pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp, 607 static inline int pnfs_return_layout(struct inode *ino) argument 609 struct nfs_inode *nfsi = NFS_I(ino); 610 struct nfs_server *nfss = NFS_SERVER(ino); 614 return _pnfs_return_layout(ino); 739 static inline int pnfs_return_layout(struct inode *ino) argument 775 pnfs_roc(struct inode *ino, argument 800 pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task) argument 908 pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp, struct nfs_open_context *ctx) argument [all...] |
/linux-master/fs/nfs/filelayout/ |
H A D | filelayout.c | 459 dprintk("--> %s ino %lu pgbase %u req %zu@%llu\n", 517 dprintk("%s ino %lu sync %d req %zu@%llu DS: %s cl_count %d\n", 837 fl_pnfs_update_layout(struct inode *ino, argument 850 lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode, 860 lo = NFS_I(ino)->layout; 865 pnfs_error_mark_layout_for_return(ino, lseg); 1012 dprintk("%s ino %lu, how %d cl_count %d\n", __func__,
|
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 374 struct inode *ino = lseg->pls_layout->plh_inode; local 375 struct nfs_server *s = NFS_SERVER(ino); 414 pnfs_error_mark_layout_for_return(ino, lseg);
|
/linux-master/fs/nfsd/ |
H A D | nfs3xdr.c | 377 p = xdr_encode_hyper(p, stat->ino); 981 const char *name, int namlen, u64 ino) 1009 if (dchild->d_inode->i_ino != ino) 1038 int namlen, loff_t offset, u64 ino) 1046 if (xdr_stream_encode_u64(xdr, ino) < 0) 1065 * @ino: the fileid of this entry 1078 loff_t offset, u64 ino, unsigned int d_type) 1089 if (!svcxdr_encode_entry3_common(resp, name, namlen, offset, ino)) 1105 int namlen, u64 ino) 1113 if (compose_entry_fh(resp, fhp, name, namlen, ino) ! 980 compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp, const char *name, int namlen, u64 ino) argument 1037 svcxdr_encode_entry3_common(struct nfsd3_readdirres *resp, const char *name, int namlen, loff_t offset, u64 ino) argument 1077 nfs3svc_encode_entry3(void *data, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument 1104 svcxdr_encode_entry3_plus(struct nfsd3_readdirres *resp, const char *name, int namlen, u64 ino) argument 1152 nfs3svc_encode_entryplus3(void *data, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument [all...] |
H A D | nfs4recover.c | 272 loff_t offset, u64 ino, unsigned int d_type) 271 nfsd4_build_namelist(struct dir_context *__ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
|
H A D | nfs4state.c | 5637 struct inode *ino = file_inode(f); local 5640 writes = atomic_read(&ino->i_writecount);
|
H A D | nfs4xdr.c | 2865 *pino = stat.ino; 3122 return nfsd4_encode_uint64_t(xdr, args->stat.ino); 3290 u64 ino; local 3295 err = nfsd4_get_mounted_on_ino(args->exp, &ino); 3299 ino = args->stat.ino; 3301 return nfsd4_encode_uint64_t(xdr, ino); 3781 loff_t offset, u64 ino, unsigned int d_type) 3780 nfsd4_encode_entry4(void *ccdv, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
|
H A D | nfsctl.c | 103 ino_t ino = file_inode(file)->i_ino; local 107 if (ino >= ARRAY_SIZE(write_op) || !write_op[ino]) 114 rv = write_op[ino](file, data, size);
|
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;
|
H A D | nfsxdr.c | 261 *p++ = cpu_to_be32((u32)stat->ino); 576 int namlen, loff_t offset, u64 ino) 584 if (xdr_stream_encode_u32(xdr, (u32)ino) < 0) 603 * @ino: the fileid of this entry 616 loff_t offset, u64 ino, unsigned int d_type) 627 if (!svcxdr_encode_entry_common(resp, name, namlen, offset, ino)) 575 svcxdr_encode_entry_common(struct nfsd_readdirres *resp, const char *name, int namlen, loff_t offset, u64 ino) argument 615 nfssvc_encode_entry(void *data, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) argument
|