Lines Matching defs:action
107 _reset_devalloc(int action)
111 if (action == DA_ON)
113 else if ((action == DA_OFF) && (open(DEVALLOC, O_RDONLY) == -1))
116 if (action == DA_ON)
118 else if (action == DA_OFF)
176 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname,
184 if (action == DA_ADD) {
206 (void) _update_dev(dentry, action, NULL, NULL,
209 } else if (action == DA_REMOVE) {
229 nickname = _update_dev(NULL, action, typestring, NULL,
248 (void) _update_dev(entry, action, NULL, devname, NULL);
257 * action: DA_ADD or DA_REMOVE
262 * If the action is ADD or if the action is triggered by an event
268 * If the action is DA_REMOVE and not a hotplug remove, adjust the files
281 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname,
296 if (action == DA_ADD) {
307 } else if (action == DA_REMOVE) {