Lines Matching defs:action

42  * either insertion or remounting of the medium, the action()
48 * string naming the file system type on the partition. The action()
54 * or remounted in a device, the action() method creates a file
58 * the reason that the medium couldn't be mounted. The action
62 * When a medium is ejected or unmounted, the action() method
67 * The following environment variables must be set before calling action():
69 * VOLUME_ACTION action that occurred (e.g. "insert", "eject")
145 static boolean_t notify_clients(action_t action, int do_notify);
176 action_t action;
291 action = EJECT;
293 action = INSERT;
333 action = REMOUNT;
335 action = UNMOUNT;
338 ret = rmm_action(hal_ctx, volume_symdev, action, 0, 0, 0,
473 action_t action;
480 dprintf("%s[%d]: entering action()\n", __FILE__, __LINE__);
521 /* entered zone, proceed to action */
538 /* only support one action at a time XXX */
543 action = aa[0]->aa_action;
545 if (action == CLEAR_MOUNTS) {
548 * notify the client. The "clear_mounts" action
554 * action(), with the VOLUME_ACTION environment variable
559 } else if (action == EJECT) {
565 } else if (action = INSERT) {
571 } else if (action == REMOUNT) {
577 } else if (action == UNMOUNT) {
584 dprintf("%s[%d]: action(): invalid action: %s\n",
585 __FILE__, __LINE__, action);
593 dprintf("%s[%d]: leaving action(), result = %s\n",
661 * If it is, the action taken
694 * If it is, the action taken
867 notify_clients(action_t action, int do_notify)
951 notify_character = notify_characters[action];
1058 * If it is, the action taken