Home
last modified time | relevance | path

Searched full:ent (Results 1 – 25 of 706) sorted by relevance

12345678910>>...29

/openbmc/linux/fs/nfsd/
H A Dnfs4idmap.c63 struct ent { struct
80 struct ent *new = container_of(cnew, struct ent, h); in ent_init() argument
81 struct ent *itm = container_of(citm, struct ent, h); in ent_init()
93 struct ent *map = container_of(ref, struct ent, h.ref); in ent_put()
100 struct ent *e = kmalloc(sizeof(*e), GFP_KERNEL); in ent_alloc()
112 idtoname_hash(struct ent *ent) in idtoname_hash() argument
116 hash = hash_str(ent->authname, ENT_HASHBITS); in idtoname_hash()
117 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
120 if (ent->type == IDMAP_TYPE_GROUP) in idtoname_hash()
136 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() local
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/
H A Ddocbook-xml-update-catalog.xml.patch113 - uri="ent/iso-dia.ent"/>
116 - uri="ent/iso-num.ent"/>
119 - uri="ent/iso-pub.ent"/>
122 - uri="ent/iso-tech.ent"/>
125 - uri="ent/iso-lat1.ent"/>
128 - uri="ent/iso-lat2.ent"/>
131 - uri="ent/iso-grk1.ent"/>
134 - uri="ent/iso-grk2.ent"/>
137 - uri="ent/iso-grk3.ent"/>
140 - uri="ent/iso-grk4.ent"/>
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_tmpl.c123 qla27xx_skip_entry(struct qla27xx_fwdt_entry *ent, void *buf) in qla27xx_skip_entry() argument
126 ent->hdr.driver_flags |= DRIVER_FLAG_SKIP_ENTRY; in qla27xx_skip_entry()
130 qla27xx_next_entry(struct qla27xx_fwdt_entry *ent) in qla27xx_next_entry() argument
132 return (void *)ent + le32_to_cpu(ent->hdr.size); in qla27xx_next_entry()
137 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t0() argument
141 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t0()
143 return qla27xx_next_entry(ent); in qla27xx_fwdt_entry_t0()
148 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t255() argument
152 qla27xx_skip_entry(ent, buf); in qla27xx_fwdt_entry_t255()
160 struct qla27xx_fwdt_entry *ent, void *buf, ulong *len) in qla27xx_fwdt_entry_t256() argument
[all …]
/openbmc/linux/drivers/nubus/
H A Dnubus.c249 struct nubus_dirent ent; in nubus_get_board_dir() local
257 if (nubus_readdir(dir, &ent) == -1) in nubus_get_board_dir()
259 if (nubus_get_subdir(&ent, dir) == -1) in nubus_get_board_dir()
265 int nubus_get_subdir(const struct nubus_dirent *ent, in nubus_get_subdir() argument
268 dir->ptr = dir->base = nubus_dirptr(ent); in nubus_get_subdir()
270 dir->mask = ent->mask; in nubus_get_subdir()
275 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument
283 ent->base = nd->ptr; in nubus_readdir()
296 ent->type = resid >> 24; in nubus_readdir()
298 ent->data = resid & 0xffffff; in nubus_readdir()
[all …]
/openbmc/qemu/target/hppa/
H A Dmem_helper.c77 HPPATLBEntry *ent = container_of(i, HPPATLBEntry, itree); in hppa_find_tlb() local
78 trace_hppa_tlb_find_entry(env, ent, ent->entry_valid, in hppa_find_tlb()
79 ent->itree.start, ent->itree.last, ent->pa); in hppa_find_tlb()
80 return ent; in hppa_find_tlb()
86 static void hppa_flush_tlb_ent(CPUHPPAState *env, HPPATLBEntry *ent, in hppa_flush_tlb_ent() argument
92 if (!ent->entry_valid) { in hppa_flush_tlb_ent()
96 trace_hppa_tlb_flush_ent(env, ent, ent->itree.start, in hppa_flush_tlb_ent()
97 ent->itree.last, ent->pa); in hppa_flush_tlb_ent()
99 tlb_flush_range_by_mmuidx(cs, ent->itree.start, in hppa_flush_tlb_ent()
100 ent->itree.last - ent->itree.start + 1, in hppa_flush_tlb_ent()
[all …]
H A Dmachine.c50 HPPATLBEntry *ent = opaque; in get_tlb() local
53 ent->itree.start = qemu_get_be64(f); in get_tlb()
54 ent->itree.last = qemu_get_be64(f); in get_tlb()
55 ent->pa = qemu_get_be64(f); in get_tlb()
59 ent->t = extract64(val, 61, 1); in get_tlb()
60 ent->d = extract64(val, 60, 1); in get_tlb()
61 ent->b = extract64(val, 59, 1); in get_tlb()
62 ent->ar_type = extract64(val, 56, 3); in get_tlb()
63 ent->ar_pl1 = extract64(val, 54, 2); in get_tlb()
64 ent->ar_pl2 = extract64(val, 52, 2); in get_tlb()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c119 struct mlx5_cmd_work_ent *ent; in cmd_alloc_ent() local
121 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
122 if (!ent) in cmd_alloc_ent()
125 ent->idx = -EINVAL; in cmd_alloc_ent()
126 ent->in = in; in cmd_alloc_ent()
127 ent->out = out; in cmd_alloc_ent()
128 ent->uout = uout; in cmd_alloc_ent()
129 ent->uout_size = uout_size; in cmd_alloc_ent()
130 ent->callback = cbk; in cmd_alloc_ent()
131 ent->context = context; in cmd_alloc_ent()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c112 struct mlx5_ib_dev *dev = async_create->ent->dev; in mlx5_ib_create_mkey_cb()
125 static void queue_adjust_cache_locked(struct mlx5_cache_ent *ent);
147 static int push_mkey_locked(struct mlx5_cache_ent *ent, bool limit_pendings, in push_mkey_locked() argument
150 XA_STATE(xas, &ent->mkeys, 0); in push_mkey_locked()
154 (ent->reserved - ent->stored) > MAX_PENDING_REG_MR) in push_mkey_locked()
163 xas_set(&xas, ent->reserved); in push_mkey_locked()
166 if (to_store && ent->stored == ent->reserved) in push_mkey_locked()
171 ent->reserved++; in push_mkey_locked()
173 if (ent->stored != ent->reserved) in push_mkey_locked()
174 __xa_store(&ent->mkeys, in push_mkey_locked()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dfilecheck.c208 ocfs2_filecheck_erase_entries(struct ocfs2_filecheck_sysfs_entry *ent,
211 ocfs2_filecheck_adjust_max(struct ocfs2_filecheck_sysfs_entry *ent, in ocfs2_filecheck_adjust_max() argument
219 spin_lock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max()
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()
228 BUG_ON(!ocfs2_filecheck_erase_entries(ent, in ocfs2_filecheck_adjust_max()
229 ent->fs_fcheck->fc_size - len)); in ocfs2_filecheck_adjust_max()
231 ent->fs_fcheck->fc_max = len; in ocfs2_filecheck_adjust_max()
234 spin_unlock(&ent->fs_fcheck->fc_lock); in ocfs2_filecheck_adjust_max()
[all …]
/openbmc/linux/lib/
H A Derror-inject.c26 struct ei_entry *ent; in within_error_injection_list() local
30 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list()
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
46 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type()
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()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dmemtrace.c43 struct memtrace_entry *ent = filp->private_data; in memtrace_read() local
45 return simple_read_from_buffer(ubuf, count, ppos, ent->mem, ent->size); in memtrace_read()
50 struct memtrace_entry *ent = filp->private_data; in memtrace_mmap() local
52 if (ent->size < vma->vm_end - vma->vm_start) in memtrace_mmap()
55 if (vma->vm_pgoff << PAGE_SHIFT >= ent->size) in memtrace_mmap()
59 return remap_pfn_range(vma, vma->vm_start, PHYS_PFN(ent->start) + vma->vm_pgoff, in memtrace_mmap()
190 struct memtrace_entry *ent = &memtrace_array[i]; in memtrace_init_debugfs() local
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()
[all …]
H A Dopal-xscom.c90 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read() local
103 rc = opal_scom_read(ent->chip, reg_base, reg, &val); in scom_debug_read()
121 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write() local
136 rc = opal_scom_write(ent->chip, reg_base, reg, val); in scom_debug_write()
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()
167 ent->path.data = (void *)kasprintf(GFP_KERNEL, "%pOF", dn); in scom_debug_init_one()
[all …]
/openbmc/linux/drivers/scsi/
H A Desp_scsi.c190 "ent[%d] %s val[%02x] sreg[%02x] seqreg[%02x] " in esp_dump_cmd_log()
404 static dma_addr_t esp_cur_dma_addr(struct esp_cmd_entry *ent, in esp_cur_dma_addr() argument
409 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_addr()
410 return ent->sense_dma + in esp_cur_dma_addr()
411 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_addr()
419 static unsigned int esp_cur_dma_len(struct esp_cmd_entry *ent, in esp_cur_dma_len() argument
424 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_cur_dma_len()
426 (ent->sense_ptr - cmd->sense_buffer); in esp_cur_dma_len()
431 static void esp_advance_dma(struct esp *esp, struct esp_cmd_entry *ent, in esp_advance_dma() argument
436 if (ent->flags & ESP_CMD_FLAG_AUTOSENSE) { in esp_advance_dma()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Di2c.c75 u16 ent = dcb_i2c_entry(bios, idx, &ver, &len); in dcb_i2c_parse() local
76 if (ent) { in dcb_i2c_parse()
78 u32 ent_value = nvbios_rd32(bios, ent); in dcb_i2c_parse()
88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse()
90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; 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()
109 info->drive = nvbios_rd08(bios, ent + 0) & 0x0f; in dcb_i2c_parse()
110 if (nvbios_rd08(bios, ent + 1) & 0x01) in dcb_i2c_parse()
[all …]
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst11 .. _MEDIA-ENT-F-UNKNOWN:
12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN:
13 .. _MEDIA-ENT-F-IO-V4L:
14 .. _MEDIA-ENT-F-IO-VBI:
15 .. _MEDIA-ENT-F-IO-SWRADIO:
16 .. _MEDIA-ENT-F-IO-DTV:
17 .. _MEDIA-ENT-F-DTV-DEMOD:
18 .. _MEDIA-ENT-F-TS-DEMUX:
19 .. _MEDIA-ENT-F-DTV-CA:
20 .. _MEDIA-ENT-F-DTV-NET-DECAP:
[all …]
/openbmc/linux/fs/proc/
H A Dgeneric.c396 struct proc_dir_entry *ent = NULL; in __proc_create() local
425 ent = kmem_cache_zalloc(proc_dir_entry_cache, GFP_KERNEL); in __proc_create()
426 if (!ent) in __proc_create()
430 ent->name = ent->inline_name; in __proc_create()
432 ent->name = kmalloc(qstr.len + 1, GFP_KERNEL); in __proc_create()
433 if (!ent->name) { in __proc_create()
434 pde_free(ent); in __proc_create()
439 memcpy(ent->name, fn, qstr.len + 1); in __proc_create()
440 ent->namelen = qstr.len; in __proc_create()
441 ent->mode = mode; in __proc_create()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dcm.c180 struct id_map_entry *ent = container_of(delay, struct id_map_entry, timeout); in id_map_ent_timeout() local
182 struct mlx4_ib_dev *dev = ent->dev; in id_map_ent_timeout()
187 if (!xa_erase(&sriov->pv_id_table, ent->pv_cm_id)) in id_map_ent_timeout()
189 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout()
190 if (found_ent && found_ent == ent) in id_map_ent_timeout()
194 list_del(&ent->list); in id_map_ent_timeout()
196 kfree(ent); in id_map_ent_timeout()
203 struct id_map_entry *ent; in sl_id_map_add() local
207 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add()
208 if (ent) { in sl_id_map_add()
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dcmd-db.c120 rsc_offset(const struct rsc_hdr *hdr, const struct entry_header *ent) in rsc_offset() argument
123 u16 loffset = le16_to_cpu(ent->offset); in rsc_offset()
148 const struct entry_header *ent; in cmd_db_get_header() local
150 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header()
168 ent = rsc_to_entry_header(rsc_hdr); in cmd_db_get_header()
169 for (j = 0; j < le16_to_cpu(rsc_hdr->cnt); j++, ent++) { in cmd_db_get_header()
170 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
172 *eh = ent; in cmd_db_get_header()
196 const struct entry_header *ent; in cmd_db_read_addr() local
198 ret = cmd_db_get_header(id, &ent, NULL); in cmd_db_read_addr()
[all …]
/openbmc/linux/tools/iio/
H 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()
114 if (check_prefix(ent->d_name, type_device)) { in dump_devices()
118 ent->d_name) < 0) { in dump_devices()
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dbtt.h34 #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
60 * | ent[0] | ent[1] |
64 * | ent[2] | ent[3] |
71 * | ent[0] | ent[1] |
75 * | ent[2] | ent[3] |
92 struct log_entry ent[4]; member
/openbmc/linux/net/netfilter/
H A Dxt_hashlimit.c177 static inline bool dst_cmp(const struct dsthash_ent *ent, in dst_cmp() argument
180 return !memcmp(&ent->dst, b, sizeof(ent->dst)); in dst_cmp()
202 struct dsthash_ent *ent; in dsthash_find() local
206 hlist_for_each_entry_rcu(ent, &ht->hash[hash], node) in dsthash_find()
207 if (dst_cmp(ent, dst)) { in dsthash_find()
208 spin_lock(&ent->lock); in dsthash_find()
209 return ent; in dsthash_find()
220 struct dsthash_ent *ent; in dsthash_alloc_init() local
227 ent = dsthash_find(ht, dst); in dsthash_alloc_init()
228 if (ent != NULL) { in dsthash_alloc_init()
[all …]
/openbmc/linux/security/apparmor/
H A Dpolicy.c887 struct aa_load_ent *ent; in __list_lookup_parent() local
894 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
895 if (ent->new == profile) in __list_lookup_parent()
897 if (strncmp(ent->new->base.hname, profile->base.hname, len) == in __list_lookup_parent()
898 0 && ent->new->base.hname[len] == 0) in __list_lookup_parent()
899 return ent->new; in __list_lookup_parent()
1038 struct aa_load_ent *ent, *tmp; in aa_replace_profiles() local
1054 * fail. Sort ent list and take ns locks in hierarchy order in aa_replace_profiles()
1057 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1059 if (ent->ns_name && in aa_replace_profiles()
[all …]
/openbmc/linux/drivers/bcma/
H A Dscan.c158 u32 ent = readl(*eromptr); in bcma_erom_get_ent() local
160 return ent; in bcma_erom_get_ent()
170 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_get_ci() local
171 if (!(ent & SCAN_ER_VALID)) in bcma_erom_get_ci()
173 if ((ent & SCAN_ER_TAG) != SCAN_ER_TAG_CI) in bcma_erom_get_ci()
175 return ent; in bcma_erom_get_ci()
180 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_is_end() local
182 return (ent == (SCAN_ER_TAG_END | SCAN_ER_VALID)); in bcma_erom_is_end()
187 u32 ent = bcma_erom_get_ent(bus, eromptr); in bcma_erom_is_bridge() local
189 return (((ent & SCAN_ER_VALID)) && in bcma_erom_is_bridge()
[all …]
/openbmc/linux/net/
H A Dsysctl_net.c126 struct ctl_table *ent; in ensure_safe_net_sysctl() local
129 ent = table; in ensure_safe_net_sysctl()
130 for (size_t i = 0; i < table_size && ent->procname; ent++, i++) { 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()
/openbmc/linux/drivers/md/
H A Dmd-autodetect.c65 int ent; in md_setup() local
76 for (ent=0 ; ent< md_setup_ents ; ent++) in md_setup()
77 if (md_setup_args[ent].minor == minor && in md_setup()
78 md_setup_args[ent].partitioned == partitioned) { 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()
98 md_setup_args[ent].chunk = 1 << (factor+12); 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()
[all …]

12345678910>>...29