/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | inode.c | 72 xfs_ino_t ino, in xchk_inode_extsize() 81 xchk_ino_set_corrupt(sc, ino); in xchk_inode_extsize() 94 xfs_ino_t ino, in xchk_inode_cowextsize() 105 xchk_ino_set_corrupt(sc, ino); in xchk_inode_cowextsize() 113 xfs_ino_t ino, in xchk_inode_flags() 128 if ((flags & XFS_DIFLAG_NEWRTBM) && ino != mp->m_sb.sb_rbmino) in xchk_inode_flags() 150 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags() 158 xfs_ino_t ino, in xchk_inode_flags2() 167 xchk_ino_set_warning(sc, ino); in xchk_inode_flags2() 199 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags2() 69 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 91 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 110 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 155 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 203 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 218 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 434 xchk_inode_xref_finobt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_xref_finobt() argument 511 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument 546 xchk_inode_check_reflink_iflag( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_check_reflink_iflag() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | prom_irqtrans.c | 19 static unsigned long psycho_pcislot_imap_offset(unsigned long ino) in psycho_pcislot_imap_offset() argument 21 unsigned int bus = (ino & 0x10) >> 4; in psycho_pcislot_imap_offset() 22 unsigned int slot = (ino & 0x0c) >> 2; in psycho_pcislot_imap_offset() 39 #define psycho_iclr_offset(ino) \ 40 ((ino & 0x20) ? (PSYCHO_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \ 41 (PSYCHO_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3))) 44 unsigned int ino, in psycho_irq_build() 52 ino &= 0x3f; in psycho_irq_build() 53 if (ino < PSYCHO_ONBOARD_IRQ_BAS in psycho_irq_build() 43 psycho_irq_build(struct device_node *dp, unsigned int ino, void *_data) psycho_irq_build() argument 114 sabre_wsync_handler(unsigned int ino, void *_arg1, void *_arg2) sabre_wsync_handler() argument 162 sabre_pcislot_imap_offset(unsigned long ino) sabre_pcislot_imap_offset() argument 221 sabre_irq_build(struct device_node *dp, unsigned int ino, void *_data) sabre_irq_build() argument 295 schizo_imap_offset(unsigned long ino) schizo_imap_offset() argument 300 schizo_iclr_offset(unsigned long ino) schizo_iclr_offset() argument 305 schizo_ino_to_iclr(unsigned long pbm_regs, unsigned int ino) schizo_ino_to_iclr() argument 312 schizo_ino_to_imap(unsigned long pbm_regs, unsigned int ino) schizo_ino_to_imap() argument 333 tomatillo_wsync_handler(unsigned int ino, void *_arg1, void *_arg2) tomatillo_wsync_handler() argument 378 schizo_irq_build(struct device_node *dp, unsigned int ino, void *_data) schizo_irq_build() argument 488 fire_imap_offset(unsigned long ino) fire_imap_offset() argument 493 fire_iclr_offset(unsigned long ino) fire_iclr_offset() argument 498 fire_ino_to_iclr(unsigned long pbm_regs, unsigned int ino) fire_ino_to_iclr() argument 504 fire_ino_to_imap(unsigned long pbm_regs, unsigned int ino) fire_ino_to_imap() argument 510 fire_irq_build(struct device_node *dp, unsigned int ino, void *_data) fire_irq_build() argument 648 sbus_of_build_irq(struct device_node *dp, unsigned int ino, void *_data) sbus_of_build_irq() argument 718 central_build_irq(struct device_node *dp, unsigned int ino, void *_data) central_build_irq() argument [all...] |
/kernel/linux/linux-6.6/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) \ 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() 53 ino &= 0x3f; in psycho_irq_build() 54 if (ino < PSYCHO_ONBOARD_IRQ_BAS in psycho_irq_build() 44 psycho_irq_build(struct device_node *dp, unsigned int ino, void *_data) psycho_irq_build() argument 115 sabre_wsync_handler(unsigned int ino, void *_arg1, void *_arg2) sabre_wsync_handler() argument 163 sabre_pcislot_imap_offset(unsigned long ino) sabre_pcislot_imap_offset() argument 222 sabre_irq_build(struct device_node *dp, unsigned int ino, void *_data) sabre_irq_build() argument 296 schizo_imap_offset(unsigned long ino) schizo_imap_offset() argument 301 schizo_iclr_offset(unsigned long ino) schizo_iclr_offset() argument 306 schizo_ino_to_iclr(unsigned long pbm_regs, unsigned int ino) schizo_ino_to_iclr() argument 313 schizo_ino_to_imap(unsigned long pbm_regs, unsigned int ino) schizo_ino_to_imap() argument 334 tomatillo_wsync_handler(unsigned int ino, void *_arg1, void *_arg2) tomatillo_wsync_handler() argument 379 schizo_irq_build(struct device_node *dp, unsigned int ino, void *_data) schizo_irq_build() argument 489 fire_imap_offset(unsigned long ino) fire_imap_offset() argument 494 fire_iclr_offset(unsigned long ino) fire_iclr_offset() argument 499 fire_ino_to_iclr(unsigned long pbm_regs, unsigned int ino) fire_ino_to_iclr() argument 505 fire_ino_to_imap(unsigned long pbm_regs, unsigned int ino) fire_ino_to_imap() argument 511 fire_irq_build(struct device_node *dp, unsigned int ino, void *_data) fire_irq_build() argument 649 sbus_of_build_irq(struct device_node *dp, unsigned int ino, void *_data) sbus_of_build_irq() argument 719 central_build_irq(struct device_node *dp, unsigned int ino, void *_data) central_build_irq() argument [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode.c | 50 static uint8_t read_ino_domain(uint64_t ino) in read_ino_domain() argument 53 .ino_output = ino, in read_ino_domain() 64 /* The ino of remote inode */ 71 /* Returned inode's ino */ 72 union hmdfs_ino ino; member 88 WARN_ON(ia->ino.domain < DOMAIN_ROOT || in iget_test() 89 ia->ino.domain >= DOMAIN_INVALID); in iget_test() 93 if (read_ino_domain(inode->i_ino) != ia->ino.domain) in iget_test() 96 switch (ia->ino.domain) { in iget_test() 130 inode->i_ino = ia->ino in iget_set() [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode.c | 50 static uint8_t read_ino_domain(uint64_t ino) in read_ino_domain() argument 53 .ino_output = ino, in read_ino_domain() 64 /* The ino of remote inode */ 71 /* Returned inode's ino */ 72 union hmdfs_ino ino; member 88 WARN_ON(ia->ino.domain < DOMAIN_ROOT || in iget_test() 89 ia->ino.domain >= DOMAIN_INVALID); in iget_test() 93 if (read_ino_domain(inode->i_ino) != ia->ino.domain) in iget_test() 96 switch (ia->ino.domain) { in iget_test() 130 inode->i_ino = ia->ino in iget_set() [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | inode.c | 206 xfs_ino_t ino, in xchk_inode_extsize() 215 xchk_ino_set_corrupt(sc, ino); in xchk_inode_extsize() 229 xchk_ino_set_warning(sc, ino); in xchk_inode_extsize() 242 xfs_ino_t ino, in xchk_inode_cowextsize() 253 xchk_ino_set_corrupt(sc, ino); in xchk_inode_cowextsize() 261 xfs_ino_t ino, in xchk_inode_flags() 276 if ((flags & XFS_DIFLAG_NEWRTBM) && ino != mp->m_sb.sb_rbmino) in xchk_inode_flags() 298 xchk_ino_set_corrupt(sc, ino); in xchk_inode_flags() 306 xfs_ino_t ino, in xchk_inode_flags2() 315 xchk_ino_set_warning(sc, ino); in xchk_inode_flags2() 203 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 239 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 258 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 303 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 346 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 361 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 593 xchk_inode_xref_finobt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_xref_finobt() argument 670 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument 707 xchk_inode_check_reflink_iflag( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_check_reflink_iflag() argument [all...] |
/kernel/linux/linux-6.6/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() 163 struct autofs_info *ino; in autofs_direct_busy() local 165 ino = autofs_dentry_ino(top); in autofs_direct_busy() 166 if (ino) in autofs_direct_busy() 167 ino in autofs_direct_busy() 213 struct autofs_info *ino = autofs_dentry_ino(p); autofs_tree_busy() local 280 struct autofs_info *ino; autofs_expire_direct() local 326 struct autofs_info *ino = autofs_dentry_ino(dentry); should_expire() local 430 struct autofs_info *ino; autofs_expire_indirect() local 493 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_expire_wait() local 542 struct autofs_info *ino; autofs_expire_run() local 587 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_do_expire_multi() local [all...] |
H A D | root.c | 70 struct autofs_info *ino; in autofs_del_active() local 72 ino = autofs_dentry_ino(dentry); in autofs_del_active() 74 list_del_init(&ino->active); in autofs_del_active() 82 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_dir_open() local 99 if (!path_is_mountpoint(&file->f_path) && autofs_empty(ino)) { in autofs_dir_open() 111 struct autofs_info *ino = autofs_dentry_ino(de); in autofs_dentry_release() local 116 if (!ino) in autofs_dentry_release() 121 if (!list_empty(&ino->active)) in autofs_dentry_release() 122 list_del(&ino->active); in autofs_dentry_release() 123 if (!list_empty(&ino in autofs_dentry_release() 146 struct autofs_info *ino; autofs_lookup_active() local 201 struct autofs_info *ino; autofs_lookup_expiring() local 248 struct autofs_info *ino = autofs_dentry_ino(path->dentry); autofs_mount_wait() local 317 struct autofs_info *ino; autofs_mountpoint_changed() local 335 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_d_automount() local 423 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_d_manage() local 497 struct autofs_info *ino; autofs_lookup() local 570 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_symlink() local 626 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_unlink() local 695 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_rmdir() local 728 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_mkdir() local [all...] |
/kernel/linux/linux-5.10/fs/sysv/ |
H A D | ialloc.c | 57 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode() argument 63 block += (ino-1) >> sbi->s_inodes_per_block_bits; in sysv_raw_inode() 68 return res + ((ino-1) & sbi->s_inodes_per_block_1); in sysv_raw_inode() 76 int i = 0, ino; in refill_free_cache() local 78 ino = SYSV_ROOT_INO+1; in refill_free_cache() 79 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() 82 while (ino <= sbi->s_ninodes) { in refill_free_cache() 84 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino); in refill_free_cache() 88 if ((ino++ & sbi->s_inodes_per_block_1) == 0) { in refill_free_cache() 90 raw_inode = sysv_raw_inode(sb, ino, in refill_free_cache() 105 unsigned int ino; sysv_free_inode() local 141 sysv_ino_t ino; sysv_new_inode() local 187 int ino, count, sb_count; sysv_count_free_inodes() local [all...] |
/kernel/linux/linux-6.6/fs/sysv/ |
H A D | ialloc.c | 57 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode() argument 63 block += (ino-1) >> sbi->s_inodes_per_block_bits; in sysv_raw_inode() 68 return res + ((ino-1) & sbi->s_inodes_per_block_1); in sysv_raw_inode() 76 int i = 0, ino; in refill_free_cache() local 78 ino = SYSV_ROOT_INO+1; in refill_free_cache() 79 raw_inode = sysv_raw_inode(sb, ino, &bh); in refill_free_cache() 82 while (ino <= sbi->s_ninodes) { in refill_free_cache() 84 *sv_sb_fic_inode(sb,i++) = cpu_to_fs16(SYSV_SB(sb), ino); in refill_free_cache() 88 if ((ino++ & sbi->s_inodes_per_block_1) == 0) { in refill_free_cache() 90 raw_inode = sysv_raw_inode(sb, ino, in refill_free_cache() 105 unsigned int ino; sysv_free_inode() local 141 sysv_ino_t ino; sysv_new_inode() local 187 int ino, count, sb_count; sysv_count_free_inodes() local [all...] |
/kernel/linux/linux-5.10/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() 163 struct autofs_info *ino; in autofs_direct_busy() local 165 ino = autofs_dentry_ino(top); in autofs_direct_busy() 166 if (ino) in autofs_direct_busy() 167 ino in autofs_direct_busy() 213 struct autofs_info *ino = autofs_dentry_ino(p); autofs_tree_busy() local 280 struct autofs_info *ino; autofs_expire_direct() local 326 struct autofs_info *ino = autofs_dentry_ino(dentry); should_expire() local 430 struct autofs_info *ino; autofs_expire_indirect() local 493 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_expire_wait() local 542 struct autofs_info *ino; autofs_expire_run() local 587 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_do_expire_multi() local [all...] |
H A D | root.c | 66 struct autofs_info *ino; in autofs_del_active() local 68 ino = autofs_dentry_ino(dentry); in autofs_del_active() 70 list_del_init(&ino->active); in autofs_del_active() 106 struct autofs_info *ino = autofs_dentry_ino(de); in autofs_dentry_release() local 111 if (!ino) in autofs_dentry_release() 116 if (!list_empty(&ino->active)) in autofs_dentry_release() 117 list_del(&ino->active); in autofs_dentry_release() 118 if (!list_empty(&ino->expiring)) in autofs_dentry_release() 119 list_del(&ino->expiring); in autofs_dentry_release() 123 autofs_free_ino(ino); in autofs_dentry_release() 141 struct autofs_info *ino; autofs_lookup_active() local 196 struct autofs_info *ino; autofs_lookup_expiring() local 243 struct autofs_info *ino = autofs_dentry_ino(path->dentry); autofs_mount_wait() local 295 struct autofs_info *ino; autofs_mountpoint_changed() local 313 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_d_automount() local 401 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_d_manage() local 478 struct autofs_info *ino; autofs_lookup() local 532 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_symlink() local 599 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_unlink() local 679 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_rmdir() local 722 struct autofs_info *ino = autofs_dentry_ino(dentry); autofs_dir_mkdir() local [all...] |
/kernel/linux/linux-5.10/fs/affs/ |
H A D | dir.c | 56 u32 ino; in affs_readdir() local 59 pr_debug("%s(ino=%lu,f_pos=%llx)\n", __func__, inode->i_ino, ctx->pos); in affs_readdir() 83 ino = (u32)(long)file->private_data; in affs_readdir() 84 if (ino && inode_eq_iversion(inode, file->f_version)) { in affs_readdir() 85 pr_debug("readdir() left off=%d\n", ino); in affs_readdir() 89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 90 for (i = 0; ino && i < chain_pos; i++) { in affs_readdir() 91 fh_bh = affs_bread(sb, ino); in affs_readdir() 97 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir() 101 if (ino) in affs_readdir() [all...] |
/kernel/linux/linux-6.6/fs/affs/ |
H A D | dir.c | 56 u32 ino; in affs_readdir() local 59 pr_debug("%s(ino=%lu,f_pos=%llx)\n", __func__, inode->i_ino, ctx->pos); in affs_readdir() 83 ino = (u32)(long)file->private_data; in affs_readdir() 84 if (ino && inode_eq_iversion(inode, file->f_version)) { in affs_readdir() 85 pr_debug("readdir() left off=%d\n", ino); in affs_readdir() 89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 90 for (i = 0; ino && i < chain_pos; i++) { in affs_readdir() 91 fh_bh = affs_bread(sb, ino); in affs_readdir() 97 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); in affs_readdir() 101 if (ino) in affs_readdir() [all...] |
/third_party/libfuse/include/ |
H A D | fuse_lowlevel.h | 64 * ino the kernel may cache negative entries for entry_timeout 67 fuse_ino_t ino; member 72 * ino/generation pairs need to be unique over the file 126 fuse_ino_t ino; member 279 * @param ino the inode number 282 void (*forget) (fuse_req_t req, fuse_ino_t ino, uint64_t nlookup); 300 * @param ino the inode number 303 void (*getattr) (fuse_req_t req, fuse_ino_t ino, 335 * @param ino the inode number 340 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struc [all...] |
/third_party/libfuse/example/ |
H A D | hello_ll.c | 35 static int hello_stat(fuse_ino_t ino, struct stat *stbuf) in hello_stat() argument 37 stbuf->st_ino = ino; in hello_stat() 38 switch (ino) { in hello_stat() 56 static void hello_ll_getattr(fuse_req_t req, fuse_ino_t ino, in hello_ll_getattr() argument 64 if (hello_stat(ino, &stbuf) == -1) in hello_ll_getattr() 78 e.ino = 2; in hello_ll_lookup() 81 hello_stat(e.ino, &e.attr); in hello_ll_lookup() 93 fuse_ino_t ino) in dirbuf_add() 100 stbuf.st_ino = ino; in dirbuf_add() 117 static void hello_ll_readdir(fuse_req_t req, fuse_ino_t ino, size_ argument 92 dirbuf_add(fuse_req_t req, struct dirbuf *b, const char *name, fuse_ino_t ino) dirbuf_add() argument 136 hello_ll_open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) hello_ll_open() argument 147 hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) hello_ll_read() argument 156 hello_ll_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) hello_ll_getxattr() argument 172 hello_ll_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) hello_ll_setxattr() argument 191 hello_ll_removexattr(fuse_req_t req, fuse_ino_t ino, const char *name) hello_ll_removexattr() argument [all...] |
H A D | passthrough_ll.c | 75 ino_t ino; member 150 static struct lo_inode *lo_inode(fuse_req_t req, fuse_ino_t ino) in lo_inode() argument 152 if (ino == FUSE_ROOT_ID) in lo_inode() 155 return (struct lo_inode *) (uintptr_t) ino; in lo_inode() 158 static int lo_fd(fuse_req_t req, fuse_ino_t ino) in lo_fd() argument 160 return lo_inode(req, ino)->fd; in lo_fd() 200 static void lo_getattr(fuse_req_t req, fuse_ino_t ino, in lo_getattr() argument 209 res = fstatat(lo_fd(req, ino), "", &buf, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW); in lo_getattr() 216 static void lo_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr, in lo_setattr() argument 221 struct lo_inode *inode = lo_inode(req, ino); in lo_setattr() 435 lo_link(fuse_req_t req, fuse_ino_t ino, fuse_ino_t parent, const char *name) lo_link() argument 537 lo_forget_one(fuse_req_t req, fuse_ino_t ino, uint64_t nlookup) lo_forget_one() argument 552 lo_forget(fuse_req_t req, fuse_ino_t ino, uint64_t nlookup) lo_forget() argument 568 lo_readlink(fuse_req_t req, fuse_ino_t ino) lo_readlink() argument 596 lo_opendir(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) lo_opendir() argument 641 lo_do_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, struct fuse_file_info *fi, int plus) lo_do_readdir() argument 734 lo_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, struct fuse_file_info *fi) lo_readdir() argument 740 lo_readdirplus(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, struct fuse_file_info *fi) lo_readdirplus() argument 746 lo_releasedir(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) lo_releasedir() argument 785 lo_fsyncdir(fuse_req_t req, fuse_ino_t ino, int datasync, struct fuse_file_info *fi) lo_fsyncdir() argument 798 lo_open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) lo_open() argument 837 lo_release(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) lo_release() argument 845 lo_flush(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) lo_flush() argument 853 lo_fsync(fuse_req_t req, fuse_ino_t ino, int datasync, struct fuse_file_info *fi) lo_fsync() argument 865 lo_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, struct fuse_file_info *fi) lo_read() argument 881 lo_write_buf(fuse_req_t req, fuse_ino_t ino, struct fuse_bufvec *in_buf, off_t off, struct fuse_file_info *fi) lo_write_buf() argument 904 lo_statfs(fuse_req_t req, fuse_ino_t ino) lo_statfs() argument 916 lo_fallocate(fuse_req_t req, fuse_ino_t ino, int mode, off_t offset, off_t length, struct fuse_file_info *fi) lo_fallocate() argument 939 lo_flock(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi, int op) lo_flock() argument 950 lo_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) lo_getxattr() argument 1001 lo_listxattr(fuse_req_t req, fuse_ino_t ino, size_t size) lo_listxattr() argument 1051 lo_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) lo_setxattr() argument 1077 lo_removexattr(fuse_req_t req, fuse_ino_t ino, const char *name) lo_removexattr() argument 1127 lo_lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence, struct fuse_file_info *fi) lo_lseek() argument [all...] |
H A D | passthrough_hp.cc | 96 static Inode& get_inode(fuse_ino_t ino); 97 static void forget_one(fuse_ino_t ino, uint64_t n); 171 static Inode& get_inode(fuse_ino_t ino) { in get_inode() argument 172 if (ino == FUSE_ROOT_ID) in get_inode() 175 Inode* inode = reinterpret_cast<Inode*>(ino); in get_inode() 177 cerr << "INTERNAL ERROR: Unknown inode " << ino << endl; in get_inode() 184 static int get_fs_fd(fuse_ino_t ino) { in get_fs_fd() argument 185 int fd = get_inode(ino).fd; in get_fs_fd() 217 static void sfs_getattr(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) { in sfs_getattr() argument 219 Inode& inode = get_inode(ino); in sfs_getattr() 231 do_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr, int valid, struct fuse_file_info* fi) do_setattr() argument 307 sfs_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr, int valid, fuse_file_info *fi) sfs_setattr() argument 474 sfs_link(fuse_req_t req, fuse_ino_t ino, fuse_ino_t parent, const char *name) sfs_link() argument 568 forget_one(fuse_ino_t ino, uint64_t n) forget_one() argument 597 sfs_forget(fuse_req_t req, fuse_ino_t ino, uint64_t nlookup) sfs_forget() argument 611 sfs_readlink(fuse_req_t req, fuse_ino_t ino) sfs_readlink() argument 646 sfs_opendir(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) sfs_opendir() argument 694 do_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, fuse_file_info *fi, const int plus) do_readdir() argument 789 sfs_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, fuse_file_info *fi) sfs_readdir() argument 796 sfs_readdirplus(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, fuse_file_info *fi) sfs_readdirplus() argument 803 sfs_releasedir(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) sfs_releasedir() argument 842 sfs_fsyncdir(fuse_req_t req, fuse_ino_t ino, int datasync, fuse_file_info *fi) sfs_fsyncdir() argument 855 sfs_open(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) sfs_open() argument 896 sfs_release(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) sfs_release() argument 905 sfs_flush(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi) sfs_flush() argument 912 sfs_fsync(fuse_req_t req, fuse_ino_t ino, int datasync, fuse_file_info *fi) sfs_fsync() argument 935 sfs_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, fuse_file_info *fi) sfs_read() argument 958 sfs_write_buf(fuse_req_t req, fuse_ino_t ino, fuse_bufvec *in_buf, off_t off, fuse_file_info *fi) sfs_write_buf() argument 966 sfs_statfs(fuse_req_t req, fuse_ino_t ino) sfs_statfs() argument 978 sfs_fallocate(fuse_req_t req, fuse_ino_t ino, int mode, off_t offset, off_t length, fuse_file_info *fi) sfs_fallocate() argument 991 sfs_flock(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi, int op) sfs_flock() argument 1000 sfs_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) sfs_getxattr() argument 1044 sfs_listxattr(fuse_req_t req, fuse_ino_t ino, size_t size) sfs_listxattr() argument 1086 sfs_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) sfs_setxattr() argument 1102 sfs_removexattr(fuse_req_t req, fuse_ino_t ino, const char *name) sfs_removexattr() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | ext4.h | 130 __field( ino_t, ino ) 140 __entry->ino = inode->i_ino; 146 TP_printk("dev %d,%d orig_ino %lu ino %lu mode 0%o uid %u gid %u", 149 (unsigned long) __entry->ino, __entry->mode, 160 __field( ino_t, ino ) 169 __entry->ino = inode->i_ino; 176 TP_printk("dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %llu", 178 (unsigned long) __entry->ino, __entry->mode, 211 __field( ino_t, ino ) 218 __entry->ino [all...] |
/kernel/linux/linux-6.6/fs/hostfs/ |
H A D | hostfs_kern.c | 128 static char *inode_name(struct inode *ino) in inode_name() argument 133 dentry = d_find_alias(ino); in inode_name() 273 unsigned long long next, ino; in hostfs_readdir() local 286 while ((name = read_dir(dir, &next, &ino, &len, &type)) != NULL) { in hostfs_readdir() 287 if (!dir_emit(ctx, name, len, ino, type)) in hostfs_readdir() 295 static int hostfs_open(struct inode *ino, struct file *file) in hostfs_open() argument 303 if ((mode & HOSTFS_I(ino)->mode) == mode) in hostfs_open() 306 mode |= HOSTFS_I(ino)->mode; in hostfs_open() 325 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 327 if ((mode & HOSTFS_I(ino) in hostfs_open() 511 hostfs_inode_update(struct inode *ino, const struct hostfs_stat *st) hostfs_inode_update() argument 526 hostfs_inode_set(struct inode *ino, void *data) hostfs_inode_set() argument 624 hostfs_lookup(struct inode *ino, struct dentry *dentry, unsigned int flags) hostfs_lookup() argument 646 hostfs_link(struct dentry *to, struct inode *ino, struct dentry *from) hostfs_link() argument 665 hostfs_unlink(struct inode *ino, struct dentry *dentry) hostfs_unlink() argument 681 hostfs_symlink(struct mnt_idmap *idmap, struct inode *ino, struct dentry *dentry, const char *to) hostfs_symlink() argument 694 hostfs_mkdir(struct mnt_idmap *idmap, struct inode *ino, struct dentry *dentry, umode_t mode) hostfs_mkdir() argument 707 hostfs_rmdir(struct inode *ino, struct dentry *dentry) hostfs_rmdir() argument 774 hostfs_permission(struct mnt_idmap *idmap, struct inode *ino, int desired) hostfs_permission() argument [all...] |
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse_lowlevel.h | 64 * ino the kernel may cache negative entries for entry_timeout 67 fuse_ino_t ino; member 71 * The ino/generation pair should be unique for the filesystem's 199 * @param ino the inode number 202 void (*forget) (fuse_req_t req, fuse_ino_t ino, unsigned long nlookup); 212 * @param ino the inode number 215 void (*getattr) (fuse_req_t req, fuse_ino_t ino, 237 * @param ino the inode number 245 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr, 256 * @param ino th [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | ocfs2_trace.h | 529 TP_PROTO(unsigned long long ino, unsigned int new_cpos, 531 TP_ARGS(ino, new_cpos, clusters, depth), 533 __field(unsigned long long, ino) 539 __entry->ino = ino; 545 __entry->ino, __entry->new_cpos, 1044 TP_PROTO(unsigned long long ino, unsigned int cpos, 1047 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1049 __field(unsigned long long, ino) 1056 __entry->ino [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | ocfs2_trace.h | 529 TP_PROTO(unsigned long long ino, unsigned int new_cpos, 531 TP_ARGS(ino, new_cpos, clusters, depth), 533 __field(unsigned long long, ino) 539 __entry->ino = ino; 545 __entry->ino, __entry->new_cpos, 1044 TP_PROTO(unsigned long long ino, unsigned int cpos, 1047 TP_ARGS(ino, cpos, len, p_cluster, ext_flags), 1049 __field(unsigned long long, ino) 1056 __entry->ino [all...] |
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_kern.c | 124 static char *inode_name(struct inode *ino) in inode_name() argument 129 dentry = d_find_alias(ino); in inode_name() 274 unsigned long long next, ino; in hostfs_readdir() local 287 while ((name = read_dir(dir, &next, &ino, &len, &type)) != NULL) { in hostfs_readdir() 288 if (!dir_emit(ctx, name, len, ino, type)) in hostfs_readdir() 296 static int hostfs_open(struct inode *ino, struct file *file) in hostfs_open() argument 304 if ((mode & HOSTFS_I(ino)->mode) == mode) in hostfs_open() 307 mode |= HOSTFS_I(ino)->mode; in hostfs_open() 326 mutex_lock(&HOSTFS_I(ino)->open_mutex); in hostfs_open() 328 if ((mode & HOSTFS_I(ino) in hostfs_open() 509 read_name(struct inode *ino, char *name) read_name() argument 596 hostfs_lookup(struct inode *ino, struct dentry *dentry, unsigned int flags) hostfs_lookup() argument 621 hostfs_link(struct dentry *to, struct inode *ino, struct dentry *from) hostfs_link() argument 640 hostfs_unlink(struct inode *ino, struct dentry *dentry) hostfs_unlink() argument 656 hostfs_symlink(struct inode *ino, struct dentry *dentry, const char *to) hostfs_symlink() argument 669 hostfs_mkdir(struct inode *ino, struct dentry *dentry, umode_t mode) hostfs_mkdir() argument 681 hostfs_rmdir(struct inode *ino, struct dentry *dentry) hostfs_rmdir() argument 759 hostfs_permission(struct inode *ino, int desired) hostfs_permission() argument [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | ext4.h | 144 __field( ino_t, ino ) 154 __entry->ino = inode->i_ino; 160 TP_printk("dev %d,%d orig_ino %lu ino %lu mode 0%o uid %u gid %u", 163 (unsigned long) __entry->ino, __entry->mode, 174 __field( ino_t, ino ) 183 __entry->ino = inode->i_ino; 190 TP_printk("dev %d,%d ino %lu mode 0%o uid %u gid %u blocks %llu", 192 (unsigned long) __entry->ino, __entry->mode, 225 __field( ino_t, ino ) 232 __entry->ino [all...] |