Searched refs:CustomMount (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/nspawn/ |
D | nspawn-mount.h | 35 typedef struct CustomMount { struct 47 } CustomMount; argument 49 CustomMount* custom_mount_add(CustomMount **l, size_t *n, CustomMountType t); 50 void custom_mount_free_all(CustomMount *l, size_t n); 51 int custom_mount_prepare_all(const char *dest, CustomMount *l, size_t n); 53 int bind_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only); 54 int tmpfs_mount_parse(CustomMount **l, size_t *n, const char *s); 55 int overlay_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only); 56 int inaccessible_mount_parse(CustomMount **l, size_t *n, const char *s); 61 int mount_custom(const char *dest, CustomMount *mounts, size_t n, uid_t uid_shift, uid_t uid_range,… [all …]
|
D | nspawn-mount.c | 28 CustomMount* custom_mount_add(CustomMount **l, size_t *n, CustomMountType t) { in custom_mount_add() 29 CustomMount *c, *ret; in custom_mount_add() 36 c = reallocarray(*l, *n + 1, sizeof(CustomMount)); in custom_mount_add() 44 *ret = (CustomMount) { in custom_mount_add() 51 void custom_mount_free_all(CustomMount *l, size_t n) { in custom_mount_free_all() 53 CustomMount *m = l + i; in custom_mount_free_all() 76 static int custom_mount_compare(const CustomMount *a, const CustomMount *b) { in custom_mount_compare() 105 static int allocate_temporary_source(CustomMount *m) { in allocate_temporary_source() 129 int custom_mount_prepare_all(const char *dest, CustomMount *l, size_t n) { in custom_mount_prepare_all() 142 CustomMount *m = l + i; in custom_mount_prepare_all() [all …]
|
D | nspawn-register.h | 10 …har *directory, sd_id128_t uuid, int local_ifindex, const char *slice, CustomMount *mounts, unsign… 13 int allocate_scope(sd_bus *bus, const char *machine_name, pid_t pid, const char *slice, CustomMount…
|
D | nspawn-register.c | 18 CustomMount *mounts, in append_machine_properties() 51 CustomMount *cm = mounts + j; in append_machine_properties() 112 CustomMount *mounts, in register_machine() 226 CustomMount *mounts, in allocate_scope()
|
D | nspawn-bind-user.c | 197 CustomMount **custom_mounts, in bind_user_prepare() 229 CustomMount *cm; in bind_user_prepare() 289 cm = reallocarray(*custom_mounts, sizeof(CustomMount), *n_custom_mounts + 1); in bind_user_prepare() 295 (*custom_mounts)[(*n_custom_mounts)++] = (CustomMount) { in bind_user_prepare()
|
D | nspawn-bind-user.h | 27 …t char *directory, char **bind_user, uid_t uid_shift, uid_t uid_range, CustomMount **custom_mounts…
|
D | nspawn-settings.h | 198 CustomMount *custom_mounts;
|
D | nspawn-oci.c | 557 CustomMount *m; in oci_mounts() 1997 CustomMount *m; in oci_masked_paths() 2039 CustomMount *m; in oci_readonly_paths()
|
D | nspawn.c | 176 static CustomMount *arg_custom_mounts = NULL; 462 CustomMount *m = &arg_custom_mounts[i]; in custom_mount_check_all()
|