/src/sys/dev/raidframe/ |
rf_shutdown.c | 53 rf_FreeShutdownEnt(RF_ShutdownList_t *ent) 55 free(ent, M_RAIDFRAME); 68 RF_ShutdownList_t *ent; local in function:_rf_ShutdownCreate 74 ent = (RF_ShutdownList_t *) malloc(sizeof(RF_ShutdownList_t), 76 ent->cleanup = cleanup; 77 ent->arg = arg; 79 ent->file = file; 80 ent->line = line; 82 ent->next = *listp; 83 *listp = ent; [all...] |
/src/sys/arch/ia64/ia64/ |
consinit.c | 150 struct dig64_pcdp_entry *ent = &desc->pcdp; local in function:pcdp_cninit 152 if (ent->specs.type == DIG64_PCDP_SPEC_PCI) { 153 struct dig64_pci_spec *spec = ent->specs.pci; 167 struct dig64_hcdp_entry *ent = &desc->uart; local in function:pcdp_cninit 171 ((uint64_t)ent->baud_high << 32) | ent->baud_low; 175 switch (ent->databits) { 190 ent->databits); 192 switch (ent->parity) { 207 ent->parity) [all...] |
/src/games/warp/ |
us.c | 47 ch = (ent->energy >= 500?'E':'e'); 48 if (ch != ent->image) { 49 setimage(ent, ch); 53 if (ent->energy >= decr) { 54 ent->energy -= decr; 61 if (tract(ent,dy,dx,tractor)) { 78 (obj=occupant[(ent->posy+evely+YSIZE00)%YSIZE] 79 [(ent->posx+evelx+XSIZE00)%XSIZE] ) && 116 ch = (ent->energy >= 500?'E':'e'); 117 if (ch != ent->image) [all...] |
play.c | 61 if (ent) { 62 evely = ent->vely; 63 evelx = ent->velx; 64 if (cloaking && ent->energy >= 250 && !damflag[NOCLOAKING]) { 69 ent->energy -= ent->energy/40; 84 if (ent) { 115 ent->vely = evely; 116 ent->velx = evelx; 172 if (!finish && (!(numenemies || numos) || (!ent && !base))) [all...] |
/src/sbin/gpt/ |
add.c | 71 ent_set(struct gpt_ent *ent, const map_t map, const gpt_uuid_t xtype, 74 gpt_uuid_copy(ent->ent_type, xtype); 75 ent->ent_lba_start = htole64((uint64_t)map->map_start); 76 ent->ent_lba_end = htole64((uint64_t)(map->map_start + 80 utf8_to_utf16(xname, ent->ent_name, __arraycount(ent->ent_name)); 89 struct gpt_ent *ent; local in function:add 97 ent = NULL; 107 ent = gpt_ent_primary(gpt, i); 108 if (!gpt_uuid_is_nil(ent->ent_type)) [all...] |
migrate.c | 171 migrate_disklabel(gpt_t gpt, off_t start, struct gpt_ent *ent, 191 return ent; 218 gpt_uuid_create(type, ent->ent_type, 219 ent->ent_name, sizeof(ent->ent_name)); 224 ent->ent_lba_start = htole64((uint64_t)ofs); 225 ent->ent_lba_end = htole64((uint64_t)(ofs + 228 ent++; 232 return ent; 240 struct gpt_ent *ent; local in function:migrate [all...] |
show.c | 121 struct gpt_ent *ent; local in function:print_part_type 124 uint8_t utfbuf[__arraycount(ent->ent_name) * 3 + 1]; 180 ent = map_data; 182 utf16_to_utf8(ent->ent_name, 183 __arraycount(ent->ent_name), utfbuf, 188 ent->ent_guid); 191 "%d", ent->ent_type); 194 ent->ent_type); 262 struct gpt_ent *ent; local in function:show_one 264 uint8_t utfbuf[__arraycount(ent->ent_name) * 3 + 1] 307 struct gpt_ent *ent; local in function:show_all [all...] |
resize.c | 73 struct gpt_ent *ent; local in function:resize 83 ent = gpt_ent_primary(gpt, i); 84 if (gpt_uuid_is_nil(ent->ent_type)) { 125 ent->ent_lba_end = end; 130 ent = gpt_ent(gpt->gpt, gpt->lbt, i); 131 ent->ent_lba_end = end;
|
backup.c | 147 const struct gpt_ent *ent; local in function:store_tbl 152 uint8_t utfbuf[__arraycount(ent->ent_name) * 3 + 1]; 163 ent = m->map_data; 164 for (i = 1, ent = m->map_data; 165 (const char *)ent < (const char *)(m->map_data) + 166 m->map_size * gpt->secsz; i++, ent++) { 171 gpt_uuid_snprintf(buf, sizeof(buf), "%d", ent->ent_type); 173 gpt_uuid_snprintf(buf, sizeof(buf), "%d", ent->ent_guid); 176 le64toh(ent->ent_lba_start))); 178 le64toh(ent->ent_lba_end))) [all...] |
remove.c | 69 change(struct gpt_ent *ent, void *v __unused, int backup __unused) 72 gpt_uuid_copy(ent->ent_type, gpt_uuid_nil);
|
restore.c | 132 struct gpt_ent ent; local in function:restore_ent 135 memset(&ent, 0, sizeof(ent)); 137 if (gpt_uuid_parse(s, ent.ent_type) != 0) { 142 if (gpt_uuid_parse(s, ent.ent_guid) != 0) { 147 &ent.ent_lba_start)); 148 ent.ent_lba_start = htole64(ent.ent_lba_start); 150 &ent.ent_lba_end)); 151 ent.ent_lba_end = htole64(ent.ent_lba_end) [all...] |
biosboot.c | 155 struct gpt_ent *ent; local in function:set_bootable 159 ent = gpt_ent(map, tbl, j); 160 ent->ent_attr &= ~GPT_ENT_ATTR_LEGACY_BIOS_BOOTABLE; 163 ent = gpt_ent(map, tbl, i); 164 ent->ent_attr |= GPT_ENT_ATTR_LEGACY_BIOS_BOOTABLE; 176 struct gpt_ent *ent; local in function:biosboot 177 uint8_t utfbuf[__arraycount(ent->ent_name) * 3 + 1]; 215 ent = m->map_data; 222 utf16_to_utf8(ent->ent_name, 223 __arraycount(ent->ent_name), utfbuf [all...] |
/src/sys/net/npf/ |
npf_tableset.c | 318 npf_tblent_t *ent; local in function:table_ipset_flush 320 while ((ent = LIST_FIRST(&t->t_list)) != NULL) { 321 thmap_del(t->t_map, &ent->te_addr, ent->te_alen); 322 LIST_REMOVE(ent, te_listent); 323 pool_cache_put(tblent_cache, ent); 331 npf_tblent_t *ent; local in function:table_tree_flush 333 while ((ent = LIST_FIRST(&t->t_list)) != NULL) { 334 LIST_REMOVE(ent, te_listent); 335 pool_cache_put(tblent_cache, ent); 344 npf_tblent_t *ent; local in function:table_ifaddr_flush 540 npf_tblent_t *ent; local in function:npf_table_insert 618 npf_tblent_t *ent = NULL; local in function:npf_table_remove 767 npf_tblent_t *ent; local in function:table_generic_list 860 npf_tblent_t *ent; local in function:npf_table_gc [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_i2c.c | 80 u16 ent = dcb_i2c_entry(bios, idx, &ver, &len); local in function:dcb_i2c_parse 81 if (ent) { 83 u32 ent_value = nvbios_rd32(bios, ent); 93 info->type = nvbios_rd08(bios, ent + 0x03); 95 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; 107 info->drive = nvbios_rd08(bios, ent + 0); 108 info->sense = nvbios_rd08(bios, ent + 1); 111 info->drive = nvbios_rd08(bios, ent + 1); 114 info->drive = nvbios_rd08(bios, ent + 0) & 0x0f; 115 if (nvbios_rd08(bios, ent + 1) & 0x01 [all...] |
/src/sys/dev/wsfont/ |
wsfont.c | 443 struct font *ent; local in function:wsfont_enum 445 TAILQ_FOREACH(ent, &list, chain) { 446 f = ent->font; 580 struct font *ent; local in function:wsfont_init 589 ent = builtin_fonts; 591 for (i = 0; builtin_fonts[i].font != NULL; i++, ent++) { 593 ent->cookie = wsfont_make_cookie(ident, 594 ent->font->bitorder, ent->font->byteorder); 595 TAILQ_INSERT_TAIL(&list, ent, chain) 602 struct font *ent; local in function:wsfont_find0 663 struct font *ent, *bestent = NULL; local in function:wsfont_find 684 struct font *ent; local in function:wsfont_walk 694 struct font *ent; local in function:wsfont_add0 728 struct font *ent; local in function:wsfont_add 747 struct font *ent; local in function:wsfont_remove 770 struct font *ent, *neu; local in function:wsfont_lock 814 struct font *ent; local in function:wsfont_unlock [all...] |
/src/lib/libnvmm/ |
libnvmm.c | 71 area_t *ent; local in function:__area_isvalid 73 LIST_FOREACH(ent, areas, list) { 75 if (gpa >= ent->gpa && gpa < ent->gpa + ent->size) { 78 if (gpa + size > ent->gpa && 79 gpa + size <= ent->gpa + ent->size) { 82 if (gpa <= ent->gpa && gpa + size >= ent->gpa + ent->size) 129 area_t *ent, *nxt; local in function:__area_delete 146 area_t *ent; local in function:__area_remove_all 527 area_t *ent; local in function:nvmm_gpa_to_hva [all...] |
/src/sys/arch/alpha/alpha/ |
transfer.s | 49 .ent __transfer 0
|
/src/usr.sbin/ip6addrctl/ |
ip6addrctl.c | 152 struct policyqueue *ent; local in function:dump_policy 155 for (ent = TAILQ_FIRST(&policyhead); ent; 156 ent = TAILQ_NEXT(ent, pc_entry)) { 157 pol = &ent->pc_policy; 315 struct policyqueue *ent; local in function:set_policy 321 for (ent = TAILQ_FIRST(&policyhead); ent; 322 ent = TAILQ_NEXT(ent, pc_entry)) 432 struct policyqueue *ent; local in function:flush_policy [all...] |
/src/share/man/tools/ |
ckso | 34 for ent in $name 36 if test $ent = `echo $file | sed "s/\..*//"` 40 ls $MANDIR/man$dir/$ent.* 2>&1 | grep "not found" >> $TMPDIR/needso$dir
|
/src/lib/libc/stdlib/ |
hcreate.c | 69 ENTRY ent; member in struct:internal_entry 174 (*freekey)(ie->ent.key); 176 (*freedata)(ie->ent.data); 219 if (strcmp(ie->ent.key, item.key) == 0) 225 *itemp = &ie->ent; 236 ie->ent.key = item.key; 237 ie->ent.data = item.data; 240 *itemp = &ie->ent;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
M0209.h | 27 u32 nvbios_M0209Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr); 28 u32 nvbios_M0209Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_pci.h | 51 const struct pci_device_id *ent, 68 const struct pci_device_id *ent,
|
/src/sys/arch/i386/stand/bootxx/ |
boot1.c | 166 is_unused(struct gpt_ent *ent) 170 return (memcmp(ent->ent_type, &unused, sizeof(unused)) == 0); 174 is_bootable(struct gpt_ent *ent) 186 if (memcmp(ent->ent_type, &bootable[i], 201 struct gpt_ent *ent; local in function:gpt_lookup 274 ent = (struct gpt_ent *)&buf[j * entsz]; 276 if (is_unused(ent)) 280 if (ent->ent_attr & GPT_ENT_ATTR_BOOTME) { 281 bootme_lba = le64toh(ent->ent_lba_start); 286 firstpart_lba = le64toh(ent->ent_lba_start) [all...] |
/src/sys/dev/dkwedge/ |
dkwedge_gpt.c | 121 struct gpt_ent *ent; local in function:dkwedge_discover_gpt 235 ent = (struct gpt_ent *)((char *)bp->b_data + (i * entsz)); 237 uuid_dec_le(ent->ent_type, &ptype_guid); 242 uuid_dec_le(ent->ent_guid, &ent_guid); 256 dkw.dkw_offset = le64toh(ent->ent_lba_start); 257 dkw.dkw_size = le64toh(ent->ent_lba_end) - dkw.dkw_offset + 1; 261 if (ent->ent_name[0] == 0x0000) 266 for (j = 0; j < __arraycount(ent->ent_name) 267 && ent->ent_name[j] != 0x0000; j++) { 268 n = wput_utf8(c, r, le16toh(ent->ent_name[j])) [all...] |
/src/sys/external/bsd/drm2/linux/ |
linux_wait_bit.c | 50 } ent; member in struct:__anon9938850b0108 62 mutex_init(&waitbittab[i].ent.lock, MUTEX_DEFAULT, IPL_VM); 63 cv_init(&waitbittab[i].ent.cv, "waitbit"); 75 cv_destroy(&waitbittab[i].ent.cv); 76 mutex_destroy(&waitbittab[i].ent.lock); 93 struct waitbitentry *wbe = &waitbittab[wait_bit_hash(bitmap, bit)].ent;
|