| /fs/nfsd/ |
| A D | nfs4idmap.c | 112 idtoname_hash(struct ent *ent) in idtoname_hash() argument 136 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() local 160 struct ent *ent; in idtoname_show() local 166 ent = container_of(h, struct ent, h); in idtoname_show() 208 struct ent ent, *res; in idtoname_parse() local 221 memset(&ent, 0, sizeof(ent)); in idtoname_parse() 301 nametoid_hash(struct ent *ent) in nametoid_hash() argument 316 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request() local 338 struct ent *ent; in nametoid_show() local 378 struct ent ent, *res; in nametoid_parse() local [all …]
|
| /fs/fuse/ |
| A D | dev_uring.c | 47 return pdu->ent; in uring_cmd_to_ring_ent() 149 if (!ent) in ent_list_request_expired() 209 kfree(ent); in fuse_uring_destruct() 419 ring, qid, ent, ent->state); in fuse_uring_log_ent_state() 423 ring, qid, ent, ent->state); in fuse_uring_log_ent_state() 672 queue->qid, ent, ent->state); in fuse_uring_copy_to_ring() 1060 ent = kzalloc(sizeof(*ent), GFP_KERNEL_ACCOUNT); in fuse_uring_create_ring_ent() 1061 if (!ent) in fuse_uring_create_ring_ent() 1219 err = fuse_uring_prepare_send(ent, ent->fuse_req); in fuse_uring_send_in_task() 1283 if (ent) in fuse_uring_queue_fuse_req() [all …]
|
| /fs/ocfs2/ |
| A D | filecheck.c | 220 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) { in ocfs2_filecheck_adjust_max() 224 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done); in ocfs2_filecheck_adjust_max() 227 if (len < ent->fs_fcheck->fc_size) in ocfs2_filecheck_adjust_max() 231 ent->fs_fcheck->fc_max = len; in ocfs2_filecheck_adjust_max() 369 ent->fs_fcheck->fc_size--; in ocfs2_filecheck_erase_entry() 370 ent->fs_fcheck->fc_done--; in ocfs2_filecheck_erase_entry() 401 ent->fs_fcheck->fc_done++; in ocfs2_filecheck_done_entry() 477 } else if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) && in ocfs2_filecheck_attr_store() 482 ent->fs_fcheck->fc_max); in ocfs2_filecheck_attr_store() 486 if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) && in ocfs2_filecheck_attr_store() [all …]
|
| /fs/proc/ |
| A D | generic.c | 431 if (!ent) in __proc_create() 435 ent->name = ent->inline_name; in __proc_create() 459 return ent; in __proc_create() 470 if (ent) { in proc_symlink() 472 ent->data = kmemdup(dest, ent->size + 1, GFP_KERNEL); in proc_symlink() 475 ent = proc_register(parent, ent); in proc_symlink() 481 return ent; in proc_symlink() 494 if (ent) { in _proc_mkdir() 501 ent = proc_register(parent, ent); in _proc_mkdir() 534 if (ent) { in proc_create_mount_point() [all …]
|
| A D | kcore.c | 146 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kcore_ram_list() 147 if (!ent) in kcore_ram_list() 151 ent->type = KCORE_RAM; in kcore_ram_list() 213 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kclist_add_private() 214 if (!ent) in kclist_add_private() 223 if (ULONG_MAX - ent->addr < ent->size) in kclist_add_private() 224 ent->size = ULONG_MAX - ent->addr; in kclist_add_private() 232 if (VMALLOC_START - ent->addr < ent->size) in kclist_add_private() 233 ent->size = VMALLOC_START - ent->addr; in kclist_add_private() 236 ent->type = KCORE_RAM; in kclist_add_private() [all …]
|
| A D | proc_tty.c | 133 struct proc_dir_entry *ent; in proc_tty_register_driver() local 139 ent = proc_create_single_data(driver->driver_name, 0, proc_tty_driver, in proc_tty_register_driver() 141 driver->proc_entry = ent; in proc_tty_register_driver() 149 struct proc_dir_entry *ent; in proc_tty_unregister_driver() local 151 ent = driver->proc_entry; in proc_tty_unregister_driver() 152 if (!ent) in proc_tty_unregister_driver() 155 remove_proc_entry(ent->name, proc_tty_driver); in proc_tty_unregister_driver()
|
| /fs/xfs/scrub/ |
| A D | attr.c | 327 struct xfs_attr_leaf_entry *ent, in xchk_xattr_entry() argument 340 if (ent->pad2 != 0) in xchk_xattr_entry() 348 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_entry() 356 if (ent->flags & XFS_ATTR_LOCAL) { in xchk_xattr_entry() 391 struct xfs_attr_leaf_entry *ent; in xchk_xattr_block() local 453 for (i = 0, ent = entries; i < leafhdr.count; ent++, i++) { in xchk_xattr_block() 455 off = (char *)ent - (char *)leaf; in xchk_xattr_block() 491 struct xfs_attr_leaf_entry *ent; in xchk_xattr_rec() local 517 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_rec() 524 hash = be32_to_cpu(ent->hashval); in xchk_xattr_rec() [all …]
|
| A D | attr_repair.c | 282 struct xfs_attr_leaf_entry *ent, in xrep_xattr_salvage_local_attr() argument 319 struct xfs_attr_leaf_entry *ent, in xrep_xattr_salvage_remote_attr() argument 333 .attr_filter = ent->flags & XFS_ATTR_NSP_ONDISK_MASK, in xrep_xattr_salvage_remote_attr() 351 !xrep_xattr_want_salvage(rx, ent->flags, rentry->name, in xrep_xattr_salvage_remote_attr() 398 struct xfs_attr_leaf_entry *ent; in xrep_xattr_recover_leaf() local 418 for (i = 0, ent = entries; i < leafhdr.count; ent++, i++) { in xrep_xattr_recover_leaf() 423 off = (char *)ent - (char *)leaf; in xrep_xattr_recover_leaf() 429 nameidx = be16_to_cpu(ent->nameidx); in xrep_xattr_recover_leaf() 434 if (ent->flags & XFS_ATTR_LOCAL) { in xrep_xattr_recover_leaf() 436 error = xrep_xattr_salvage_local_attr(rx, ent, nameidx, in xrep_xattr_recover_leaf() [all …]
|
| A D | dir.c | 327 struct xfs_dir2_leaf_entry *ent; in xchk_dir_rec() local 345 ent = hdr.ents + blk->index; in xchk_dir_rec() 348 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec() 353 ptr = be32_to_cpu(ent->address); in xchk_dir_rec() 409 hash = be32_to_cpu(ent->hashval); in xchk_dir_rec()
|
| /fs/ext4/ |
| A D | namei.c | 3588 ent->is_dir = true; in ext4_rename_dir_prepare() 3592 ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode, in ext4_rename_dir_prepare() 3595 if (!ent->dir_bh) in ext4_rename_dir_prepare() 3597 if (le32_to_cpu(ent->parent_de->inode) != ent->dir->i_ino) in ext4_rename_dir_prepare() 3609 if (!ent->dir_bh) in ext4_rename_dir_finish() 3647 inode_set_mtime_to_ts(ent->dir, inode_set_ctime_current(ent->dir)); in ext4_setent() 3651 retval2 = ext4_handle_dirty_dirblock(handle, ent->dir, ent->bh); in ext4_setent() 3713 if (le32_to_cpu(ent->de->inode) != ent->inode->i_ino || in ext4_rename_delete() 3714 ent->de->name_len != ent->dentry->d_name.len || in ext4_rename_delete() 3715 strncmp(ent->de->name, ent->dentry->d_name.name, in ext4_rename_delete() [all …]
|
| /fs/nilfs2/ |
| A D | recovery.c | 417 struct nilfs_segment_entry *ent = kmalloc(sizeof(*ent), GFP_NOFS); in nilfs_segment_list_add() local 419 if (unlikely(!ent)) in nilfs_segment_list_add() 422 ent->segnum = segnum; in nilfs_segment_list_add() 423 INIT_LIST_HEAD(&ent->list); in nilfs_segment_list_add() 424 list_add_tail(&ent->list, head); in nilfs_segment_list_add() 431 struct nilfs_segment_entry *ent; in nilfs_dispose_segment_list() local 434 list_del(&ent->list); in nilfs_dispose_segment_list() 435 kfree(ent); in nilfs_dispose_segment_list() 483 if (ent->segnum != segnum[0]) { in nilfs_prepare_segment_for_recovery() 488 list_del(&ent->list); in nilfs_prepare_segment_for_recovery() [all …]
|
| /fs/hostfs/ |
| A D | hostfs_user.c | 123 struct dirent *ent; in read_dir() local 125 ent = readdir(dir); in read_dir() 126 if (ent == NULL) in read_dir() 128 *len_out = strlen(ent->d_name); in read_dir() 129 *ino_out = ent->d_ino; in read_dir() 130 *type_out = ent->d_type; in read_dir() 131 *pos_out = ent->d_off; in read_dir() 132 return ent->d_name; in read_dir()
|
| /fs/exfat/ |
| A D | exfat_fs.h | 129 #define BITMAP_ENT_TO_CLUSTER(ent) ((ent) + EXFAT_RESERVED_CLUSTERS) argument 132 #define BITMAP_OFFSET_SECTOR_INDEX(sb, ent) \ argument 133 ((ent / BITS_PER_BYTE) >> (sb)->s_blocksize_bits) 134 #define BITMAP_OFFSET_BIT_IN_SECTOR(sb, ent) (ent & BITS_PER_SECTOR_MASK(sb)) argument 135 #define BITMAP_OFFSET_BYTE_IN_SECTOR(sb, ent) \ argument 136 ((ent / BITS_PER_BYTE) & ((sb)->s_blocksize - 1))
|
| /fs/xfs/libxfs/ |
| A D | xfs_dir2_block.c | 646 int ent; /* entry index */ in xfs_dir2_block_lookup() local 655 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) in xfs_dir2_block_lookup() 667 be32_to_cpu(blp[ent].address))); in xfs_dir2_block_lookup() 794 int ent; /* block leaf entry index */ in xfs_dir2_block_removename() local 808 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { in xfs_dir2_block_removename() 821 be32_to_cpu(blp[ent].address))); in xfs_dir2_block_removename() 838 blp[ent].address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); in xfs_dir2_block_removename() 839 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename() 875 int ent; /* leaf entry index */ in xfs_dir2_block_replace() local 884 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { in xfs_dir2_block_replace() [all …]
|
| A D | xfs_attr_leaf.c | 244 struct xfs_attr_leaf_entry *ent, in xfs_attr3_leaf_verify_entry() argument 256 hashval = be32_to_cpu(ent->hashval); in xfs_attr3_leaf_verify_entry() 261 nameidx = be16_to_cpu(ent->nameidx); in xfs_attr3_leaf_verify_entry() 269 if (ent->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_verify_entry() 282 if (!(ent->flags & XFS_ATTR_INCOMPLETE) && in xfs_attr3_leaf_verify_entry() 318 struct xfs_attr_leaf_entry *ent; in xfs_attr3_leaf_verify() local 354 for (i = 0, ent = entries; i < ichdr.count; ent++, i++) { in xfs_attr3_leaf_verify() 356 ent, i, &last_hashval); in xfs_attr3_leaf_verify()
|
| /fs/omfs/ |
| A D | file.c | 191 static sector_t find_block(struct inode *inode, struct omfs_extent_entry *ent, in find_block() argument 198 be64_to_cpu(ent->e_blocks)); in find_block() 208 be64_to_cpu(ent->e_cluster)) + in find_block() 212 ent++; in find_block()
|
| /fs/nfs/ |
| A D | dir.c | 1094 struct nfs_cache_array_entry *ent; in nfs_do_filldir() local 1107 ent = &array->array[i]; in nfs_do_filldir() 1108 if (!dir_emit(desc->ctx, ent->name, ent->name_len, in nfs_do_filldir() 1109 nfs_compat_user_ino64(ent->ino), ent->d_type)) { in nfs_do_filldir()
|