/systemd/src/shared/ |
H A D | acpi-fpdt.c | 55 uint64_t ptr; member in struct:acpi_fpdt_header 87 uint64_t ptr = 0; local 117 ptr = rec->ptr; 121 if (ptr == 0) 129 l = pread(fd, &hbrec, sizeof(struct acpi_fpdt_boot_header), ptr); 139 l = pread(fd, &brec, sizeof(struct acpi_fpdt_boot), ptr + sizeof(struct acpi_fpdt_boot_header));
|
/systemd/src/bootchart/ |
H A D | store.c | 99 struct list_sample_data **ptr, 125 sampledata = *ptr; 96 log_sample(DIR *proc, int sample, struct ps_struct *ps_first, struct list_sample_data **ptr, int *pscount, int *cpus) argument
|
/systemd/src/journal/ |
H A D | lookup3.c | 290 union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */ member in union:__anon103 295 u.ptr = key; 475 union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */ member in union:__anon104 481 u.ptr = key; 654 union { const void *ptr; size_t i; } u; /* to cast key to (size_t) happily */ member in union:__anon105 659 u.ptr = key;
|
H A D | mmap-cache.c | 46 void *ptr; member in struct:Window 119 if (w->ptr) 120 munmap(w->ptr, w->size); 149 assert_se(mmap(w->ptr, w->size, w->prot, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0) == w->ptr); 174 static Window *window_add(MMapCache *m, FileDescriptor *fd, int prot, bool keep_always, uint64_t offset, size_t size, void *ptr) { argument 201 w->ptr = ptr; 420 *ret = (uint8_t*) c->window->ptr + (offset - c->window->offset); 466 *ret = (uint8_t*) w->ptr 471 void *ptr; local [all...] |
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-convenience.c | 333 char type, void *ptr) { 342 bus_assert_return(ptr, -EINVAL, error); 358 r = sd_bus_message_read_basic(reply, type, ptr); 326 sd_bus_get_property_trivial( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char type, void *ptr) argument
|
H A D | bus-message.c | 2577 void **ptr) { 2586 assert_return(ptr || size == 0, -EINVAL); 2612 *ptr = a; 2619 const void *ptr, 2627 assert_return(ptr || size == 0, -EINVAL); 2635 memcpy(p, ptr, size); 4799 const void **ptr, 4811 assert_return(ptr, -EINVAL); 4849 *ptr = (const void*) p; 2573 sd_bus_message_append_array_space( sd_bus_message *m, char type, size_t size, void **ptr) argument 2616 sd_bus_message_append_array( sd_bus_message *m, char type, const void *ptr, size_t size) argument 4796 sd_bus_message_read_array( sd_bus_message *m, char type, const void **ptr, size_t *size) argument
|
/systemd/src/udev/collect/ |
H A D | collect.c | 136 char *buf, *ptr, *word = NULL; local 147 ptr = buf + len; 149 while (ptr && *ptr) { 150 word = ptr; 151 ptr = strpbrk(word," \n\t\r"); 152 if (!ptr && word < (buf + len)) { 160 if (ptr) { 161 *ptr = '\0'; 162 ptr [all...] |
/systemd/src/journal-remote/ |
H A D | journal-upload.c | 184 size_t (*input_callback)(void *ptr, 183 start_upload(Uploader *u, size_t (*input_callback)(void *ptr, size_t size, size_t nmemb, void *userdata), void *data) argument
|
/systemd/src/resolve/ |
H A D | resolved-dns-packet.c | 827 r = dns_packet_append_name(p, rr->ptr.name, true, false, NULL); 1365 uint16_t ptr; local 1372 ptr = (uint16_t) (c & ~0xc0) << 8 | (uint16_t) d; 1373 if (ptr < DNS_PACKET_HEADER_SIZE || ptr >= jump_barrier) { 1382 jump_barrier = ptr; 1383 p->rindex = ptr; 1650 r = dns_packet_read_name(p, &rr->ptr.name, true, NULL);
|
H A D | resolved-dns-rr.c | 434 free(rr->ptr.name); 511 _cleanup_free_ char *ptr = NULL; local 518 r = dns_name_reverse(family, address, &ptr); 522 key = dns_resource_key_new_consume(DNS_CLASS_IN, DNS_TYPE_PTR, ptr); 526 ptr = NULL; 532 rr->ptr.name = strdup(hostname); 533 if (!rr->ptr.name) 607 return dns_name_equal(a->ptr.name, b->ptr.name); 851 s = strjoin(k, " ", rr->ptr [all...] |
H A D | resolved-dns-rr.h | 142 } ptr, ns, cname, dname; member in union:DnsResourceRecord::__anon231
|
/systemd/src/analyze/ |
H A D | analyze.c | 491 char *ptr; local 498 ptr = buf; 501 size = strpcpyf(&ptr, size, "Startup finished in "); 503 size = strpcpyf(&ptr, size, "%s (firmware) + ", format_timespan(ts, sizeof(ts), t->firmware_time - t->loader_time, USEC_PER_MSEC)); 505 size = strpcpyf(&ptr, size, "%s (loader) + ", format_timespan(ts, sizeof(ts), t->loader_time, USEC_PER_MSEC)); 507 size = strpcpyf(&ptr, size, "%s (kernel) + ", format_timespan(ts, sizeof(ts), t->kernel_done_time, USEC_PER_MSEC)); 509 size = strpcpyf(&ptr, size, "%s (initrd) + ", format_timespan(ts, sizeof(ts), t->userspace_time - t->initrd_time, USEC_PER_MSEC)); 511 size = strpcpyf(&ptr, size, "%s (userspace) ", format_timespan(ts, sizeof(ts), t->finish_time - t->userspace_time, USEC_PER_MSEC)); 512 strpcpyf(&ptr, size, "= %s", format_timespan(ts, sizeof(ts), t->firmware_time + t->finish_time, USEC_PER_MSEC)); 514 ptr [all...] |