/linux-4.19.296/drivers/nubus/ |
D | nubus.c | 242 struct nubus_dirent ent; in nubus_get_board_dir() local 250 if (nubus_readdir(dir, &ent) == -1) in nubus_get_board_dir() 252 if (nubus_get_subdir(&ent, dir) == -1) in nubus_get_board_dir() 258 int nubus_get_subdir(const struct nubus_dirent *ent, in nubus_get_subdir() argument 261 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir() 263 dir->mask = ent->mask; in nubus_get_subdir() 268 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument 276 ent->base = nd->ptr; in nubus_readdir() 289 ent->type = resid >> 24; in nubus_readdir() 291 ent->data = resid & 0xffffff; in nubus_readdir() [all …]
|
D | proc.c | 69 const struct nubus_dirent *ent, in nubus_proc_add_rsrc_dir() argument 77 snprintf(name, sizeof(name), "%x", ent->type); in nubus_proc_add_rsrc_dir() 121 struct nubus_dirent ent; in nubus_proc_rsrc_show() local 126 ent.mask = lanes; in nubus_proc_rsrc_show() 127 ent.base = pde_data->res_ptr; in nubus_proc_rsrc_show() 128 ent.data = 0; in nubus_proc_rsrc_show() 129 nubus_seq_write_rsrc_mem(m, &ent, pde_data->res_size); in nubus_proc_rsrc_show() 141 const struct nubus_dirent *ent, in nubus_proc_add_rsrc_mem() argument 150 snprintf(name, sizeof(name), "%x", ent->type); in nubus_proc_add_rsrc_mem() 152 pde_data = nubus_proc_alloc_pde_data(nubus_dirptr(ent), size); in nubus_proc_add_rsrc_mem() [all …]
|
/linux-4.19.296/fs/nfsd/ |
D | nfs4idmap.c | 62 struct ent { struct 78 struct ent *new = container_of(cnew, struct ent, h); in ent_init() argument 79 struct ent *itm = container_of(citm, struct ent, h); in ent_init() 91 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put() 98 struct ent *e = kmalloc(sizeof(*e), GFP_KERNEL); in ent_alloc() 110 idtoname_hash(struct ent *ent) in idtoname_hash() argument 114 hash = hash_str(ent->authname, ENT_HASHBITS); in idtoname_hash() 115 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash() 118 if (ent->type == IDMAP_TYPE_GROUP) in idtoname_hash() 128 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() local [all …]
|
/linux-4.19.296/lib/ |
D | error-inject.c | 25 struct ei_entry *ent; in within_error_injection_list() local 29 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list() 30 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list() 41 struct ei_entry *ent; in get_injectable_error_type() local 43 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type() 44 if (addr >= ent->start_addr && addr < ent->end_addr) in get_injectable_error_type() 45 return ent->etype; in get_injectable_error_type() 62 struct ei_entry *ent; in populate_error_injection_list() local 76 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_error_injection_list() 77 if (!ent) in populate_error_injection_list() [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | filecheck.c | 217 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent, 220 ocfs2_filecheck_adjust_max(struct ocfs2_filecheck_sysfs_entry *ent, in ocfs2_filecheck_adjust_max() argument 228 spin_lock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max() 229 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) { in ocfs2_filecheck_adjust_max() 233 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done); in ocfs2_filecheck_adjust_max() 236 if (len < ent->fs_fcheck->fc_size) in ocfs2_filecheck_adjust_max() 237 BUG_ON(!ocfs2_filecheck_erase_entries(ent, in ocfs2_filecheck_adjust_max() 238 ent->fs_fcheck->fc_size - len)); in ocfs2_filecheck_adjust_max() 240 ent->fs_fcheck->fc_max = len; in ocfs2_filecheck_adjust_max() 243 spin_unlock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max() [all …]
|
/linux-4.19.296/fs/proc/ |
D | generic.c | 394 struct proc_dir_entry *ent = NULL; in __proc_create() local 423 ent = kmem_cache_zalloc(proc_dir_entry_cache, GFP_KERNEL); in __proc_create() 424 if (!ent) in __proc_create() 428 ent->name = ent->inline_name; in __proc_create() 430 ent->name = kmalloc(qstr.len + 1, GFP_KERNEL); in __proc_create() 431 if (!ent->name) { in __proc_create() 432 pde_free(ent); in __proc_create() 437 memcpy(ent->name, fn, qstr.len + 1); in __proc_create() 438 ent->namelen = qstr.len; in __proc_create() 439 ent->mode = mode; in __proc_create() [all …]
|
D | kcore.c | 127 struct kcore_list *ent; in kcore_ram_list() local 129 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kcore_ram_list() 130 if (!ent) in kcore_ram_list() 132 ent->addr = (unsigned long)__va(0); in kcore_ram_list() 133 ent->size = max_low_pfn << PAGE_SHIFT; in kcore_ram_list() 134 ent->type = KCORE_RAM; in kcore_ram_list() 135 list_add(&ent->list, head); in kcore_ram_list() 144 get_sparsemem_vmemmap_info(struct kcore_list *ent, struct list_head *head) in get_sparsemem_vmemmap_info() argument 146 unsigned long pfn = __pa(ent->addr) >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() 147 unsigned long nr_pages = ent->size >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() [all …]
|
D | proc_tty.c | 135 struct proc_dir_entry *ent; in proc_tty_register_driver() local 141 ent = proc_create_single_data(driver->driver_name, 0, proc_tty_driver, in proc_tty_register_driver() 143 driver->proc_entry = ent; in proc_tty_register_driver() 151 struct proc_dir_entry *ent; in proc_tty_unregister_driver() local 153 ent = driver->proc_entry; in proc_tty_unregister_driver() 154 if (!ent) in proc_tty_unregister_driver() 157 remove_proc_entry(ent->name, proc_tty_driver); in proc_tty_unregister_driver()
|
/linux-4.19.296/fs/ceph/ |
D | cache.c | 70 struct ceph_fscache_entry *ent; in ceph_fscache_register_fs() local 74 list_for_each_entry(ent, &ceph_fscache_list, list) { in ceph_fscache_register_fs() 75 if (memcmp(&ent->fsid, fsid, sizeof(*fsid))) in ceph_fscache_register_fs() 77 if (ent->uniq_len != uniq_len) in ceph_fscache_register_fs() 79 if (uniq_len && memcmp(ent->uniquifier, fscache_uniq, uniq_len)) in ceph_fscache_register_fs() 88 ent = kzalloc(sizeof(*ent) + uniq_len, GFP_KERNEL); in ceph_fscache_register_fs() 89 if (!ent) { in ceph_fscache_register_fs() 94 memcpy(&ent->fsid, fsid, sizeof(*fsid)); in ceph_fscache_register_fs() 96 memcpy(&ent->uniquifier, fscache_uniq, uniq_len); in ceph_fscache_register_fs() 97 ent->uniq_len = uniq_len; in ceph_fscache_register_fs() [all …]
|
/linux-4.19.296/include/linux/ |
D | nubus.h | 99 const struct nubus_dirent *ent, 102 const struct nubus_dirent *ent, 105 const struct nubus_dirent *ent); 113 const struct nubus_dirent *ent, in nubus_proc_add_rsrc_dir() argument 117 const struct nubus_dirent *ent, in nubus_proc_add_rsrc_mem() argument 120 const struct nubus_dirent *ent) {} in nubus_proc_add_rsrc() argument 147 struct nubus_dirent *ent); 150 struct nubus_dirent *ent); 154 int nubus_get_subdir(const struct nubus_dirent *ent,
|
D | swap_cgroup.h | 9 extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, 11 extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, 13 extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent); 20 unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, in swap_cgroup_record() argument 27 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) in lookup_swap_cgroup_id() argument
|
/linux-4.19.296/include/media/drv-intf/ |
D | exynos-fimc.h | 157 #define fimc_pipeline_call(ent, op, args...) \ argument 158 ((!(ent) || !(ent)->pipe) ? -ENOENT : \ 159 (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \ 160 (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \
|
/linux-4.19.296/fs/xfs/scrub/ |
D | attr.c | 194 struct xfs_attr_leaf_entry *ent, in xchk_xattr_entry() argument 206 if (ent->pad2 != 0) in xchk_xattr_entry() 210 if (be32_to_cpu(ent->hashval) < *last_hashval) in xchk_xattr_entry() 212 *last_hashval = be32_to_cpu(ent->hashval); in xchk_xattr_entry() 214 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_entry() 222 if (ent->flags & XFS_ATTR_LOCAL) { in xchk_xattr_entry() 257 struct xfs_attr_leaf_entry *ent; in xchk_xattr_block() local 305 for (i = 0, ent = entries; i < leafhdr.count; ent++, i++) { in xchk_xattr_block() 307 off = (char *)ent - (char *)leaf; in xchk_xattr_block() 316 usedmap, ent, i, &usedbytes, &last_hashval); in xchk_xattr_block() [all …]
|
/linux-4.19.296/fs/hostfs/ |
D | hostfs_user.c | 112 struct dirent *ent; in read_dir() local 114 ent = readdir(dir); in read_dir() 115 if (ent == NULL) in read_dir() 117 *len_out = strlen(ent->d_name); in read_dir() 118 *ino_out = ent->d_ino; in read_dir() 119 *type_out = ent->d_type; in read_dir() 120 *pos_out = ent->d_off; in read_dir() 121 return ent->d_name; in read_dir()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | debugfs.c | 136 struct dentry *ent; in cxl_debugfs_init() local 141 ent = debugfs_create_dir("cxl", NULL); in cxl_debugfs_init() 142 if (IS_ERR(ent)) in cxl_debugfs_init() 143 return PTR_ERR(ent); in cxl_debugfs_init() 144 cxl_debugfs = ent; in cxl_debugfs_init()
|
/linux-4.19.296/fs/nilfs2/ |
D | recovery.c | 393 struct nilfs_segment_entry *ent = kmalloc(sizeof(*ent), GFP_NOFS); in nilfs_segment_list_add() local 395 if (unlikely(!ent)) in nilfs_segment_list_add() 398 ent->segnum = segnum; in nilfs_segment_list_add() 399 INIT_LIST_HEAD(&ent->list); in nilfs_segment_list_add() 400 list_add_tail(&ent->list, head); in nilfs_segment_list_add() 407 struct nilfs_segment_entry *ent; in nilfs_dispose_segment_list() local 409 ent = list_first_entry(head, struct nilfs_segment_entry, list); in nilfs_dispose_segment_list() 410 list_del(&ent->list); in nilfs_dispose_segment_list() 411 kfree(ent); in nilfs_dispose_segment_list() 420 struct nilfs_segment_entry *ent, *n; in nilfs_prepare_segment_for_recovery() local [all …]
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 462 int ent; in bsd_compress() local 470 #define OUTPUT(ent) \ in bsd_compress() argument 473 accm |= ((ent) << bitno); \ in bsd_compress() 489 ent = proto; in bsd_compress() 514 fcode = BSD_KEY(ent, c); in bsd_compress() 515 hval = BSD_HASH(ent, c, hshift); in bsd_compress() 523 ent = dictp->codem1 + 1; in bsd_compress() 539 ent = dictp->codem1 + 1; /* finally found (prefix,suffix) */ in bsd_compress() 543 OUTPUT(ent); /* output the prefix */ in bsd_compress() 575 unsigned short *len2 = lens_ptr(db, ent); in bsd_compress() [all …]
|
/linux-4.19.296/fs/ext4/ |
D | namei.c | 3439 static int ext4_rename_dir_prepare(handle_t *handle, struct ext4_renament *ent) in ext4_rename_dir_prepare() argument 3443 ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode, in ext4_rename_dir_prepare() 3444 &retval, &ent->parent_de, in ext4_rename_dir_prepare() 3445 &ent->dir_inlined); in ext4_rename_dir_prepare() 3446 if (!ent->dir_bh) in ext4_rename_dir_prepare() 3448 if (le32_to_cpu(ent->parent_de->inode) != ent->dir->i_ino) in ext4_rename_dir_prepare() 3450 BUFFER_TRACE(ent->dir_bh, "get_write_access"); in ext4_rename_dir_prepare() 3451 return ext4_journal_get_write_access(handle, ent->dir_bh); in ext4_rename_dir_prepare() 3454 static int ext4_rename_dir_finish(handle_t *handle, struct ext4_renament *ent, in ext4_rename_dir_finish() argument 3459 ent->parent_de->inode = cpu_to_le32(dir_ino); in ext4_rename_dir_finish() [all …]
|
/linux-4.19.296/drivers/char/hw_random/ |
D | geode-rng.c | 94 const struct pci_device_id *ent; in mod_init() local 100 ent = pci_match_id(pci_tbl, pdev); in mod_init() 101 if (ent) in mod_init()
|
D | amd-rng.c | 131 const struct pci_device_id *ent; in mod_init() local 136 ent = pci_match_id(pci_tbl, pdev); in mod_init() 137 if (ent) in mod_init()
|
/linux-4.19.296/include/drm/ |
D | drm_pci.h | 50 const struct pci_device_id *ent, 54 const struct pci_device_id *ent, in drm_get_pci_dev() argument
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | divasmain.c | 152 const struct pci_device_id *ent); 695 static int divas_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) in divas_init_one() argument 702 CardProperties[ent->driver_data].Name, in divas_init_one() 705 DRIVERLNAME, CardProperties[ent->driver_data].Name, in divas_init_one() 711 CardProperties[ent->driver_data].Name, in divas_init_one() 717 CardProperties[ent->driver_data]. in divas_init_one() 735 if (!(pdiva = diva_driver_add_card(pdev, ent->driver_data))) { in divas_init_one() 738 CardProperties[ent->driver_data].Name, in divas_init_one() 744 CardProperties[ent->driver_data]. in divas_init_one()
|
/linux-4.19.296/drivers/media/tuners/ |
D | si2157.c | 467 dev->ent.name = KBUILD_MODNAME; in si2157_probe() 468 dev->ent.function = MEDIA_ENT_F_TUNER; in si2157_probe() 474 ret = media_entity_pads_init(&dev->ent, TUNER_NUM_PADS, in si2157_probe() 480 ret = media_device_register_entity(cfg->mdev, &dev->ent); in si2157_probe() 482 media_entity_cleanup(&dev->ent); in si2157_probe() 514 media_device_unregister_entity(&dev->ent); in si2157_remove()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_dir2_block.c | 613 int ent; /* entry index */ in xfs_dir2_block_lookup() local 622 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) in xfs_dir2_block_lookup() 634 be32_to_cpu(blp[ent].address))); in xfs_dir2_block_lookup() 763 int ent; /* block leaf entry index */ in xfs_dir2_block_removename() local 777 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { in xfs_dir2_block_removename() 790 be32_to_cpu(blp[ent].address))); in xfs_dir2_block_removename() 806 blp[ent].address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); in xfs_dir2_block_removename() 807 xfs_dir2_block_log_leaf(tp, bp, ent, ent); in xfs_dir2_block_removename() 843 int ent; /* leaf entry index */ in xfs_dir2_block_replace() local 852 if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { in xfs_dir2_block_replace() [all …]
|
/linux-4.19.296/drivers/parisc/ |
D | led.c | 252 struct proc_dir_entry *ent; in led_create_procfs() local 261 ent = proc_create_data("led", S_IRUGO|S_IWUSR, proc_pdc_root, in led_create_procfs() 263 if (!ent) return -1; in led_create_procfs() 268 ent = proc_create_data("lcd", S_IRUGO|S_IWUSR, proc_pdc_root, in led_create_procfs() 270 if (!ent) return -1; in led_create_procfs()
|