Lines Matching refs:nlist

32 gs_notify_init(gs_notify_list_t *nlist, gs_memory_t *mem)  in gs_notify_init()  argument
34 nlist->first = 0; in gs_notify_init()
35 nlist->memory = mem; in gs_notify_init()
40 gs_notify_register(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_register() argument
44 gs_alloc_struct(nlist->memory, gs_notify_registration_t, in gs_notify_register()
51 nreg->next = nlist->first; in gs_notify_register()
52 nlist->first = nreg; in gs_notify_register()
66 gs_notify_unregister_calling(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_unregister_calling() argument
70 gs_notify_registration_t **prev = &nlist->first; in gs_notify_unregister_calling()
80 gs_free_object(nlist->memory, cur, "gs_notify_unregister"); in gs_notify_unregister_calling()
87 gs_notify_unregister(gs_notify_list_t *nlist, gs_notify_proc_t proc, in gs_notify_unregister() argument
90 return gs_notify_unregister_calling(nlist, proc, proc_data, no_unreg_proc); in gs_notify_unregister()
98 gs_notify_all(gs_notify_list_t *nlist, void *event_data) in gs_notify_all() argument
104 for (next = nlist->first; (cur = next) != 0;) { in gs_notify_all()
117 gs_notify_release(gs_notify_list_t *nlist) in gs_notify_release() argument
119 gs_memory_t *mem = nlist->memory; in gs_notify_release()
121 while (nlist->first) { in gs_notify_release()
122 gs_notify_registration_t *next = nlist->first->next; in gs_notify_release()
124 gs_free_object(mem, nlist->first, "gs_notify_release"); in gs_notify_release()
125 nlist->first = next; in gs_notify_release()