/src/usr.sbin/installboot/ |
cd9660.c | 117 struct iso_directory_record *idr; local in function:cd9660_findstage2 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/linux/ |
linux_writecomb.c | 50 #include <linux/idr.h> 55 struct idr idr; member in struct:__anond598f1e40108 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/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 in function:vmw_resource_release_id 117 idr_remove(idr, res->id); 128 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; local in function:vmw_resource_release 170 idr_remove(idr, id); 195 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; local in function:vmw_resource_alloc_id 202 ret = idr_alloc(idr, res, 1, 0, GFP_NOWAIT);
|