Home
last modified time | relevance | path

Searched refs:ino (Results 101 – 125 of 435) sorted by relevance

12345678910>>...18

/openbmc/linux/fs/ubifs/
H A Ddebug.c442 key_read(c, &ino->key, &key); in ubifs_dump_node()
1815 struct ubifs_ino_node *ino) in add_inode() argument
1933 struct ubifs_ino_node *ino; in read_add_inode() local
1959 if (!ino) in read_add_inode()
1966 kfree(ino); in read_add_inode()
1970 fscki = add_inode(c, fsckd, ino); in read_add_inode()
1971 kfree(ino); in read_add_inode()
2168 struct ubifs_ino_node *ino; in check_inodes() local
2254 if (!ino) in check_inodes()
2261 kfree(ino); in check_inodes()
[all …]
H A Dsuper.c111 struct ubifs_ino_node *ino; in ubifs_iget() local
126 if (!ino) { in ubifs_iget()
133 err = ubifs_tnc_lookup(c, &key, ino); in ubifs_iget()
142 set_nlink(inode, le32_to_cpu(ino->nlink)); in ubifs_iget()
143 i_uid_write(inode, le32_to_cpu(ino->uid)); in ubifs_iget()
150 le32_to_cpu(ino->ctime_nsec)); in ubifs_iget()
151 inode->i_mode = le32_to_cpu(ino->mode); in ubifs_iget()
152 inode->i_size = le64_to_cpu(ino->size); in ubifs_iget()
221 dev = (union ubifs_dev_desc *)ino->data; in ubifs_iget()
249 kfree(ino); in ubifs_iget()
[all …]
/openbmc/linux/fs/btrfs/
H A Dexport.c235 u64 ino; in btrfs_get_name() local
240 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_get_name()
246 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name()
252 key.objectid = ino; in btrfs_get_name()
262 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name()
271 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_name()
H A Ddefrag.c29 u64 ino; member
56 else if (defrag1->ino > defrag2->ino) in __compare_inode_defrag()
58 else if (defrag1->ino < defrag2->ino) in __compare_inode_defrag()
149 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
176 struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() argument
184 tmp.ino = ino; in btrfs_pick_defrag_inode()
259 inode = btrfs_iget(fs_info->sb, defrag->ino, inode_root); in __btrfs_run_defrag_inode()
325 first_ino = defrag->ino + 1; in btrfs_run_defrag_inodes()
490 u64 ino = btrfs_ino(inode); in defrag_get_extent() local
499 key.objectid = ino; in defrag_get_extent()
[all …]
H A Dtree-log.c1541 key.objectid = ino; in count_inode_refs()
1635 ino, 1); in fixup_inode_link_count()
3955 key.objectid = ino; in update_last_dir_index_offset()
5335 u64 ino; member
5494 ino = dir_elem->ino; in log_new_dir_dentries()
5524 u64 ino; member
5632 ino_elem->ino = ino; in add_conflicting_inode()
5685 ino_elem->ino = ino; in add_conflicting_inode()
5718 u64 ino; in log_conflicting_inodes() local
5723 ino = curr->ino; in log_conflicting_inodes()
[all …]
/openbmc/linux/fs/jffs2/
H A Dwbuf.c42 uint32_t ino; member
57 if (this && !ino) in jffs2_wbuf_pending_for_ino()
62 if (this->ino == ino) in jffs2_wbuf_pending_for_ino()
92 if (jffs2_wbuf_pending_for_ino(c, ino)) in jffs2_wbuf_dirties_inode()
102 new->ino = ino; in jffs2_wbuf_dirties_inode()
505 f = jffs2_gc_fetch_inode(c, ic->ino, !ic->pino_nlink); in jffs2_wbuf_recover()
509 ic->ino, PTR_ERR(f)); in jffs2_wbuf_recover()
714 if (!jffs2_wbuf_pending_for_ino(c, ino)) { in jffs2_flush_wbuf_gc()
796 uint32_t ino) in jffs2_flash_writev() argument
911 if (c->wbuf_len && ino) in jffs2_flash_writev()
[all …]
H A Dscan.c425 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node()
438 ofs, ref->xid, ref->ino); in jffs2_scan_xref_node()
969 ic = jffs2_get_ino_cache(c, ino); in jffs2_scan_make_ino_cache()
973 if (ino > c->highest_ino) in jffs2_scan_make_ino_cache()
974 c->highest_ino = ino; in jffs2_scan_make_ino_cache()
983 ic->ino = ino; in jffs2_scan_make_ino_cache()
986 if (ino == 1) in jffs2_scan_make_ino_cache()
995 uint32_t crc, ino = je32_to_cpu(ri->ino); in jffs2_scan_inode_node() local
1021 ic = jffs2_get_ino_cache(c, ino); in jffs2_scan_inode_node()
1089 fd->name, je32_to_cpu(rd->ino)); in jffs2_scan_dirent_node()
[all …]
H A Dnodelist.h144 #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) )
174 uint32_t ino; member
259 uint32_t ino; /* == zero for unlink */ member
366 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino);
411 int jffs2_do_link(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino,
417 uint32_t ino, struct jffs2_raw_inode *latest_node);
463 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino);
476 int jffs2_flush_wbuf_gc(struct jffs2_sb_info *c, uint32_t ino);
H A Dsummary.c82 je32_to_cpu(item->d.ino)); in jffs2_sum_add_mem()
124 temp->inode = ri->ino; in jffs2_sum_add_inode_mem()
147 temp->ino = rd->ino; in jffs2_sum_add_dirent_mem()
272 temp->inode = node->i.ino; in jffs2_sum_add_kvec()
293 temp->ino = node->d.ino; in jffs2_sum_add_kvec()
392 int i, ino; in jffs2_sum_process_sum_data() local
412 ino = je32_to_cpu(spi->inode); in jffs2_sum_process_sum_data()
418 ic = jffs2_scan_make_ino_cache(c, ino); in jffs2_sum_process_sum_data()
478 fd->ino = je32_to_cpu(spd->ino); in jffs2_sum_process_sum_data()
744 sdrnt_ptr->ino = temp->d.ino; in jffs2_sum_write_data()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_ialloc.h44 xfs_ino_t ino, struct xfs_icluster *ifree);
53 xfs_ino_t ino, /* inode to locate */
74 int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino,
H A Dxfs_attr_remote.c69 xfs_ino_t ino, in xfs_attr3_rmt_hdr_ok() argument
82 if (ino != be64_to_cpu(rmt->rm_owner)) in xfs_attr3_rmt_hdr_ok()
242 xfs_ino_t ino, in xfs_attr3_rmt_hdr_set() argument
256 rmt->rm_owner = cpu_to_be64(ino); in xfs_attr3_rmt_hdr_set()
281 xfs_ino_t ino, in xfs_attr_rmtval_copyout() argument
300 if (xfs_attr3_rmt_hdr_ok(src, ino, *offset, in xfs_attr_rmtval_copyout()
304 bno, *offset, byte_cnt, ino); in xfs_attr_rmtval_copyout()
329 xfs_ino_t ino, in xfs_attr_rmtval_copyin() argument
346 hdr_size = xfs_attr3_rmt_hdr_set(mp, dst, ino, *offset, in xfs_attr_rmtval_copyin()
H A Dxfs_symlink_remote.c38 xfs_ino_t ino, in xfs_symlink_hdr_set() argument
53 dsl->sl_owner = cpu_to_be64(ino); in xfs_symlink_hdr_set()
67 xfs_ino_t ino, in xfs_symlink_hdr_ok() argument
78 if (ino != be64_to_cpu(dsl->sl_owner)) in xfs_symlink_hdr_ok()
/openbmc/linux/fs/ext2/
H A Dnamei.c59 ino_t ino; in ext2_lookup() local
65 res = ext2_inode_by_name(dir, &dentry->d_name, &ino); in ext2_lookup()
71 inode = ext2_iget(dir->i_sb, ino); in ext2_lookup()
75 (unsigned long) ino); in ext2_lookup()
84 ino_t ino; in ext2_get_parent() local
87 res = ext2_inode_by_name(d_inode(child), &dotdot_name, &ino); in ext2_get_parent()
91 return d_obtain_alias(ext2_iget(child->d_sb, ino)); in ext2_get_parent()
/openbmc/linux/fs/xfs/
H A Dxfs_itable.c60 xfs_ino_t ino, in xfs_bulkstat_one_int() argument
72 if (xfs_internal_inum(mp, ino)) in xfs_bulkstat_one_int()
75 error = xfs_iget(mp, tp, ino, in xfs_bulkstat_one_int()
104 buf->bs_ino = ino; in xfs_bulkstat_one_int()
174 bc->breq->startino = ino + 1; in xfs_bulkstat_one_int()
233 xfs_ino_t ino, in xfs_bulkstat_iwalk() argument
239 error = xfs_bulkstat_one_int(mp, bc->breq->idmap, tp, ino, data); in xfs_bulkstat_iwalk()
/openbmc/linux/fs/openpromfs/
H A Dinode.c43 static struct inode *openprom_iget(struct super_block *sb, ino_t ino);
190 unsigned int ino; in openpromfs_lookup() local
211 ino = child->unique_id; in openpromfs_lookup()
224 ino = prop->unique_id; in openpromfs_lookup()
235 inode = openprom_iget(dir->i_sb, ino); in openpromfs_lookup()
350 static struct inode *openprom_iget(struct super_block *sb, ino_t ino) in openprom_iget() argument
352 struct inode *inode = iget_locked(sb, ino); in openprom_iget()
/openbmc/linux/fs/nfs/
H A Dpnfs.h297 bool pnfs_roc(struct inode *ino,
317 struct pnfs_layout_segment *pnfs_update_layout(struct inode *ino,
423 void pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp,
604 static inline int pnfs_return_layout(struct inode *ino) in pnfs_return_layout() argument
606 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout()
607 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
611 return _pnfs_return_layout(ino); in pnfs_return_layout()
736 static inline int pnfs_return_layout(struct inode *ino) in pnfs_return_layout() argument
772 pnfs_roc(struct inode *ino, in pnfs_roc() argument
797 pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task) in pnfs_wait_on_layoutreturn() argument
[all …]
/openbmc/linux/fs/f2fs/
H A Drecovery.c67 nid_t ino) in get_fsync_inode() argument
72 if (entry->inode->i_ino == ino) in get_fsync_inode()
85 inode = f2fs_iget_retry(sbi->sb, ino); in add_fsync_inode()
198 if (de && inode->i_ino == le32_to_cpu(de->ino)) in recover_dentry()
504 nid_t ino, nid; in check_index_in_prev_nodes() local
561 ino = ino_of_node(node_page); in check_index_in_prev_nodes()
564 if (ino != dn->inode->i_ino) { in check_index_in_prev_nodes()
568 inode = f2fs_iget_retry(sbi->sb, ino); in check_index_in_prev_nodes()
600 if (ino != dn->inode->i_ino) in check_index_in_prev_nodes()
676 f2fs_bug_on(sbi, ni.ino != ino_of_node(page)); in do_recover_data()
[all …]
/openbmc/linux/fs/
H A Dinode.c563 unsigned long ino; in dump_mapping() local
594 a_ops, ino, dentry_ptr); in dump_mapping()
932 if (inode->i_ino != ino) in find_inode_fast()
1303 inode = find_inode_fast(sb, head, ino); in iget_locked()
1322 old = find_inode_fast(sb, head, ino); in iget_locked()
1324 inode->i_ino = ino; in iget_locked()
1513 inode = find_inode_fast(sb, head, ino); in ilookup()
1639 unsigned long ino) in find_inode_by_ino_rcu() argument
1648 if (inode->i_ino == ino && in find_inode_by_ino_rcu()
1660 ino_t ino = inode->i_ino; in insert_inode_locked() local
[all …]
/openbmc/linux/include/linux/
H A Dexportfs.h121 u32 ino; member
257 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
260 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
/openbmc/linux/fs/exportfs/
H A Dexpfs.c242 u64 ino; /* the inum we are looking for */ member
252 loff_t pos, u64 ino, unsigned int d_type) in filldir_one() argument
258 if (buf->ino == ino && len <= NAME_MAX) { in filldir_one()
308 buffer.ino = stat.ino; in get_name()
372 fid->i32.ino = inode->i_ino; in export_encode_fh()
/openbmc/linux/kernel/
H A Daudit.h78 unsigned long ino; member
222 static inline int audit_hash_ino(u32 ino) in audit_hash_ino() argument
224 return (ino & (AUDIT_INODE_BUCKETS-1)); in audit_hash_ino()
274 extern int audit_watch_compare(struct audit_watch *watch, unsigned long ino,
283 unsigned long ino, dev_t dev);
/openbmc/linux/fs/xfs/scrub/
H A Dcommon.h49 void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino);
54 void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino);
61 xfs_ino_t ino);
65 void xchk_ino_set_warning(struct xfs_scrub *sc, xfs_ino_t ino);
H A Dcommon.c204 xfs_ino_t ino) in xchk_ino_set_preen() argument
207 trace_xchk_ino_preen(sc, ino, __return_address); in xchk_ino_set_preen()
247 xfs_ino_t ino) in xchk_ino_set_corrupt() argument
250 trace_xchk_ino_error(sc, ino, __return_address); in xchk_ino_set_corrupt()
257 xfs_ino_t ino) in xchk_ino_xref_set_corrupt() argument
260 trace_xchk_ino_error(sc, ino, __return_address); in xchk_ino_xref_set_corrupt()
292 xfs_ino_t ino) in xchk_ino_set_warning() argument
295 trace_xchk_ino_warning(sc, ino, __return_address); in xchk_ino_set_warning()
1258 xfs_ino_t ino; in xchk_inode_is_allocated() local
1276 if (!xfs_verify_ino(mp, ino)) in xchk_inode_is_allocated()
[all …]
/openbmc/linux/fs/tracefs/
H A Devent_inode.c53 if (!ei->ino) { in eventfs_dir_ino()
54 ei->ino = get_next_ino(); in eventfs_dir_ino()
56 if (ei->ino == EVENTFS_FILE_INODE_INO) in eventfs_dir_ino()
57 ei->ino = get_next_ino(); in eventfs_dir_ino()
60 return ei->ino; in eventfs_dir_ino()
659 int ino; in eventfs_iterate() local
706 ino = EVENTFS_FILE_INODE_INO; in eventfs_iterate()
708 if (!dir_emit(ctx, name, strlen(name), ino, DT_REG)) in eventfs_iterate()
730 ino = eventfs_dir_ino(ei_child); in eventfs_iterate()
732 if (!dir_emit(ctx, name, strlen(name), ino, DT_DIR)) in eventfs_iterate()
/openbmc/linux/fs/autofs/
H A Ddev-ioctl.c218 struct autofs_info *ino = autofs_dentry_ino(path->dentry); in test_by_type() local
220 return ino && ino->sbi->type & *(unsigned *)p; in test_by_type()
424 struct autofs_info *ino; in autofs_dev_ioctl_requester() local
439 ino = autofs_dentry_ino(path.dentry); in autofs_dev_ioctl_requester()
440 if (ino) { in autofs_dev_ioctl_requester()
445 from_kuid_munged(current_user_ns(), ino->uid); in autofs_dev_ioctl_requester()
447 from_kgid_munged(current_user_ns(), ino->gid); in autofs_dev_ioctl_requester()

12345678910>>...18