Lines Matching full:action
282 * Initialize module and action structure caches and associated locks. in ipp_init()
521 * Action manipulation interface.
533 * Check for special case 'virtual action' names. in ipp_action_lookup()
565 * Check for special case 'virtual action' ids. in ipp_action_name()
584 * Not a special case. Check for a real action. in ipp_action_name()
605 * Copy the action name into the buffer. in ipp_action_name()
613 * Unlock the action if necessary (i.e. it wasn't a virtual action). in ipp_action_name()
637 * Return an error for 'virtual action' ids. in ipp_action_mod()
652 * This is a real action. in ipp_action_mod()
659 * Check that the action is not in prototype state. in ipp_action_mod()
699 * Sanity check the action name (NULL means the framework chooses the in ipp_action_create()
714 * Allocate an action. in ipp_action_create()
726 * Note that the action is in the process of creation/destruction. in ipp_action_create()
733 * Reference the module for which the action is being created. in ipp_action_create()
755 * Call into the module to create the action context. in ipp_action_create()
759 DBG2(DBG_ACTION, "creating action '%s' in module '%s'\n", in ipp_action_create()
779 * Make the action available for use. in ipp_action_create()
806 * Translate the action id into the action pointer. in ipp_action_destroy()
813 * Set the condemned action list pointer and destroy the action. in ipp_action_destroy()
821 * the first action. in ipp_action_destroy()
833 * the first action failed. in ipp_action_destroy()
872 * Translate the action id into the action pointer. in ipp_action_modify()
879 * Check that the action is either available for use or is in the in ipp_action_modify()
902 * Call into the module to modify the action context. in ipp_action_modify()
905 DBG1(DBG_ACTION, "modifying action '%s'\n", ap->ippa_name); in ipp_action_modify()
929 * Translate the action id into the action pointer. in ipp_action_info()
936 * Check that the action is available for use. We don't want to in ipp_action_info()
937 * read back parameters while the action is in the process of in ipp_action_info()
956 * Call into the module to get the action configuration information. in ipp_action_info()
960 "getting configuration information from action '%s'\n", in ipp_action_info()
984 * Translate the action id into the action pointer. in ipp_action_set_ptr()
1008 * Translate the action id into the action pointer. in ipp_action_get_ptr()
1045 * Check for a special case 'virtual action' id. in ipp_action_ref()
1060 * Translate the action ids into action pointers. in ipp_action_ref()
1113 * Check for a special case 'virtual action' id. in ipp_action_unref()
1128 * Translate the action ids into action pointers. in ipp_action_unref()
1163 * Condemn the action so that it will be destroyed. in ipp_action_unref()
1337 * While there is a real action to invoke... in ipp_packet_process()
1348 * Translate the action id to the action pointer. in ipp_packet_process()
1353 "action id '%d' not found\n", aid); in ipp_packet_process()
1358 * Check that the action is available for use... in ipp_packet_process()
1368 * Increment the action's packet count to note that in ipp_packet_process()
1374 * out a destroy operation between the action in ipp_packet_process()
1404 * Invoke the action. in ipp_packet_process()
1410 * Also log the time that the action finished in ipp_packet_process()
1424 * If the class' action id is the same now as it was in ipp_packet_process()
1425 * before then clearly no 'next action' has been set. in ipp_packet_process()
1431 "action '%s' did not set next action\n", in ipp_packet_process()
1438 * The action did not complete successfully. Terminate in ipp_packet_process()
1444 "action error '%d' from action '%s'\n", in ipp_packet_process()
1453 * Look at the next action. in ipp_packet_process()
1511 * Check for a special case 'virtual action' id. in ipp_packet_next()
1526 * Not a virtual action so try to translate the action id in ipp_packet_next()
1527 * into the action pointer to confirm the actions existence. in ipp_packet_next()
1531 DBG0(DBG_PACKET, "invalid action\n"); in ipp_packet_next()
1540 * Set the class' new action id. in ipp_packet_next()
1628 * Translate the action id into the action pointer. in ipp_stat_create()
1635 * Grab relevant action and module information. in ipp_stat_create()
1659 DBG2(DBG_STATS, "creating stat set '%s' for action '%s'\n", in ipp_stat_create()
1920 * Set the reference to the action and link it onto the module's list. in ref_mod()
1927 * Keep a 'back pointer' from the action structure to the module in ref_mod()
1950 * Scan the module's list for the reference to the action. in unref_mod()
2034 * Fill the buffer with an array of action ids. in get_mod_ref()
2470 DBG1(DBG_ACTION, "condemning action '%s'\n", ap->ippa_name); in condemn_action()
2473 * Check to see if the action is already condemned. in condemn_action()
2483 * Create a new entry for the action. in condemn_action()
2511 * Check that the action is available. in destroy_action()
2522 * Note that the action is in the process of creation/destruction. in destroy_action()
2528 * Wait for the in-transit packet count for this action to fall to in destroy_action()
2531 * NOTE: no new packets will enter the action now that the in destroy_action()
2557 * Check to see if any other action has a dependency on this one. in destroy_action()
2575 * Call into the module to destroy the action context. in destroy_action()
2579 DBG1(DBG_ACTION, "destroying action '%s'\n", ap->ippa_name); in destroy_action()
2600 * Free the action structure. in destroy_action()
2626 * action's list. in ref_action()
2673 * a list in the referred action's structure. in ref_action()
2725 * Scan for the reference in the referring action's list. in unref_action()
2771 * Scan for the 'back pointer' in the referred action's list. in unref_action()
2800 * Return a value which is true (non-zero) iff the action is not in is_action_refd()
2832 * Find the hash bucket where the action structure should be. in find_action()
2882 * Find the right hash bucket for an action of the given name. in alloc_action()
2893 * Scan the bucket to make sure that an action with the given name in alloc_action()
2900 DBG1(DBG_ACTION, "action '%s' already exists\n", in alloc_action()
2909 * Allocate a new reference structure and a new action structure. in alloc_action()
2924 * Dream up a name if there isn't a real one and note that the action is in alloc_action()
2951 * Increment the action count. in alloc_action()
2974 * Find the hash bucket where the action structure should be. in free_action()
3002 * Decrement the action count. in free_action()
3043 * Use the action id as an index into the array of all action in hold_action()
3054 * If the action has 'destruct pending' set then it means it is either in hold_action()
3119 * Start searching after the last action id that we allocated. in get_aid()
3139 * Note that we've just allocated a new action id so that we can in get_aid()
3303 * Initialise the array of all action structures and the action in init_actions()
3320 * Initialize the 'action by name' hash bucket array (and the special in init_actions()
3453 * Get a new action id. in action_constructor()
3462 * Initialize the buffer as an action structure in PROTO form. in action_constructor()
3472 * Insert it into the array of all action structures. in action_constructor()
3506 * NULL the entry in the array of all action structures. in action_destructor()
3512 * Clean up any remnants of the action structure as the buffer is in action_destructor()