Searched refs:aobjmap (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_impl.h122 /* linked list of `aobjmap' nodes, protected by RW lock */
128 /* global `aobjmap' defined in ipmgmt_main.c */
129 extern ipmgmt_aobjmap_list_t aobjmap;
131 /* operations on the `aobjmap' linked list */
150 * in-memory copy of list `aobjmap' on disk. This is done to recover from
154 #define ADDROBJ_MAPPING_DB_FILE IPADM_TMPFS_DIR"/aobjmap.conf"
H A Dipmgmt_door.c220 * It converts the nvlist_t, `nvl', to aobjmap node `nodep'.
300 * node to the list `aobjmap' and then persists the address information in the
342 * Handles the door commands that modify the `aobjmap' structure.
344 * IPMGMT_CMD_ADDROBJ_LOOKUPADD - places a stub address object in `aobjmap'
347 * IPMGMT_CMD_ADDROBJ_ADD - add/update address object in `aobjmap'
431 (void) pthread_rwlock_rdlock(&aobjmap.aobjmap_rwlock);
432 head = aobjmap.aobjmap_head;
450 (void) pthread_rwlock_unlock(&aobjmap.aobjmap_rwlock);
462 (void) pthread_rwlock_unlock(&aobjmap.aobjmap_rwlock);
472 (void) pthread_rwlock_rdlock(&aobjmap
[all...]
H A Dipmgmt_persist.c655 head = aobjmap.aobjmap_head;
780 * into `aobjmap' structure.
787 head = aobjmap.aobjmap_head;
795 aobjmap.aobjmap_head = new;
797 new->am_next = aobjmap.aobjmap_head;
798 aobjmap.aobjmap_head = new;
822 * through the `aobjmap' to check if an address object with the same
843 for (head = aobjmap.aobjmap_head; head != NULL; head = head->am_next)
869 for (head = aobjmap.aobjmap_head; head != NULL;
880 * Performs following operations on the global `aobjmap' linke
[all...]
H A Dipmgmt_main.c33 * list `aobjmap'. Access to this list is synchronized using a readers-writers
35 * /etc/svc/volatile/ipadm/aobjmap.conf cache file, so that the mapping can be
79 ipmgmt_aobjmap_list_t aobjmap; variable
146 aobjmap.aobjmap_head = NULL;
147 (void) pthread_rwlock_init(&aobjmap.aobjmap_rwlock, NULL);
152 * representation of the mapping. That is, build `aobjmap' structure

Completed in 72 milliseconds