Searched defs:magic (Results 1 - 11 of 11) sorted by relevance

/systemd/src/boot/efi/
H A Dstub.c24 /* magic string to find in the binary image */
25 static const char __attribute__((used)) magic[] = "#### LoaderInfo: systemd-stub " VERSION " ####"; variable
H A Dpefile.c72 uint8_t magic[4]; local
102 len = sizeof(magic);
103 err = uefi_call_wrapper(handle->Read, 3, handle, &len, &magic);
106 if (len != sizeof(magic)) {
111 if (CompareMem(magic, "PE\0\0", 2) != 0) {
138 err = uefi_call_wrapper(handle->SetPosition, 2, handle, dos.ExeHeader + sizeof(magic) + sizeof(pe) + pe.SizeOfOptionalHeader);
H A Dboot.c30 /* magic string to find in the binary image */
31 static const char __attribute__((used)) magic[] = "#### LoaderInfo: systemd-boot " VERSION " ####"; variable
/systemd/src/shared/
H A Dinitreq.h67 int magic; /* Magic number */ member in struct:init_request
/systemd/src/libsystemd-network/
H A Ddhcp-protocol.h44 be32_t magic; member in struct:DHCPMessage
H A Dtest-dhcp-option.c84 uint8_t *magic; local
94 magic = (uint8_t*)&message->magic;
96 assert_se(magic[0] == 99);
97 assert_se(magic[1] == 130);
98 assert_se(magic[2] == 83);
99 assert_se(magic[3] == 99);
/systemd/src/basic/
H A Dlocale-util.c48 uint32_t magic; member in struct:locarhead
105 if (h->magic != 0xde020109 ||
/systemd/src/import/
H A Dqcow2-util.c35 be32_t magic; member in struct:Header
63 #define HEADER_MAGIC(header) be32toh((header)->magic)
/systemd/src/shared/linux/
H A Dauto_dev-ioctl.h83 __u32 magic; member in struct:args_ismountpoint::__anon266::args_out
/systemd/src/udev/
H A Dudev-ctrl.c27 /* wire protocol magic must match */
44 unsigned int magic; member in struct:udev_ctrl_msg_wire
244 ctrl_msg_wire.magic = UDEV_CTRL_MAGIC;
396 if (uctrl_msg->ctrl_msg_wire.magic != UDEV_CTRL_MAGIC) {
397 log_error("message magic 0x%08x doesn't match, ignore it", uctrl_msg->ctrl_msg_wire.magic);
/systemd/src/libudev/
H A Dlibudev-monitor.c79 * magic to protect against daemon <-> library message format mismatch
82 unsigned int magic; member in struct:udev_monitor_netlink_header
303 /* load magic in A */
304 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, magic));
305 /* jump if magic matches */
307 /* wrong magic, pass packet */
652 /* udev message needs proper version magic */
653 if (buf.nlh.magic != htonl(UDEV_MONITOR_MAGIC)) {
655 buf.nlh.magic, htonl(UDEV_MONITOR_MAGIC));
718 .magic
[all...]

Completed in 2212 milliseconds