/systemd/src/libsystemd/sd-bus/ |
H A D | bus-error.c | 84 const sd_bus_error_map **map, *m; local 101 for (map = additional_error_maps; *map; map++) 102 for (m = *map;; m++) { 580 static bool map_ok(const sd_bus_error_map *map) { argument 581 for (; map->code != BUS_ERROR_MAP_END_MARKER; map++) 582 if (!map->name || map 587 sd_bus_error_add_map(const sd_bus_error_map *map) argument [all...] |
/systemd/src/vconsole/ |
H A D | vconsole-setup.c | 106 static int keyboard_load_and_wait(const char *vc, const char *map, const char *map_toggle, bool utf8) { argument 111 /* An empty map means kernel map */ 112 if (isempty(map)) 121 args[i++] = map; 145 static int font_load_and_wait(const char *vc, const char *font, const char *map, const char *unimap) { argument 158 if (map) { 160 args[i++] = map; 231 /* copy map of 8bit chars */ 235 /* copy map o [all...] |
/systemd/src/boot/efi/ |
H A D | splash.c | 57 struct bmp_map *map; local 105 map = (struct bmp_map *)(bmp + sizeof(struct bmp_file) + dib->size); 134 *ret_map = map; 164 struct bmp_dib *dib, struct bmp_map *map, 183 out->Red = map[((*in) >> (7 - i)) & 1].red; 184 out->Green = map[((*in) >> (7 - i)) & 1].green; 185 out->Blue = map[((*in) >> (7 - i)) & 1].blue; 198 out->Red = map[i].red; 199 out->Green = map[i].green; 200 out->Blue = map[ 163 bmp_to_blt(EFI_GRAPHICS_OUTPUT_BLT_PIXEL *buf, struct bmp_dib *dib, struct bmp_map *map, UINT8 *pixmap) argument 259 struct bmp_map *map; local [all...] |
/systemd/src/shared/ |
H A D | machine-image.c | 386 void image_hashmap_free(Hashmap *map) { argument 389 while ((i = hashmap_steal_first(map))) 392 hashmap_free(map);
|
H A D | bus-util.c | 1105 const struct bus_properties_map *map, 1112 assert(map); 1129 for (i = 0, prop = NULL; map[i].member; i++) 1130 if (streq(map[i].member, member)) { 1131 prop = &map[i]; 1145 if (map[i].set) 1173 const struct bus_properties_map *map, 1180 assert(map); 1182 r = bus_message_map_all_properties(m, map, userdata); 1192 for (i = 0; map[ 1103 bus_message_map_all_properties( sd_bus_message *m, const struct bus_properties_map *map, void *userdata) argument 1171 bus_message_map_properties_changed( sd_bus_message *m, const struct bus_properties_map *map, void *userdata) argument 1207 bus_map_all_properties( sd_bus *bus, const char *destination, const char *path, const struct bus_properties_map *map, void *userdata) argument [all...] |
/systemd/src/timedate/ |
H A D | timedatectl.c | 166 static const struct bus_properties_map map[] = { local 183 map,
|
/systemd/src/udev/ |
H A D | udev-builtin-keyboard.c | 77 } map; local 95 map.scan = scancode; 96 map.key = keycode_num; 99 map.scan, map.scan, map.key, map.key); 101 if (ioctl(fd, EVIOCSKEYCODE, &map) < 0) 102 log_error_errno(errno, "Error calling EVIOCSKEYCODE on device node '%s' (scan code 0x%x, key code %d): %m", devnode, map.scan, map [all...] |
H A D | udev-event.c | 101 } map[] = { local 146 for (i = 0; i < ELEMENTSOF(map); i++) { 147 if (startswith(&from[1], map[i].name)) { 148 type = map[i].type; 149 from += strlen(map[i].name)+1; 162 for (i = 0; i < ELEMENTSOF(map); i++) { 163 if (from[1] == map[i].fmt) { 164 type = map[i].type;
|
/systemd/src/journal/ |
H A D | journald-audit.c | 32 int (*map)(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov); member in struct:MapField 219 /* First, we map certain well-known audit fields into native 237 /* Some fields don't map to native well-known fields. However, 249 * prefix. We map the fields we don't know to AUDIT_FIELD_XYZ= */ 308 /* Try to map the kernel fields to our own names */ 314 r = m->map(m->journal_field, &v, iov, n_iov_allocated, n_iov);
|
/systemd/src/libsystemd/sd-hwdb/ |
H A D | sd-hwdb.c | 48 const char *map; member in union:sd_hwdb::__anon155 113 return (const struct trie_node_f *)(hwdb->map + le64toh(off)); 117 return hwdb->map + le64toh(off); 314 hwdb->map = mmap(0, hwdb->st.st_size, PROT_READ, MAP_SHARED, fileno(hwdb->f), 0); 315 if (hwdb->map == MAP_FAILED) 318 if (memcmp(hwdb->map, sig, sizeof(hwdb->head->signature)) != 0 || 347 if (hwdb->map) 348 munmap((void *)hwdb->map, hwdb->st.st_size);
|
/systemd/src/locale/ |
H A D | localectl.c | 166 static const struct bus_properties_map map[] = { local 184 map, 250 const char *map, *toggle_map; local 263 map = args[1]; 274 "ssbb", map, toggle_map, arg_convert, arg_ask_password); 295 if (!endswith(fpath, ".map") && 296 !endswith(fpath, ".map.gz")) 303 e = endswith(p, ".map"); 307 e = endswith(p, ".map.gz");
|
/systemd/src/login/ |
H A D | loginctl.c | 420 static const struct bus_properties_map map[] = { local 448 r = bus_map_all_properties(bus, "org.freedesktop.login1", path, map, &i); 559 static const struct bus_properties_map map[] = { local 576 r = bus_map_all_properties(bus, "org.freedesktop.login1", path, map, &i); 638 static const struct bus_properties_map map[] = { local 648 r = bus_map_all_properties(bus, "org.freedesktop.login1", path, map, &i);
|
/systemd/src/machine/ |
H A D | machinectl.c | 640 static const struct bus_properties_map map[] = { local 665 map, 829 static const struct bus_properties_map map[] = { local 853 map, 899 static const struct bus_properties_map map[] = { local 917 map,
|