Lines Matching refs:action
107 _reset_devalloc(int action) in _reset_devalloc() argument
111 if (action == DA_ON) in _reset_devalloc()
113 else if ((action == DA_OFF) && (open(DEVALLOC, O_RDONLY) == -1)) in _reset_devalloc()
116 if (action == DA_ON) in _reset_devalloc()
118 else if (action == DA_OFF) in _reset_devalloc()
176 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, in _update_devalloc_db() argument
184 if (action == DA_ADD) { in _update_devalloc_db()
206 (void) _update_dev(dentry, action, NULL, NULL, in _update_devalloc_db()
209 } else if (action == DA_REMOVE) { in _update_devalloc_db()
229 nickname = _update_dev(NULL, action, typestring, NULL, in _update_devalloc_db()
248 (void) _update_dev(entry, action, NULL, devname, NULL); in _update_devalloc_db()
281 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname, in _update_dev() argument
296 if (action == DA_ADD) { in _update_dev()
307 } else if (action == DA_REMOVE) { in _update_dev()