Lines Matching defs:op
236 * The call can be a START op or STOP op. A cookie is sent from main nscd too.
239 * When the call is START op, it checks if main_nscd.pid is 0. If it is, it
243 * wait for the change notification. If same main nscd sends START op
247 * If the door call is STOP op, it creates a thread to clean up main nscd START
268 if (in->ldap_u.get_change.op == NS_STATUS_CHANGE_OP_START) {
275 * properly(e.g. core) and STOP op is not sent,
387 } else if (in->ldap_u.get_change.op == NS_STATUS_CHANGE_OP_STOP) {
533 cleanup_op_t *op = (cleanup_op_t *)arg;
538 if (op == NULL) {
544 type = op->type;
545 pid = op->pid;
556 if (op)
557 free(op);
569 cleanup_op_t *op;
571 if ((op = malloc(sizeof (cleanup_op_t))) == NULL)
574 op->pid = pid;
577 op->type = CLEANUP_ALL;
579 op->type = CLEANUP_BY_PID;
582 (void *)op, THR_BOUND|THR_DETACHED, NULL) != 0) {
583 free(op);