Home
last modified time | relevance | path

Searched refs:lockfile (Results 1 – 7 of 7) sorted by relevance

/xen/tools/libxl/
A Dlibxl_internal.c418 lockfile, errno); in libxl__lock_file()
444 if (stat(lockfile, &stab)) { in libxl__lock_file()
488 const char *lockfile; in libxl__lock_domain_userdata() local
492 if (!lockfile) return NULL; in libxl__lock_domain_userdata()
509 const char *lockfile; in libxl__lock_domid_history() local
512 if (!lockfile) return NULL; in libxl__lock_domid_history()
626 const char *lockfile; in libxl__ev_slowlock_lock() local
630 if (!lockfile) goto out; in libxl__ev_slowlock_lock()
647 const char *lockfile = lock->path; in ev_lock_prepare_fork() local
693 lockfile, fd); in ev_lock_prepare_fork()
[all …]
A Dlibxl_dm.c3563 const char * lockfile; in get_reaper_lock_and_uid() local
3567 lockfile = GCSPRINTF("%s/dm-reaper-lock", libxl__run_dir_path()); in get_reaper_lock_and_uid()
3574 fd = open(lockfile, O_RDWR|O_CREAT, 0644); in get_reaper_lock_and_uid()
3578 lockfile, errno); in get_reaper_lock_and_uid()
3591 lockfile, fd, errno); in get_reaper_lock_and_uid()
/xen/tools/console/client/
A Dmain.c49 static char lockfile[sizeof (XEN_LOCK_DIR "/xenconsole.") + 8] = { 0 }; variable
286 snprintf(lockfile, sizeof lockfile, "%s%d", XEN_LOCK_DIR "/xenconsole.", domid); in console_lock()
289 fd = open(lockfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in console_lock()
291 err(errno, "Could not open %s", lockfile); in console_lock()
297 err(errno, "Could not lock %s", lockfile); in console_lock()
300 err(errno, "Could not fstat %s", lockfile); in console_lock()
301 if (stat(lockfile, &stab)) { in console_lock()
303 err(errno, "Could not stat %s", lockfile); in console_lock()
318 if (lockfile[0] && lockfd != -1) { in console_unlock()
319 unlink(lockfile); in console_unlock()
/xen/tools/xl/
A Dxl.c42 char *lockfile; variable
131 lockfile = strdup(buf); in parse_global_config()
133 lockfile = strdup(XL_LOCK_FILE); in parse_global_config()
136 if (!lockfile) { in parse_global_config()
354 if (lockfile) { in xl_ctx_free()
355 free(lockfile); in xl_ctx_free()
356 lockfile = NULL; in xl_ctx_free()
A Dxl_vmcontrol.c572 fd_lock = open(lockfile, O_WRONLY|O_CREAT, S_IWUSR); in acquire_lock()
574 fprintf(stderr, "cannot open the lockfile %s errno=%d\n", lockfile, errno); in acquire_lock()
579 fprintf(stderr, "cannot set cloexec to lockfile %s errno=%d\n", lockfile, errno); in acquire_lock()
587 fprintf(stderr, "cannot acquire lock %s errno=%d\n", lockfile, errno); in acquire_lock()
613 fprintf(stderr, "cannot release lock %s, errno=%d\n", lockfile, errno); in release_lock()
A Dxl.h274 extern char *lockfile;
/xen/docs/man/
A Dxl.conf.5.pod83 =item B<lockfile="PATH">

Completed in 17 milliseconds