Lines Matching defs:lockfd
2923 int lockfd;
3045 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
3066 zonecfg_release_lock_file(target_zone, lockfd);
3118 zonecfg_release_lock_file(target_zone, lockfd);
3549 int lockfd;
3670 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
3838 zonecfg_release_lock_file(target_zone, lockfd);
3973 int lockfd;
4095 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
4191 zonecfg_release_lock_file(target_zone, lockfd);
4282 zonecfg_release_lock_file(target_zone, lockfd);
4294 int lockfd = -1;
4393 if (execute && zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
4406 assert(lockfd >= 0);
4407 zonecfg_release_lock_file(target_zone, lockfd);
4408 lockfd = -1;
4411 assert(lockfd == -1);
4425 assert(lockfd >= 0);
4426 zonecfg_release_lock_file(target_zone, lockfd);
4427 lockfd = -1;
4430 assert(lockfd == -1);
4439 assert(lockfd == -1);
4491 assert(lockfd >= 0);
4492 zonecfg_release_lock_file(target_zone, lockfd);
4493 lockfd = -1;
4496 assert(lockfd == -1);
4632 int lockfd = -1;
4776 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
4796 assert(zonecfg_lock_file_held(&lockfd));
4798 lockfd);
4799 lockfd = -1;
4802 assert(lockfd == -1);
4816 assert(lockfd == -1);
4826 assert(zonecfg_lock_file_held(&lockfd));
4827 zonecfg_release_lock_file(target_zone, lockfd);
4849 assert(zonecfg_lock_file_held(&lockfd));
4850 zonecfg_release_lock_file(target_zone, lockfd);
4851 lockfd = -1;
4867 assert(lockfd == -1);
4905 int lockfd, answer;
5026 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
5038 zonecfg_release_lock_file(target_zone, lockfd);
5048 zonecfg_release_lock_file(target_zone, lockfd);
5074 zonecfg_release_lock_file(target_zone, lockfd);
5100 zonecfg_release_lock_file(target_zone, lockfd);
5167 int err, lockfd;
5209 if (zonecfg_grab_lock_file(target_zone, &lockfd) != Z_OK) {
5220 zonecfg_release_lock_file(target_zone, lockfd);