Lines Matching refs:status
109 status_t status;
113 status = mutex_lock(&sForkLock);
114 if (status != B_OK) {
116 return status;
120 status = add_fork_hook(&sPrepareHooks, NULL, prepare);
122 if (status == B_OK && parent)
123 status = add_fork_hook(&sParentHooks, &sLastParentHook, parent);
125 if (status == B_OK && child)
126 status = add_fork_hook(&sChildHooks, &sLastChildHook, child);
132 return status;
140 status_t status;
144 status = mutex_lock(&sForkLock);
145 if (status != B_OK) {
147 return status;