/linux-6.3-rc2/drivers/nubus/ |
A D | nubus.c | 383 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 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 = pded->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-6.3-rc2/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 …]
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_tmpl.c | 132 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() 487 ent->t268.start_addr = in qla27xx_fwdt_entry_t268() 502 ent->t268.start_addr = in qla27xx_fwdt_entry_t268() 737 ent = qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t276() 850 ent = qla27xx_find_entry(type)(vha, ent, buf, len); in qla27xx_walk_template() 851 if (!ent) in qla27xx_walk_template() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | memtrace.c | 45 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 D | opal-xscom.c | 90 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-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 169 if (ent->stored != ent->reserved) in push_mkey_locked() 235 if (ent->stored == ent->reserved) { in pop_stored_mkey() 253 struct mlx5_cache_ent *ent = mkey_out->ent; in create_mkey_callback() local 330 async_create->ent = ent; in add_keys() 537 ret = ent->stored < ent->limit; in someone_adding() 557 if (ent->disabled || READ_ONCE(ent->dev->fill_delay) || ent->is_tmp) in queue_adjust_cache_locked() 559 if (ent->stored < ent->limit) { in queue_adjust_cache_locked() 563 ent->reserved < 2 * ent->limit) { in queue_adjust_cache_locked() 574 if (ent->stored != ent->reserved) in queue_adjust_cache_locked() 592 if (ent->fill_to_high_water && ent->reserved < 2 * ent->limit && in __cache_work_func() [all …]
|
/linux-6.3-rc2/lib/ |
A D | error-inject.c | 26 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 47 if (addr >= ent->start_addr && addr < ent->end_addr) { in get_injectable_error_type() 48 ei_type = ent->etype; in get_injectable_error_type() 69 struct ei_entry *ent; in populate_error_injection_list() local 83 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_error_injection_list() 84 if (!ent) in populate_error_injection_list() 89 ent->priv = priv; in populate_error_injection_list() 126 if (ent->priv == mod) { in module_unload_ei_list() [all …]
|
/linux-6.3-rc2/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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | cmd.c | 121 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent() 266 ent->lay->sig = ~xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in set_signature() 880 dump_buf(ent->lay->in, sizeof(ent->lay->in), 1, offset, ent->idx); in dump_command() 883 dump_buf(ent->lay->out, sizeof(ent->lay->out), 1, offset, ent->idx); in dump_command() 887 dump_buf(ent->lay, sizeof(*ent->lay), 0, offset, ent->idx); in dump_command() 934 ent->idx, mlx5_command_str(ent->op), ent->op); in cb_timeout_handler() 1003 cmd->ent_arr[ent->idx] = ent; in cmd_work_handler() 1227 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke() 1696 ent->ret, deliv_status_to_str(ent->status), ent->status); in mlx5_cmd_comp_handler() 1700 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | util.h | 37 #define PAGEMAP_PRESENT(ent) (((ent) & (1ull << 63)) != 0) argument 38 #define PAGEMAP_PFN(ent) ((ent) & ((1ull << 55) - 1)) argument 43 uint64_t ent[2]; in allocate_transhuge() local 57 if (pread(pagemap_fd, ent, sizeof(ent), in allocate_transhuge() 58 (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) in allocate_transhuge() 61 if (PAGEMAP_PRESENT(ent[0]) && PAGEMAP_PRESENT(ent[1]) && in allocate_transhuge() 62 PAGEMAP_PFN(ent[0]) + 1 == PAGEMAP_PFN(ent[1]) && in allocate_transhuge() 63 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - PAGE_SHIFT)) - 1))) in allocate_transhuge() 64 return PAGEMAP_PFN(ent[0]); in allocate_transhuge()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | esp_scsi.c | 471 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-6.3-rc2/drivers/soc/qcom/ |
A D | cmd-db.c | 142 const struct entry_header *ent; in cmd_db_get_header() local 164 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header() 166 *eh = ent; in cmd_db_get_header() 190 const struct entry_header *ent; in cmd_db_read_addr() local 209 const struct entry_header *ent; in cmd_db_read_aux_data() local 217 *len = le16_to_cpu(ent->len); in cmd_db_read_aux_data() 233 const struct entry_header *ent; in cmd_db_read_slave_id() local 240 addr = le32_to_cpu(ent->addr); in cmd_db_read_slave_id() 250 const struct entry_header *ent; in cmd_db_debugfs_dump() local 287 (int)sizeof(ent->id), ent->id); in cmd_db_debugfs_dump() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | i2c.c | 76 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-6.3-rc2/tools/iio/ |
A D | lsiio.c | 43 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 …]
|
A D | iio_utils.c | 98 const struct dirent *ent; in iioutils_get_type() local 122 while (ent = readdir(dp), ent) in iioutils_get_type() 227 const struct dirent *ent; in iioutils_get_param_float() local 247 while (ent = readdir(dp), ent) in iioutils_get_param_float() 323 const struct dirent *ent; in build_channel_array() local 338 while (ent = readdir(dp), ent) in build_channel_array() 339 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array() 380 while (ent = readdir(dp), ent) { in build_channel_array() 381 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array() 562 const struct dirent *ent; in find_type_by_name() local [all …]
|
/linux-6.3-rc2/fs/proc/ |
A D | generic.c | 427 if (!ent) in __proc_create() 431 ent->name = ent->inline_name; in __proc_create() 456 return ent; in __proc_create() 467 if (ent) { in proc_symlink() 472 ent = proc_register(parent, ent); in proc_symlink() 478 return ent; in proc_symlink() 491 if (ent) { in _proc_mkdir() 498 ent = proc_register(parent, ent); in _proc_mkdir() 500 return ent; in _proc_mkdir() 531 if (ent) { in proc_create_mount_point() [all …]
|
A D | kcore.c | 129 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kcore_ram_list() 130 if (!ent) in kcore_ram_list() 134 ent->type = KCORE_RAM; in kcore_ram_list() 196 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kclist_add_private() 197 if (!ent) in kclist_add_private() 206 if (ULONG_MAX - ent->addr < ent->size) in kclist_add_private() 207 ent->size = ULONG_MAX - ent->addr; in kclist_add_private() 215 if (VMALLOC_START - ent->addr < ent->size) in kclist_add_private() 216 ent->size = VMALLOC_START - ent->addr; in kclist_add_private() 219 ent->type = KCORE_RAM; in kclist_add_private() [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | md-autodetect.c | 65 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() 273 int ent; in md_run_setup() local 280 for (ent = 0; ent < md_setup_ents; ent++) in md_run_setup() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | cm.c | 189 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout() 194 list_del(&ent->list); in id_map_ent_timeout() 196 kfree(ent); in id_map_ent_timeout() 208 if (ent) { in sl_id_map_add() 221 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() 239 if (!ent) in id_map_alloc() 248 ret = xa_alloc_cyclic(&sriov->pv_id_table, &ent->pv_cm_id, ent, in id_map_alloc() 255 return ent; in id_map_alloc() 259 kfree(ent); in id_map_alloc() 273 if (ent) in id_map_get() [all …]
|
/linux-6.3-rc2/security/apparmor/ |
A D | policy.c | 876 return ent->new; in __list_lookup_parent() 1061 ent = NULL; in aa_replace_profiles() 1108 if (ent->old || ent->rename) in aa_replace_profiles() 1151 ent = NULL; in aa_replace_profiles() 1156 if (!ent->old) { in aa_replace_profiles() 1179 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles() 1181 if (ent->old && ent->old->rawdata == ent->new->rawdata && in aa_replace_profiles() 1200 if (ent->old) { in aa_replace_profiles() 1201 share_name(ent->old, ent->new); in aa_replace_profiles() 1202 __replace_profile(ent->old, ent->new); in aa_replace_profiles() [all …]
|
/linux-6.3-rc2/net/ |
A D | sysctl_net.c | 127 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-6.3-rc2/drivers/bcma/ |
A D | scan.c | 158 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-6.3-rc2/drivers/nvdimm/ |
A D | btt.h | 34 #define ent_lba(ent) (ent & MAP_LBA_MASK) argument 35 #define ent_e_flag(ent) (!!(ent & MAP_ERR_MASK)) argument 36 #define ent_z_flag(ent) (!!(ent & MAP_TRIM_MASK)) argument 37 #define set_e_flag(ent) (ent |= MAP_ERR_MASK) argument 39 #define ent_normal(ent) (ent_e_flag(ent) && ent_z_flag(ent)) argument 92 struct log_entry ent[4]; member
|
/linux-6.3-rc2/drivers/media/test-drivers/vimc/ |
A D | vimc-streamer.c | 30 for (i = 0; i < ent->num_pads; i++) { in vimc_get_source_entity() 31 if (ent->pads[i].flags & MEDIA_PAD_FL_SOURCE) in vimc_get_source_entity() 33 pad = media_pad_remote_pad_first(&ent->pads[i]); in vimc_get_source_entity() 58 if (!is_media_entity_v4l2_subdev(ved->ent)) in vimc_streamer_pipeline_terminate() 61 sd = media_entity_to_v4l2_subdev(ved->ent); in vimc_streamer_pipeline_terminate() 95 if (is_media_entity_v4l2_subdev(ved->ent)) { in vimc_streamer_pipeline_init() 96 sd = media_entity_to_v4l2_subdev(ved->ent); in vimc_streamer_pipeline_init() 100 ved->ent->name); in vimc_streamer_pipeline_init() 106 entity = vimc_get_source_entity(ved->ent); in vimc_streamer_pipeline_init() 110 if (!vimc_is_source(ved->ent)) { in vimc_streamer_pipeline_init() [all …]
|