Searched refs:LockFile (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/shared/ |
D | lockfile-util.h | 4 typedef struct LockFile { struct 8 } LockFile; argument 10 int make_lock_file(const char *p, int operation, LockFile *ret); 11 int make_lock_file_for(const char *p, int operation, LockFile *ret); 12 void release_lock_file(LockFile *f);
|
D | discover-image.c | 632 … _cleanup_(release_lock_file) LockFile global_lock = LOCK_FILE_INIT, local_lock = LOCK_FILE_INIT; in image_remove() 721 …_cleanup_(release_lock_file) LockFile global_lock = LOCK_FILE_INIT, local_lock = LOCK_FILE_INIT, n… in image_rename() 841 _cleanup_(release_lock_file) LockFile name_lock = LOCK_FILE_INIT; in image_clone() 923 … _cleanup_(release_lock_file) LockFile global_lock = LOCK_FILE_INIT, local_lock = LOCK_FILE_INIT; in image_read_only() 1008 int image_path_lock(const char *path, int operation, LockFile *global, LockFile *local) { in image_path_lock() 1010 LockFile t = LOCK_FILE_INIT; in image_path_lock() 1039 *local = *global = (LockFile) LOCK_FILE_INIT; in image_path_lock() 1055 *local = *global = (LockFile) LOCK_FILE_INIT; in image_path_lock() 1091 *global = (LockFile) LOCK_FILE_INIT; in image_path_lock() 1117 … _cleanup_(release_lock_file) LockFile global_lock = LOCK_FILE_INIT, local_lock = LOCK_FILE_INIT; in image_read_metadata() [all …]
|
D | discover-image.h | 79 int image_path_lock(const char *path, int operation, LockFile *global, LockFile *local); 80 int image_name_lock(const char *name, int operation, LockFile *ret);
|
D | lockfile-util.c | 18 int make_lock_file(const char *p, int operation, LockFile *ret) { in make_lock_file() 85 int make_lock_file_for(const char *p, int operation, LockFile *ret) { in make_lock_file_for() 102 void release_lock_file(LockFile *f) { in release_lock_file()
|
/systemd-251/src/nspawn/ |
D | nspawn-network.c | 395 _cleanup_(release_lock_file) LockFile bridge_lock = LOCK_FILE_INIT; in setup_bridge() 436 _cleanup_(release_lock_file) LockFile bridge_lock = LOCK_FILE_INIT; in remove_bridge()
|
D | nspawn.c | 4042 static int uid_shift_pick(uid_t *shift, LockFile *ret_lock_file) { in uid_shift_pick() 4059 _cleanup_(release_lock_file) LockFile lf = LOCK_FILE_INIT; in uid_shift_pick() 4087 lf = (struct LockFile) LOCK_FILE_INIT; in uid_shift_pick() 4732 _cleanup_(release_lock_file) LockFile uid_shift_lock = LOCK_FILE_INIT; in run_container() 5449 …_cleanup_(release_lock_file) LockFile tree_global_lock = LOCK_FILE_INIT, tree_local_lock = LOCK_FI… in run()
|