Lines Matching refs:item
240 * item per thread that has called sa_init().
246 struct doc2handle *item;
249 for (item = sa_global_handles; item != NULL; item = item->next) {
250 if (item->root == root)
254 if (item != NULL)
255 return (item->handle);
262 struct doc2handle *item;
265 item = (struct doc2handle *)calloc(sizeof (struct doc2handle), 1);
266 if (item != NULL) {
267 item->root = root;
268 item->handle = handle;
270 item->next = sa_global_handles;
271 sa_global_handles = item;
288 struct doc2handle *item, *prev;
291 for (prev = NULL, item = sa_global_handles; item != NULL;
292 item = item->next) {
293 if (item->root == root) {
298 prev->next = item->next;
300 free(item);
303 prev = item;