Lines Matching refs:operation
2541 static int process_item(Item *i, OperationMask operation) { in process_item() argument
2549 todo = operation & ~i->done; in process_item()
2553 i->done |= operation; in process_item()
2575 r = FLAGS_SET(operation, OPERATION_CREATE) ? create_item(i) : 0; in process_item()
2580 q = FLAGS_SET(operation, OPERATION_REMOVE) ? remove_item(i) : 0; in process_item()
2581 p = FLAGS_SET(operation, OPERATION_CLEAN) ? clean_item(i) : 0; in process_item()
2588 static int process_item_array(ItemArray *array, OperationMask operation) { in process_item_array() argument
2595 if (FLAGS_SET(operation, OPERATION_CREATE) && array->parent) in process_item_array()
2596 r = process_item_array(array->parent, operation & OPERATION_CREATE); in process_item_array()
2599 if ((operation & (OPERATION_REMOVE|OPERATION_CLEAN)) && !set_isempty(array->children)) { in process_item_array()
2605 k = process_item_array(c, operation & (OPERATION_REMOVE|OPERATION_CLEAN)); in process_item_array()
2614 k = process_item(array->items + n, operation); in process_item_array()