Home
last modified time | relevance | path

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

123456

/dragonfly/usr.sbin/newsyslog/
H A Dnewsyslog.c494 free(ent); in free_entry()
524 printf("%s <%d%s>: ", ent->log, ent->numlogs, in do_entry()
526 ent->fsize = sizefile(ent->log); in do_entry()
527 oversized = ((ent->trsize > 0) && (ent->fsize >= ent->trsize)); in do_entry()
1883 log_trim(ent->log, ent); in do_rotate()
1918 save_zipwork(ent, swork, ent->fsize, file1); in do_rotate()
2668 printf("\tchown %u:%u %s\n", ent->uid, ent->gid, in createlog()
2671 failed = fchown(fd, ent->uid, ent->gid); in createlog()
2729 if (ent->uid != (uid_t)-1 || ent->gid != (gid_t)-1) in change_attrs()
2731 ent->uid, ent->gid, fname); in change_attrs()
[all …]
/dragonfly/sys/dev/sound/pcm/
H A Dsndstat.c221 if (ent->type == type && ent->unit == unit) in sndstat_find()
222 return ent; in sndstat_find()
305 ent = kmalloc(sizeof *ent, M_DEVBUF, M_WAITOK | M_ZERO); in sndstat_register()
306 ent->dev = dev; in sndstat_register()
307 ent->str = str; in sndstat_register()
308 ent->type = type; in sndstat_register()
309 ent->unit = unit; in sndstat_register()
355 if (ent->dev == NULL && ent->str == str) { in sndstat_unregisterfile()
395 if (!ent) in sndstat_prepare()
407 ent->handler(s, ent->dev, snd_verbose); in sndstat_prepare()
[all …]
/dragonfly/sys/platform/pc64/acpica/
H A Dacpi_madt.c152 const ACPI_SUBTABLE_HEADER *ent; in madt_iterate_entries() local
154 ent = (const ACPI_SUBTABLE_HEADER *) in madt_iterate_entries()
156 if (ent->Length < sizeof(*ent)) { in madt_iterate_entries()
158 "entry len %d\n", ent->Length); in madt_iterate_entries()
162 if (ent->Length > (size - cur)) { in madt_iterate_entries()
169 cur += ent->Length; in madt_iterate_entries()
175 switch (ent->Type) { in madt_iterate_entries()
179 "lapic entry len %d\n", ent->Length); in madt_iterate_entries()
204 ent->Length); in madt_iterate_entries()
212 error = func(arg, ent); in madt_iterate_entries()
[all …]
/dragonfly/crypto/libressl/crypto/x509/
H A Dby_dir.c184 free(ent->dir); in by_dir_entry_free()
186 free(ent); in by_dir_entry_free()
216 BY_DIR_ENTRY *ent; in add_cert_dir() local
238 ent = malloc(sizeof(*ent)); in add_cert_dir()
239 if (ent == NULL) { in add_cert_dir()
243 ent->dir_type = type; in add_cert_dir()
246 if (ent->dir == NULL || ent->hashes == NULL) { in add_cert_dir()
248 by_dir_entry_free(ent); in add_cert_dir()
253 by_dir_entry_free(ent); in add_cert_dir()
311 BY_DIR_ENTRY *ent; in get_cert_by_subject() local
[all …]
/dragonfly/contrib/gdb-7/bfd/
H A Delf-eh-frame.c953 && cookie->rel->r_offset < ent->offset + ent->size; in mark_entry()
1151 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1206 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1426 if (!ent->removed && ent->new_offset > ent->offset) in _bfd_elf_write_section_eh_frame()
1427 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1429 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_write_section_eh_frame()
1430 if (!ent->removed && ent->new_offset < ent->offset) in _bfd_elf_write_section_eh_frame()
1431 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1433 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_write_section_eh_frame()
1628 value += (bfd_vma) ent->offset - ent->new_offset; in _bfd_elf_write_section_eh_frame()
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/
H A Dordered.c334 for (ent = 0; ent < num_ents; ent++) in gomp_doacross_init()
338 for (ent = 0; ent < num_ents; ent++) in gomp_doacross_init()
360 unsigned long ent; in GOMP_doacross_post() local
372 ent = counts[0]; in GOMP_doacross_post()
411 unsigned long ent; in GOMP_doacross_wait() local
434 ent = first; in GOMP_doacross_wait()
569 for (ent = 0; ent < num_ents; ent++) in gomp_doacross_ull_init()
573 for (ent = 0; ent < num_ents; ent++) in gomp_doacross_ull_init()
595 unsigned long ent; in GOMP_doacross_ull_post() local
607 ent = counts[0]; in GOMP_doacross_ull_post()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Dmptable.c589 ent = pos; in mptable_bus_info_callback()
652 ent = pos; in mptable_lapic_pass1_callback()
681 ent = pos; in mptable_lapic_pass2_callback()
825 ent = pos; in mptable_lapic_probe_callback()
833 ent->apic_id); in mptable_lapic_probe_callback()
911 ent = pos; in mptable_ioapic_list_callback()
1021 ent = pos; in mptable_pci_int_callback()
1023 if (ent->int_type != 0) in mptable_pci_int_callback()
1184 ent = pos; in mptable_ioapic_probe_callback()
1210 ent->src_bus_irq); in mptable_ioapic_probe_callback()
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf-eh-frame.c1364 else if (ent->cie && ent->u.cie.merged) in offset_adjust()
1496 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1575 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1594 if (ent->new_offset != ent->offset) in _bfd_elf_discard_section_eh_frame()
1958 if (!ent->removed && ent->new_offset > ent->offset) in _bfd_elf_write_section_eh_frame()
1959 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1961 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_write_section_eh_frame()
1962 if (!ent->removed && ent->new_offset < ent->offset) in _bfd_elf_write_section_eh_frame()
1963 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1966 for (ent = sec_info->entry; ent < last_ent; ++ent) in _bfd_elf_write_section_eh_frame()
[all …]
H A Dcoff-bfd.c65 combined_entry_type *ent; in bfd_coff_get_auxent() local
78 ent = csym->native + indx + 1; in bfd_coff_get_auxent()
80 BFD_ASSERT (! ent->is_sym); in bfd_coff_get_auxent()
81 *pauxent = ent->u.auxent; in bfd_coff_get_auxent()
83 if (ent->fix_tag) in bfd_coff_get_auxent()
88 if (ent->fix_end) in bfd_coff_get_auxent()
93 if (ent->fix_scnlen) in bfd_coff_get_auxent()
/dragonfly/sbin/gpt/
H A Dmigrate.c81 return (ent); in migrate_disklabel()
104 ent->ent_name, 36); in migrate_disklabel()
111 ent->ent_name, 36); in migrate_disklabel()
133 ent++; in migrate_disklabel()
136 return (ent); in migrate_disklabel()
148 struct gpt_ent *ent; in migrate() local
236 ent = tbl->map_data; in migrate()
265 ent++; in migrate()
267 ent = migrate_disklabel(fd, start, ent); in migrate()
277 ent++; in migrate()
[all …]
H A Dadd.c63 struct gpt_ent *ent; in add() local
96 ent = (void*)((char*)tbl->map_data + i * in add()
98 if (!uuid_is_nil(&ent->ent_type, NULL)) { in add()
105 ent = NULL; in add()
107 ent = (void*)((char*)tbl->map_data + i * in add()
109 if (uuid_is_nil(&ent->ent_type, NULL)) in add()
125 le_uuid_enc(&ent->ent_type, &type); in add()
126 ent->ent_lba_start = htole64(map->map_start); in add()
127 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL); in add()
140 le_uuid_enc(&ent->ent_type, &type); in add()
[all …]
H A Dboot.c67 struct gpt_ent *ent; in bootset() local
100 ent = (void *)((char *)tbl->map_data + entry * in bootset()
102 if (!uuid_is_nil(&ent->ent_type, NULL)) { in bootset()
112 le_uuid_enc(&ent->ent_type, &uuid); in bootset()
113 ent->ent_lba_start = htole64(map->map_start); in bootset()
114 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL); in bootset()
126 ent = (void*)((char*)lbt->map_data + entry * le32toh(hdr->hdr_entsz)); in bootset()
127 le_uuid_enc(&ent->ent_type, &uuid); in bootset()
128 ent->ent_lba_start = htole64(map->map_start); in bootset()
129 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL); in bootset()
/dragonfly/lib/libnvmm/
H A Dlibnvmm.c71 area_t *ent; in __area_isvalid() local
75 if (gpa >= ent->gpa && gpa < ent->gpa + ent->size) { in __area_isvalid()
79 gpa + size <= ent->gpa + ent->size) { in __area_isvalid()
82 if (gpa <= ent->gpa && gpa + size >= ent->gpa + ent->size) { in __area_isvalid()
132 if (hva == ent->hva && gpa == ent->gpa && size == ent->size) { in __area_delete()
134 free(ent); in __area_delete()
146 area_t *ent; in __area_remove_all() local
150 free(ent); in __area_remove_all()
528 area_t *ent; in nvmm_gpa_to_hva() local
531 if (gpa >= ent->gpa && gpa < ent->gpa + ent->size) { in nvmm_gpa_to_hva()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf-eh-frame.c1139 && cookie->rel->r_offset < ent->offset + ent->size; in mark_entry()
1340 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1345 else if (!ent->cie && ent->u.fde.cie_inf != NULL) in _bfd_elf_discard_section_eh_frame()
1407 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_discard_section_eh_frame()
1761 if (!ent->removed && ent->new_offset > ent->offset) in _bfd_elf_write_section_eh_frame()
1762 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1764 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_write_section_eh_frame()
1765 if (!ent->removed && ent->new_offset < ent->offset) in _bfd_elf_write_section_eh_frame()
1766 memmove (contents + ent->new_offset, contents + ent->offset, ent->size); in _bfd_elf_write_section_eh_frame()
1768 for (ent = sec_info->entry; ent < sec_info->entry + sec_info->count; ++ent) in _bfd_elf_write_section_eh_frame()
[all …]
H A Dcoff-bfd.c65 combined_entry_type *ent; in bfd_coff_get_auxent() local
78 ent = csym->native + indx + 1; in bfd_coff_get_auxent()
80 BFD_ASSERT (! ent->is_sym); in bfd_coff_get_auxent()
81 *pauxent = ent->u.auxent; in bfd_coff_get_auxent()
83 if (ent->fix_tag) in bfd_coff_get_auxent()
88 if (ent->fix_end) in bfd_coff_get_auxent()
93 if (ent->fix_scnlen) in bfd_coff_get_auxent()
/dragonfly/contrib/grep/lib/
H A Dfts-cycle.c74 enter_dir (FTS *fts, FTSENT *ent) in enter_dir() argument
78 struct stat const *st = ent->fts_statp; in enter_dir()
87 ad->fts_ent = ent; in enter_dir()
102 ent->fts_cycle = ad_from_table->fts_ent; in enter_dir()
103 ent->fts_info = FTS_DC; in enter_dir()
108 if (cycle_check (fts->fts_cycle.state, ent->fts_statp)) in enter_dir()
114 ent->fts_cycle = ent; in enter_dir()
115 ent->fts_info = FTS_DC; in enter_dir()
125 leave_dir (FTS *fts, FTSENT *ent) in leave_dir() argument
127 struct stat const *st = ent->fts_statp; in leave_dir()
[all …]
/dragonfly/contrib/cvs-1.12/src/
H A Dentries.c42 Entnode *ent; in Entnode_Create() local
55 return ent; in Entnode_Create()
70 if (ent->tag) in Entnode_Destroy()
71 free (ent->tag); in Entnode_Destroy()
72 if (ent->date) in Entnode_Destroy()
73 free (ent->date); in Entnode_Destroy()
76 free (ent); in Entnode_Destroy()
267 Entnode *ent; in fgetentent() local
279 ent = NULL; in fgetentent()
381 return ent; in fgetentent()
[all …]
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_table.c159 if (ent == NULL) in table_append_dispatch()
162 ent->addr.sin_len = sizeof(ent->addr); in table_append_dispatch()
163 ent->mask.sin_len = sizeof(ent->mask); in table_append_dispatch()
168 if (rnh->rnh_addaddr(&ent->addr, &ent->mask, rnh, ent->rn) in table_append_dispatch()
177 if (ent == NULL) in table_append_dispatch()
182 if (rnh->rnh_addaddr(&ent->addr, NULL, rnh, ent->rn) != NULL) in table_append_dispatch()
198 struct table_entry *ent; in table_remove_dispatch() local
219 if (ent != NULL) { in table_remove_dispatch()
221 kfree(ent, M_IPFW3_TABLE); in table_remove_dispatch()
339 addr = &ent->addr; in dump_table_ip_entry()
[all …]
/dragonfly/contrib/ncurses/ncurses/base/
H A Dlib_slkset.c109 FreeIfNeeded(slk->ent[i].ent_text); in NCURSES_EXPORT()
110 if ((slk->ent[i].ent_text = strdup(str)) == 0) in NCURSES_EXPORT()
112 slk->ent[i].ent_text[numchrs] = '\0'; in NCURSES_EXPORT()
114 if ((slk->ent[i].form_text = (char *) _nc_doalloc(slk->ent[i].form_text, in NCURSES_EXPORT()
134 memset(slk->ent[i].form_text, ' ', (size_t) offset); in NCURSES_EXPORT()
136 memcpy(slk->ent[i].form_text + offset, in NCURSES_EXPORT()
137 slk->ent[i].ent_text, in NCURSES_EXPORT()
141 memset(slk->ent[i].form_text + offset + numchrs, in NCURSES_EXPORT()
146 slk->ent[i].form_text[numchrs - numcols + limit] = 0; in NCURSES_EXPORT()
147 slk->ent[i].dirty = TRUE; in NCURSES_EXPORT()
H A Dlib_slk.c72 FreeIfNeeded(SP_PARM->_slk->ent); in slk_failed()
96 SP_PARM->_slk->ent[i].ent_x = x; in _nc_format_slks()
107 SP_PARM->_slk->ent[i].ent_x = x; in _nc_format_slks()
119 SP_PARM->_slk->ent[i].ent_x = x; in _nc_format_slks()
188 || (SP_PARM->_slk->ent = typeCalloc(slk_ent, in _nc_slk_initialize()
197 SP_PARM->_slk->ent[i].ent_text = (char *) _nc_doalloc(0, used); in _nc_slk_initialize()
198 if (SP_PARM->_slk->ent[i].ent_text == 0) in _nc_slk_initialize()
200 memset(SP_PARM->_slk->ent[i].ent_text, 0, used); in _nc_slk_initialize()
203 if (SP_PARM->_slk->ent[i].form_text == 0) in _nc_slk_initialize()
207 memset(SP_PARM->_slk->ent[i].form_text, ' ', used - 1); in _nc_slk_initialize()
[all …]
H A Dlib_slkrefr.c70 mvwprintw(win, 0, sp->_slk->ent[i].ent_x, "F%d", i + 1); in slk_paint_info()
97 if (slk->dirty || slk->ent[i].dirty) { in slk_intern_refresh()
98 if (slk->ent[i].visible) { in slk_intern_refresh()
101 CallDriver_2(sp, td_hwlabel, i + 1, slk->ent[i].form_text); in slk_intern_refresh()
107 slk->ent[i].form_text)); in slk_intern_refresh()
113 wmove(slk->win, SLK_LINES(fmt) - 1, slk->ent[i].ent_x); in slk_intern_refresh()
115 waddstr(slk->win, slk->ent[i].form_text); in slk_intern_refresh()
122 slk->ent[i].dirty = FALSE; in slk_intern_refresh()
/dragonfly/usr.sbin/ip6addrctl/
H A Dip6addrctl.c152 struct policyqueue *ent; in dump_policy() local
155 for (ent = TAILQ_FIRST(&policyhead); ent; in dump_policy()
156 ent = TAILQ_NEXT(ent, pc_entry)) { in dump_policy()
157 pol = &ent->pc_policy; in dump_policy()
315 struct policyqueue *ent; in set_policy() local
321 for (ent = TAILQ_FIRST(&policyhead); ent; in set_policy()
322 ent = TAILQ_NEXT(ent, pc_entry)) { in set_policy()
323 if (ioctl(s, SIOCAADDRCTL_POLICY, &ent->pc_policy)) in set_policy()
432 struct policyqueue *ent; in flush_policy() local
438 for (ent = TAILQ_FIRST(&policyhead); ent; in flush_policy()
[all …]
/dragonfly/sys/dev/raid/vinum/
H A Dvinummemory.c200 if (ent >= malloccount) in vinum_mallocinfo()
202 m->address = malloced[ent].address; in vinum_mallocinfo()
203 m->size = malloced[ent].size; in vinum_mallocinfo()
204 m->line = malloced[ent].line; in vinum_mallocinfo()
205 m->seq = malloced[ent].seq; in vinum_mallocinfo()
206 bcopy(malloced[ent].file, m->file, MCFILENAMELEN); in vinum_mallocinfo()
219 int ent = *(int *) data; /* 1st word is index */ in vinum_rqinfo() local
222 if (ent >= RQINFO_SIZE) /* out of the table */ in vinum_rqinfo()
224 if ((ent = lastent - ent - 1) < 0) in vinum_rqinfo()
225 ent += RQINFO_SIZE; /* roll over backwards */ in vinum_rqinfo()
[all …]
/dragonfly/sbin/devattr/
H A Ddevattr.c52 } *ent; variable
109 ent = malloc(sizeof(struct sl_entry)); in parse_args()
110 ent->val = optarg; in parse_args()
111 SLIST_INSERT_HEAD(&props, ent, entries); in parse_args()
252 SLIST_FOREACH(ent, &props, entries) { in main()
254 ent->val); in main()
256 print_prop(ent->val, key_val); in main()
286 SLIST_FOREACH(ent, &props, entries) { in main()
288 ent->val); in main()
290 print_prop(ent->val, key_val); in main()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dlto-streamer.c327 struct tree_hash_entry ent; in lto_orig_address_map() local
330 ent.key = t; in lto_orig_address_map()
331 ent.value = orig_t; in lto_orig_address_map()
333 = (struct tree_hash_entry **) htab_find_slot (tree_htab, &ent, INSERT); in lto_orig_address_map()
336 **slot = ent; in lto_orig_address_map()
346 struct tree_hash_entry ent; in lto_orig_address_get() local
349 ent.key = t; in lto_orig_address_get()
351 = (struct tree_hash_entry **) htab_find_slot (tree_htab, &ent, NO_INSERT); in lto_orig_address_get()
361 struct tree_hash_entry ent; in lto_orig_address_remove() local
364 ent.key = t; in lto_orig_address_remove()
[all …]

123456