| /src/sys/external/bsd/drm2/linux/ |
| linux_writecomb.c | 50 #include <linux/idr.h> 55 struct idr idr; member in struct:__anon6033 63 idr_init(&linux_writecomb.idr); 72 KASSERT(idr_is_empty(&linux_writecomb.idr)); 73 idr_destroy(&linux_writecomb.idr); 102 id = idr_alloc(&linux_writecomb.idr, mtrr, 0, 0, GFP_NOWAIT); 137 mtrr = idr_find(&linux_writecomb.idr, id); 138 idr_remove(&linux_writecomb.idr, id);
|
| /src/usr.sbin/installboot/ |
| cd9660.c | 117 struct iso_directory_record *idr; local 158 idr = (void *)ipd.root_directory_record; 159 loc = (off_t)isonum_733(idr->extent) * blocksize; 173 i += (u_char)idr->length[0]) { 174 idr = (void *)&buf[i]; 177 printf("i = %d, idr->length[0] = %3d\n", 178 i, (u_char)idr->length[0]); 181 if (idr->length[0] == 0) { 188 if (idr->flags[0] & 2) { 195 if (idr->name_len[0] == 1 & [all...] |
| /src/sys/external/bsd/drm2/include/linux/ |
| idr.h | 1 /* $NetBSD: idr.h,v 1.11 2023/07/11 10:42:36 riastradh Exp $ */ 43 struct idr { struct 66 void idr_init(struct idr *); 67 void idr_init_base(struct idr *, int); 68 void idr_destroy(struct idr *); 69 bool idr_is_empty(struct idr *); 70 void *idr_find(struct idr *, int); 71 void *idr_get_next(struct idr *, int *); 72 void *idr_replace(struct idr *, void *, int); 73 void *idr_remove(struct idr *, int) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| ttm_object.c | 104 struct idr idr; member in struct:ttm_object_device 120 * This is similar to an idr object, but it also has a hash table entry 184 ret = idr_alloc(&tdev->idr, base, 1, 0, GFP_NOWAIT); 200 idr_remove(&tdev->idr, base->handle); 212 idr_remove(&tdev->idr, base->handle); 297 base = idr_find(&tdev->idr, key); 550 idr_init(&tdev->idr); 569 WARN_ON_ONCE(!idr_is_empty(&tdev->idr)); 570 idr_destroy(&tdev->idr); [all...] |
| vmwgfx_resource.c | 113 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; local 117 idr_remove(idr, res->id); 128 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; local 170 idr_remove(idr, id); 195 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; local 202 ret = idr_alloc(idr, res, 1, 0, GFP_NOWAIT);
|
| /src/external/gpl2/mkhybrid/dist/ |
| multi.c | 323 struct iso_directory_record * idr; local 353 idr = (struct iso_directory_record *) &dirbuff[i]; 354 if(idr->length[0] == 0) 360 i += idr->length[0]; 381 idr = (struct iso_directory_record *) &dirbuff[i]; 382 if(idr->length[0] == 0) 389 (*pnt)->isorec = *idr; 390 (*pnt)->starting_block = isonum_733((unsigned char *)idr->extent); 391 (*pnt)->size = isonum_733((unsigned char *)idr->size); 415 rlen = idr->length[0] & 0xff [all...] |
| /src/external/bsd/wpa/dist/src/eap_common/ |
| ikev2_common.h | 302 const u8 *idr; member in struct:ikev2_payloads
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_set_format_iso9660.c | 870 struct idr { struct 1002 static void idr_init(struct iso9660 *, struct vdd *, struct idr *); 1003 static void idr_cleanup(struct idr *); 1004 static int idr_ensure_poolsize(struct archive_write *, struct idr *, 1006 static int idr_start(struct archive_write *, struct idr *, 1008 static void idr_register(struct idr *, struct isoent *, int, 1011 static void idr_resolve(struct idr *, void (*)(unsigned char *, int)); 1015 struct isoent *, struct idr *); 1017 struct isoent *, struct idr *); 5813 idr_init(struct iso9660 *iso9660, struct vdd *vdd, struct idr *idr 6559 struct idr idr; local [all...] |