Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 618) sorted by relevance

12345678910>>...25

/linux/drivers/nubus/
A Dnubus.c383 ent.type, ent.data); in nubus_get_display_vidmode()
401 ent->type, ent->data); in nubus_get_display_resource()
406 ent->type, ent->data); in nubus_get_display_resource()
428 ent->type, ent->data); in nubus_get_network_resource()
461 ent->type, ent->data); in nubus_get_cpu_resource()
483 ent->type, ent->data); in nubus_get_private_resource()
540 ent.data); in nubus_get_functional_resource()
623 if (ent.type < 1 || ent.type > 5) in nubus_get_vendorinfo()
699 ent.data); in nubus_get_board_resource()
710 ent.type, ent.data); in nubus_get_board_resource()
[all …]
A Dproc.c69 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()
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()
160 const struct nubus_dirent *ent) in nubus_proc_add_rsrc() argument
163 unsigned char *data = (unsigned char *)ent->data; in nubus_proc_add_rsrc()
[all …]
/linux/fs/nfsd/
A Dnfs4idmap.c111 idtoname_hash(struct ent *ent) in idtoname_hash() argument
135 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() local
159 struct ent *ent; in idtoname_show() local
165 ent = container_of(h, struct ent, h); in idtoname_show()
207 struct ent ent, *res; in idtoname_parse() local
220 memset(&ent, 0, sizeof(ent)); in idtoname_parse()
300 nametoid_hash(struct ent *ent) in nametoid_hash() argument
315 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request() local
337 struct ent *ent; in nametoid_show() local
377 struct ent ent, *res; in nametoid_parse() local
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_tmpl.c132 return (void *)ent + le32_to_cpu(ent->hdr.size); in qla27xx_next_entry()
141 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t0()
143 return qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t0()
152 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t255()
171 return qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t256()
482 ent->t268.start_addr = in qla27xx_fwdt_entry_t268()
497 ent->t268.start_addr = in qla27xx_fwdt_entry_t268()
732 ent = qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t276()
845 ent = qla27xx_find_entry(type)(vha, ent, buf, len); in qla27xx_walk_template()
846 if (!ent) in qla27xx_walk_template()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dcmd.c81 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
152 cmd_free_index(ent->cmd, ent->idx); in cmd_ent_put()
220 ent->lay->sig = ~xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in set_signature()
825 dump_buf(ent->lay->in, sizeof(ent->lay->in), 1, offset, ent->idx); in dump_command()
828 dump_buf(ent->lay->out, sizeof(ent->lay->out), 1, offset, ent->idx); in dump_command()
832 dump_buf(ent->lay, sizeof(*ent->lay), 0, offset, ent->idx); in dump_command()
972 cmd->ent_arr[ent->idx] = ent; in cmd_work_handler()
1170 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
1634 memcpy(ent->out->first.data, ent->lay->out, sizeof(ent->lay->out)); in mlx5_cmd_comp_handler()
1647 ent->ret, deliv_status_to_str(ent->status), ent->status); in mlx5_cmd_comp_handler()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dmemtrace.c45 return simple_read_from_buffer(ubuf, count, ppos, ent->mem, ent->size); in memtrace_read()
192 ent->mem = ioremap(ent->start, ent->size); in memtrace_init_debugfs()
194 if (!ent->mem) { in memtrace_init_debugfs()
196 ent->start); in memtrace_init_debugfs()
201 snprintf(ent->name, 16, "%08x", ent->nid); in memtrace_init_debugfs()
204 ent->dir = dir; in memtrace_init_debugfs()
249 if (ent->mem) { in memtrace_free_regions()
251 ent->mem = 0; in memtrace_free_regions()
254 if (memtrace_free(ent->nid, ent->start, ent->size)) { in memtrace_free_regions()
256 ent->nid); in memtrace_free_regions()
[all …]
A Dopal-xscom.c90 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read() local
121 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write() local
158 struct scom_debug_entry *ent; in scom_debug_init_one() local
161 ent = kzalloc(sizeof(*ent), GFP_KERNEL); in scom_debug_init_one()
162 if (!ent) in scom_debug_init_one()
165 ent->chip = chip; in scom_debug_init_one()
166 snprintf(ent->name, 16, "%08x", chip); in scom_debug_init_one()
168 ent->path.size = strlen((char *)ent->path.data); in scom_debug_init_one()
170 dir = debugfs_create_dir(ent->name, root); in scom_debug_init_one()
172 kfree(ent->path.data); in scom_debug_init_one()
[all …]
/linux/fs/ocfs2/
A Dfilecheck.c219 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) { in ocfs2_filecheck_adjust_max()
223 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done); in ocfs2_filecheck_adjust_max()
226 if (len < ent->fs_fcheck->fc_size) in ocfs2_filecheck_adjust_max()
230 ent->fs_fcheck->fc_max = len; in ocfs2_filecheck_adjust_max()
368 ent->fs_fcheck->fc_size--; in ocfs2_filecheck_erase_entry()
369 ent->fs_fcheck->fc_done--; in ocfs2_filecheck_erase_entry()
400 ent->fs_fcheck->fc_done++; in ocfs2_filecheck_done_entry()
476 } else if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) && in ocfs2_filecheck_attr_store()
481 ent->fs_fcheck->fc_max); in ocfs2_filecheck_attr_store()
485 if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) && in ocfs2_filecheck_attr_store()
[all …]
/linux/lib/
A Derror-inject.c26 struct ei_entry *ent; in within_error_injection_list() local
31 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
42 struct ei_entry *ent; in get_injectable_error_type() local
45 if (addr >= ent->start_addr && addr < ent->end_addr) in get_injectable_error_type()
46 return ent->etype; in get_injectable_error_type()
63 struct ei_entry *ent; in populate_error_injection_list() local
77 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_error_injection_list()
78 if (!ent) in populate_error_injection_list()
83 ent->priv = priv; in populate_error_injection_list()
120 if (ent->priv == mod) { in module_unload_ei_list()
[all …]
/linux/drivers/scsi/
A Desp_scsi.c471 ent->saved_sense_ptr = ent->sense_ptr; in esp_save_pointers()
486 ent->sense_ptr = ent->saved_sense_ptr; in esp_restore_pointers()
673 ent->saved_sense_ptr = ent->sense_ptr; in esp_autosense()
723 ent->orig_tag[0] = ent->tag[0]; in find_and_prep_issuable_command()
724 ent->orig_tag[1] = ent->tag[1]; in find_and_prep_issuable_command()
1860 ent->status, ent->message); in esp_process_event()
1874 ent->tag[0], ent->tag[1]); in esp_process_event()
2507 ent->cmd, ent->cmd->cmnd[0]); in esp_eh_abort_handler()
2510 ent->cmd, ent->cmd->cmnd[0]); in esp_eh_abort_handler()
2514 ent->cmd, ent->cmd->cmnd[0]); in esp_eh_abort_handler()
[all …]
/linux/drivers/infiniband/hw/mlx5/
A Dmr.c447 ret = ent->available_mrs < ent->limit; in someone_adding()
466 if (ent->available_mrs < ent->limit) { in queue_adjust_cache_locked()
468 queue_work(ent->dev->cache.wq, &ent->work); in queue_adjust_cache_locked()
470 ent->available_mrs + ent->pending < 2 * ent->limit) { in queue_adjust_cache_locked()
475 queue_work(ent->dev->cache.wq, &ent->work); in queue_adjust_cache_locked()
500 ent->available_mrs + ent->pending < 2 * ent->limit && in __cache_work_func()
585 ent = &cache->ent[entry]; in mlx5_mr_cache_alloc()
689 ent = &cache->ent[i]; in mlx5_mr_cache_debugfs_init()
690 sprintf(ent->name, "%d", ent->order); in mlx5_mr_cache_debugfs_init()
722 ent = &cache->ent[i]; in mlx5_mr_cache_init()
[all …]
/linux/drivers/soc/qcom/
A Dcmd-db.c142 const struct entry_header *ent; in cmd_db_get_header() local
160 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
162 *eh = ent; in cmd_db_get_header()
186 const struct entry_header *ent; in cmd_db_read_addr() local
205 const struct entry_header *ent; in cmd_db_read_aux_data() local
213 *len = le16_to_cpu(ent->len); in cmd_db_read_aux_data()
229 const struct entry_header *ent; in cmd_db_read_slave_id() local
236 addr = le32_to_cpu(ent->addr); in cmd_db_read_slave_id()
246 const struct entry_header *ent; in cmd_db_debugfs_dump() local
283 (int)sizeof(ent->id), ent->id); in cmd_db_debugfs_dump()
[all …]
/linux/fs/ceph/
A Dcache.c52 struct ceph_fscache_entry *ent; in ceph_fscache_register_fs() local
59 if (ent->uniq_len != uniq_len) in ceph_fscache_register_fs()
70 ent = kzalloc(sizeof(*ent) + uniq_len, GFP_KERNEL); in ceph_fscache_register_fs()
71 if (!ent) { in ceph_fscache_register_fs()
79 ent->uniq_len = uniq_len; in ceph_fscache_register_fs()
84 &ent->fsid, sizeof(ent->fsid) + uniq_len, in ceph_fscache_register_fs()
89 ent->fscache = fsc->fscache; in ceph_fscache_register_fs()
92 kfree(ent); in ceph_fscache_register_fs()
192 struct ceph_fscache_entry *ent; in ceph_fscache_unregister_fs() local
198 list_del(&ent->list); in ceph_fscache_unregister_fs()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Di2c.c76 if (ent) { in dcb_i2c_parse()
78 u32 ent_value = nvbios_rd32(bios, ent); in dcb_i2c_parse()
102 info->drive = nvbios_rd08(bios, ent + 0); in dcb_i2c_parse()
103 info->sense = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
106 info->drive = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
110 if (nvbios_rd08(bios, ent + 1) & 0x01) in dcb_i2c_parse()
115 if (nvbios_rd08(bios, ent + 1) & 0x01) in dcb_i2c_parse()
141 ent = 0x0048; in dcb_i2c_parse()
143 ent = 0x0036 + bios->bmp_offset; in dcb_i2c_parse()
146 info->drive = nvbios_rd08(bios, ent + 4); in dcb_i2c_parse()
[all …]
/linux/security/apparmor/
A Dpolicy.c762 return ent->new; in __list_lookup_parent()
947 ent = NULL; in aa_replace_profiles()
990 if (ent->old || ent->rename) in aa_replace_profiles()
1016 ent = NULL; in aa_replace_profiles()
1021 if (!ent->old) { in aa_replace_profiles()
1043 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
1045 if (ent->old && ent->old->rawdata == ent->new->rawdata) { in aa_replace_profiles()
1063 if (ent->old) { in aa_replace_profiles()
1064 share_name(ent->old, ent->new); in aa_replace_profiles()
1065 __replace_profile(ent->old, ent->new); in aa_replace_profiles()
[all …]
/linux/tools/iio/
A Dlsiio.c43 const struct dirent *ent; in dump_channels() local
49 while (ent = readdir(dp), ent) in dump_channels()
50 if (check_prefix(ent->d_name, "in_") && in dump_channels()
51 (check_postfix(ent->d_name, "_raw") || in dump_channels()
52 check_postfix(ent->d_name, "_input"))) in dump_channels()
53 printf(" %-10s\n", ent->d_name); in dump_channels()
103 const struct dirent *ent; in dump_devices() local
113 while (ent = readdir(dp), ent) { in dump_devices()
118 ent->d_name) < 0) { in dump_devices()
135 while (ent = readdir(dp), ent) { in dump_devices()
[all …]
/linux/fs/proc/
A Dgeneric.c427 if (!ent) in __proc_create()
431 ent->name = ent->inline_name; in __proc_create()
453 return ent; in __proc_create()
464 if (ent) { in proc_symlink()
469 ent = proc_register(parent, ent); in proc_symlink()
475 return ent; in proc_symlink()
488 if (ent) { in _proc_mkdir()
495 ent = proc_register(parent, ent); in _proc_mkdir()
497 return ent; in _proc_mkdir()
528 if (ent) { in proc_create_mount_point()
[all …]
A Dkcore.c130 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kcore_ram_list()
131 if (!ent) in kcore_ram_list()
135 ent->type = KCORE_RAM; in kcore_ram_list()
197 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kclist_add_private()
198 if (!ent) in kclist_add_private()
207 if (ULONG_MAX - ent->addr < ent->size) in kclist_add_private()
208 ent->size = ULONG_MAX - ent->addr; in kclist_add_private()
216 if (VMALLOC_START - ent->addr < ent->size) in kclist_add_private()
217 ent->size = VMALLOC_START - ent->addr; in kclist_add_private()
220 ent->type = KCORE_RAM; in kclist_add_private()
[all …]
/linux/drivers/infiniband/hw/mlx4/
A Dcm.c188 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout()
193 list_del(&ent->list); in id_map_ent_timeout()
195 kfree(ent); in id_map_ent_timeout()
207 if (ent) { in sl_id_map_add()
220 if (ent->sl_cm_id > sl_cm_id || (ent->sl_cm_id == sl_cm_id && ent->slave_id > slave_id)) in sl_id_map_add()
238 if (!ent) in id_map_alloc()
247 ret = xa_alloc_cyclic(&sriov->pv_id_table, &ent->pv_cm_id, ent, in id_map_alloc()
254 return ent; in id_map_alloc()
258 kfree(ent); in id_map_alloc()
272 if (ent) in id_map_get()
[all …]
/linux/drivers/md/
A Dmd-autodetect.c65 int ent; in md_setup() local
76 for (ent=0 ; ent< md_setup_ents ; ent++) in md_setup()
83 if (ent >= ARRAY_SIZE(md_setup_args)) { in md_setup()
87 if (ent >= md_setup_ents) in md_setup()
97 md_setup_args[ent].level = level; in md_setup()
110 md_setup_args[ent].level = LEVEL_NONE; in md_setup()
116 md_setup_args[ent].device_names = str; in md_setup()
118 md_setup_args[ent].minor = minor; in md_setup()
282 int ent; in md_run_setup() local
289 for (ent = 0; ent < md_setup_ents; ent++) in md_run_setup()
[all …]
/linux/tools/testing/selftests/vm/
A Dtranshuge-stress.c25 #define PAGEMAP_PRESENT(ent) (((ent) & (1ull << 63)) != 0) argument
26 #define PAGEMAP_PFN(ent) ((ent) & ((1ull << 55) - 1)) argument
32 uint64_t ent[2]; in allocate_transhuge() local
46 if (pread(pagemap_fd, ent, sizeof(ent), in allocate_transhuge()
47 (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) in allocate_transhuge()
50 if (PAGEMAP_PRESENT(ent[0]) && PAGEMAP_PRESENT(ent[1]) && in allocate_transhuge()
51 PAGEMAP_PFN(ent[0]) + 1 == PAGEMAP_PFN(ent[1]) && in allocate_transhuge()
52 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - PAGE_SHIFT)) - 1))) in allocate_transhuge()
53 return PAGEMAP_PFN(ent[0]); in allocate_transhuge()
/linux/drivers/bcma/
A Dscan.c158 u32 ent = readl(*eromptr); in bcma_erom_get_ent() local
160 return ent; in bcma_erom_get_ent()
171 if (!(ent & SCAN_ER_VALID)) in bcma_erom_get_ci()
175 return ent; in bcma_erom_get_ci()
196 u32 ent; in bcma_erom_skip_component() local
199 if ((ent & SCAN_ER_VALID) && in bcma_erom_skip_component()
211 if (!(ent & SCAN_ER_VALID)) in bcma_erom_get_mst_port()
215 return ent; in bcma_erom_get_mst_port()
225 if ((!(ent & SCAN_ER_VALID)) || in bcma_erom_get_addr_desc()
233 addrl = ent & SCAN_ADDR_ADDR; in bcma_erom_get_addr_desc()
[all …]
/linux/net/
A Dsysctl_net.c127 struct ctl_table *ent; in ensure_safe_net_sysctl() local
130 for (ent = table; ent->procname; ent++) { in ensure_safe_net_sysctl()
135 ent->procname, ent->mode, ent->proc_handler, ent->data); in ensure_safe_net_sysctl()
138 if ((ent->mode & 0222) == 0) { in ensure_safe_net_sysctl()
144 addr = (unsigned long)ent->data; in ensure_safe_net_sysctl()
156 path, ent->procname, where, ent->data); in ensure_safe_net_sysctl()
159 ent->mode &= ~0222; in ensure_safe_net_sysctl()
/linux/net/netfilter/
A Dxt_hashlimit.c180 return !memcmp(&ent->dst, b, sizeof(ent->dst)); in dst_cmp()
209 return ent; in dsthash_find()
228 if (ent != NULL) { in dsthash_alloc_init()
231 return ent; in dsthash_alloc_init()
244 ent = NULL; in dsthash_alloc_init()
247 if (ent) { in dsthash_alloc_init()
248 memcpy(&ent->dst, dst, sizeof(ent->dst)); in dsthash_alloc_init()
251 spin_lock(&ent->lock); in dsthash_alloc_init()
256 return ent; in dsthash_alloc_init()
1105 ent->rateinfo.credit, ent->rateinfo.credit_cap, in dl_seq_print()
[all …]
/linux/tools/perf/util/
A Dgenelf_debug.c352 for (i = 0; i < nr_entry; i++, ent = debug_entry_next(ent)) { in emit_lineno_info()
361 cur_filename = ent->name; in emit_lineno_info()
368 last_line = ent->lineno; in emit_lineno_info()
369 last_vma = ent->addr; in emit_lineno_info()
375 if (last_line != ent->lineno) { in emit_lineno_info()
377 last_line = ent->lineno; in emit_lineno_info()
383 if (last_vma != ent->addr) { in emit_lineno_info()
385 last_vma = ent->addr; in emit_lineno_info()
468 struct debug_entry *ent = debug; in jit_process_debug_info() local
472 ent->addr = ent->addr - code_addr; in jit_process_debug_info()
[all …]

Completed in 481 milliseconds

12345678910>>...25