/systemd-251/src/basic/ |
D | filesystems-gperf.gperf | 3 #include <linux/magic.h> 11 statfs_f_type_t magic[FILESYSTEM_MAGIC_MAX]; 37 # cpuset's magic got reassigned to cgroupfs 41 # note that the cgroupfs magic got reassigned from cpuset 51 # devtmpfs is just a special instance of tmpfs, hence it reports its magic 58 # ext2 + ext3 + ext4 use the same magic 64 # fuseblk is so closely related to fuse that it shares the same magic 68 # gfs is an old version of gfs2 and reuses the magic 78 # msdos is an older legacy version of vfat, shares the magic 83 # nfs is the old version of nfs4, and they share the same magic [all …]
|
D | filesystems.c | 6 const char *fs_type_to_string(statfs_f_type_t magic) { in fs_type_to_string() argument 8 switch (magic) { in fs_type_to_string() 26 *ret = fs_magic->magic; in fs_type_from_string() 35 const statfs_f_type_t *magic; in fs_in_group() local 37 r = fs_type_from_string(fs, &magic); in fs_in_group() 40 if (magic[i] == 0) in fs_in_group() 43 if (is_fs_type(s, magic[i])) in fs_in_group()
|
D | locale-util.c | 65 uint32_t magic; in add_locales_from_archive() member 124 if (h->magic != 0xde020109 || in add_locales_from_archive()
|
D | filesystems.h | 37 const char *fs_type_to_string(statfs_f_type_t magic);
|
D | meson.build | 384 filesystem_includes = ['linux/magic.h',
|
/systemd-251/src/analyze/ |
D | analyze-filesystems.c | 78 const statfs_f_type_t *magic; in dump_filesystem_set() local 85 r = fs_type_from_string(filesystem, &magic); in dump_filesystem_set() 90 for (size_t i = 0; magic[i] != 0; i++) { in dump_filesystem_set() 97 printf("0x%llx", (unsigned long long) magic[i]); in dump_filesystem_set() 99 primary = fs_type_to_string(magic[i]); in dump_filesystem_set() 103 if (magic[i+1] == 0) in dump_filesystem_set() 160 const statfs_f_type_t *magic; in verb_filesystems() local 163 assert_se(fs_type_from_string(*filesystem, &magic) >= 0); in verb_filesystems() 165 for (size_t i = 0; magic[i] != 0; i++) { in verb_filesystems() 168 primary = fs_type_to_string(magic[i]); in verb_filesystems()
|
/systemd-251/src/shared/ |
D | resize-fs.c | 91 uint64_t minimal_size_by_fs_magic(statfs_f_type_t magic) { in minimal_size_by_fs_magic() argument 93 switch (magic) { in minimal_size_by_fs_magic() 124 bool fs_can_online_shrink_and_grow(statfs_f_type_t magic) { in fs_can_online_shrink_and_grow() argument 125 return magic == (statfs_f_type_t) BTRFS_SUPER_MAGIC; in fs_can_online_shrink_and_grow()
|
D | resize-fs.h | 14 uint64_t minimal_size_by_fs_magic(statfs_f_type_t magic); 17 bool fs_can_online_shrink_and_grow(statfs_f_type_t magic);
|
D | initreq.h | 66 int magic; /* Magic number */ member
|
/systemd-251/src/libsystemd-network/ |
D | test-dhcp-option.c | 87 uint8_t *magic; in test_message_init() local 98 magic = (uint8_t*)&message->magic; in test_message_init() 100 assert_se(magic[0] == 99); in test_message_init() 101 assert_se(magic[1] == 130); in test_message_init() 102 assert_se(magic[2] == 83); in test_message_init() 103 assert_se(magic[3] == 99); in test_message_init()
|
D | dhcp-protocol.h | 30 be32_t magic; member
|
D | dhcp-packet.c | 52 message->magic = htobe32(DHCP_MAGIC_COOKIE); in dhcp_message_init()
|
D | dhcp-network.c | 71 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.magic)), /* A <- DHCP magic cookie */ in _bind_raw_socket()
|
/systemd-251/src/core/ |
D | bpf-lsm.c | 209 const statfs_f_type_t *magic; in lsm_bpf_unit_restrict_filesystems() local 242 r = fs_type_from_string(fs, &magic); in lsm_bpf_unit_restrict_filesystems() 251 if (magic[i] == 0) in lsm_bpf_unit_restrict_filesystems() 254 … if (sym_bpf_map_update_elem(inner_map_fd, &magic[i], &dummy_value, BPF_ANY) != 0) { in lsm_bpf_unit_restrict_filesystems()
|
/systemd-251/src/udev/ |
D | udev-ctrl.c | 28 unsigned magic; member 203 if (msg_wire.magic != UDEV_CTRL_MAGIC) { in udev_ctrl_connection_event_handler() 204 log_error("Message magic 0x%08x doesn't match, ignoring message", msg_wire.magic); in udev_ctrl_connection_event_handler() 297 .magic = UDEV_CTRL_MAGIC, in udev_ctrl_send()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 60 unsigned magic; member 483 if (buf.nlh.magic != htobe32(UDEV_MONITOR_MAGIC)) in device_monitor_receive_device() 486 buf.nlh.magic, htobe32(UDEV_MONITOR_MAGIC)); in device_monitor_receive_device() 553 .magic = htobe32(UDEV_MONITOR_MAGIC), in device_monitor_send_device() 667 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, magic)); in sd_device_monitor_filter_update()
|
/systemd-251/src/import/ |
D | qcow2-util.c | 18 be32_t magic; member 46 #define HEADER_MAGIC(header) be32toh((header)->magic)
|
/systemd-251/src/shared/linux/ |
D | auto_dev-ioctl.h | 77 __u32 magic; member
|
D | ethtool.h | 351 __u32 magic; member
|
/systemd-251/src/systemctl/ |
D | systemctl-sysv-compat.c | 44 .magic = INIT_MAGIC, in talk_initctl()
|
/systemd-251/src/initctl/ |
D | initctl.c | 127 if (req->magic != INIT_MAGIC) { in request_process()
|
/systemd-251/src/boot/efi/ |
D | stub.c | 18 _used_ _section_(".sdmagic") static const char magic[] = "#### LoaderInfo: systemd-stub " GIT_VERSI…
|
D | boot.c | 35 _used_ _section_(".sdmagic") static const char magic[] = 1944 if (EFI_ERROR(err) || size != sizeof(magic)) in is_sd_boot() 1951 return CompareMem(content, magic, sizeof(magic)) == 0; in is_sd_boot()
|
/systemd-251/src/home/ |
D | homed-home.c | 2514 statfs_f_type_t magic; in home_augment_status() local 2540 &magic, in home_augment_status() 2545 fstype = fs_type_to_string(magic); in home_augment_status()
|
/systemd-251/docs/ |
D | CGROUP_DELEGATION.md | 82 support for all kinds of per-cgroup BPF magic, supports secure delegation of 446 user created a container by that name, because `tasks` after all is a magic
|