Searched refs:CustomMount (Results 1 - 6 of 6) sorted by relevance

/systemd/src/nspawn/
H A Dnspawn-mount.h40 typedef struct CustomMount { struct
48 } CustomMount; typedef in typeref:struct:CustomMount
50 CustomMount* custom_mount_add(CustomMount **l, unsigned *n, CustomMountType t);
52 void custom_mount_free_all(CustomMount *l, unsigned n);
53 int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only);
54 int tmpfs_mount_parse(CustomMount **l, unsigned *n, const char *s);
64 int mount_custom(const char *dest, CustomMount *mounts, unsigned n, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context);
H A Dnspawn-register.h28 int register_machine(const char *machine_name, pid_t pid, const char *directory, sd_id128_t uuid, int local_ifindex, const char *slice, CustomMount *mounts, unsigned n_mounts, int kill_signal, char **properties, bool keep_unit, const char *service);
H A Dnspawn-mount.c41 CustomMount* custom_mount_add(CustomMount **l, unsigned *n, CustomMountType t) {
42 CustomMount *c, *ret;
49 c = realloc(*l, (*n + 1) * sizeof(CustomMount));
57 *ret = (CustomMount) { .type = t };
62 void custom_mount_free_all(CustomMount *l, unsigned n) {
66 CustomMount *m = l + i;
84 const CustomMount *x = a, *y = b;
99 int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only) {
102 CustomMount *
[all...]
H A Dnspawn-register.c36 CustomMount *mounts,
139 CustomMount *cm = mounts + j;
H A Dnspawn-settings.h69 CustomMount *custom_mounts;
H A Dnspawn.c156 static CustomMount *arg_custom_mounts = NULL;
267 qsort_safe(arg_custom_mounts, arg_n_custom_mounts, sizeof(CustomMount), custom_mount_compare);
271 CustomMount *m = &arg_custom_mounts[i];
651 CustomMount *m;

Completed in 34 milliseconds