Lines Matching defs:gp
64 static void clear_descriptors(void *gp);
69 static descriptor_t *have_desc(int type, void *gp, char *name, char *mname);
327 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp)
332 if ((dp = have_desc(type, gp, name, secondary_name)) == NULL) {
334 if ((dp = new_descriptor(type, gp, name, secondary_name))
421 cache_load_desc(int type, void *gp, char *name, char *secondary_name, int *errp)
424 if (have_desc(type, gp, name, secondary_name) == NULL) {
426 if (new_descriptor(type, gp, name, secondary_name) == NULL) {
489 clear_descriptors(void *gp)
494 if (descp->p.generic == gp) {
603 have_desc(int type, void *gp, char *name, char *secondary_name)
617 if (descp->type == type && descp->p.generic == gp &&