Lines Matching refs:nlist

29 gs_notify_init(gs_notify_list_t *nlist, gs_memory_t *mem)  in gs_notify_init()  argument
31 nlist->first = 0; in gs_notify_init()
32 nlist->memory = mem; in gs_notify_init()
37 gs_notify_register(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_register() argument
41 gs_alloc_struct(nlist->memory, gs_notify_registration_t, in gs_notify_register()
48 nreg->next = nlist->first; in gs_notify_register()
49 nlist->first = nreg; in gs_notify_register()
63 gs_notify_unregister_calling(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_unregister_calling() argument
67 gs_notify_registration_t **prev = &nlist->first; in gs_notify_unregister_calling()
77 gs_free_object(nlist->memory, cur, "gs_notify_unregister"); in gs_notify_unregister_calling()
84 gs_notify_unregister(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_unregister() argument
87 return gs_notify_unregister_calling(nlist, proc, proc_data, no_unreg_proc); in gs_notify_unregister()
95 gs_notify_all(gs_notify_list_t *nlist, void *event_data) in gs_notify_all() argument
101 for (next = nlist->first; (cur = next) != 0;) { in gs_notify_all()
114 gs_notify_release(gs_notify_list_t *nlist) in gs_notify_release() argument
116 gs_memory_t *mem = nlist->memory; in gs_notify_release()
118 while (nlist->first) { in gs_notify_release()
119 gs_notify_registration_t *next = nlist->first->next; in gs_notify_release()
121 gs_free_object(mem, nlist->first, "gs_notify_release"); in gs_notify_release()
122 nlist->first = next; in gs_notify_release()