Searched defs:serial (Results 1 - 18 of 18) sorted by relevance

/systemd/src/test/
H A Dtest-cgroup-mask.c30 FILE *serial = NULL; local
53 assert_se(manager_startup(m, serial, fdset) >= 0);
H A Dtest-engine.c32 FILE *serial = NULL; local
45 assert_se(manager_startup(m, serial, fdset) >= 0);
H A Dtest-sched-prio.c30 FILE *serial = NULL; local
42 assert_se(manager_startup(m, serial, fdset) >= 0);
/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-util.c100 int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_netlink_message **ret) { argument
110 (*ret)->hdr->nlmsg_seq = serial;
H A Dnetlink-internal.h42 uint64_t serial; member in struct:reply_callback
80 uint32_t serial; member in struct:sd_netlink
H A Dtest-netlink.c251 uint32_t serial; local
261 assert_se(sd_netlink_call_async(rtnl, m, &link_handler, ifname, 0, &serial) >= 0);
H A Dsd-netlink.c60 rtnl->serial = 1;
209 m->hdr->nlmsg_seq = rtnl->serial++ ? : rtnl->serial++;
218 uint32_t *serial) {
232 if (serial)
233 *serial = rtnl_message_get_serial(message);
304 r = rtnl_message_new_synthetic_error(-ETIMEDOUT, c->serial, &m);
309 hashmap_remove(rtnl->reply_callbacks, &c->serial);
322 uint64_t serial; local
329 serial
216 sd_netlink_send(sd_netlink *nl, sd_netlink_message *message, uint32_t *serial) argument
517 sd_netlink_call_async(sd_netlink *nl, sd_netlink_message *m, sd_netlink_message_handler_t callback, void *userdata, uint64_t usec, uint32_t *serial) argument
579 sd_netlink_call_async_cancel(sd_netlink *nl, uint32_t serial) argument
603 uint32_t serial; local
[all...]
/systemd/src/udev/scsi_id/
H A Dscsi_id.h29 * MAX_SERIAL_LEN: the maximum length of the serial number, including
46 char serial[MAX_SERIAL_LEN]; member in struct:scsi_id_device
H A Dscsi_serial.c102 char *serial, char *serial_short, int max_len);
448 * The caller checks that serial is long enough to include the vendor +
452 struct scsi_id_device *dev_scsi, char *serial)
456 strncpy(serial, dev_scsi->vendor, VENDOR_LENGTH);
457 strncat(serial, dev_scsi->model, MODEL_LENGTH);
458 ind = strlen(serial);
474 * serial number.
480 *id_search, char *serial, char *serial_short,
543 serial[0] = hex_str[id_search->id_type];
552 if (prepend_vendor_model(udev, dev_scsi, &serial[
451 prepend_vendor_model(struct udev *udev, struct scsi_id_device *dev_scsi, char *serial) argument
476 check_fill_0x83_id(struct udev *udev, struct scsi_id_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len, char *wwn, char *wwn_vendor_extension, char *tgpt_group) argument
587 check_fill_0x83_prespc3(struct udev *udev, struct scsi_id_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len) argument
610 do_scsi_page83_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int len, char *unit_serial_number, char *wwn, char *wwn_vendor_extension, char *tgpt_group) argument
702 do_scsi_page83_prespc3_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int len) argument
764 do_scsi_page80_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int max_len) argument
[all...]
/systemd/src/analyze/
H A Danalyze-verify.c237 FILE *serial = NULL; local
264 r = manager_startup(m, serial, fdset);
/systemd/src/journal/
H A Djournald-kmsg.c119 uint64_t serial; local
148 r = safe_atou64(p, &serial);
154 if (serial < *s->kernel_seqnum)
158 if (serial > *s->kernel_seqnum)
161 serial - *s->kernel_seqnum),
165 * we always store the next message serial we expect
167 * message with serial 0 easy. */
168 *s->kernel_seqnum = serial + 1;
/systemd/src/libsystemd/sd-bus/
H A Dbus-protocol.h40 /* Note that what the bus spec calls "serial" we'll call
43 uint32_t serial; member in struct:bus_header::_packed_::_packed_
H A Dbus-message.c513 if (h->dbus1.serial == 0)
2986 m->header->dbus1.serial = (uint32_t) cookie;
5431 uint32_t serial; local
5436 r = message_peek_field_uint32(m, &ri, item_size, &serial);
5440 m->reply_cookie = serial;
/systemd/src/basic/
H A Dlocale-util.c50 uint32_t serial; member in struct:locarhead
/systemd/src/udev/ata_id/
H A Data_id.c2 * ata_id - reads product/serial number from ATA drives
417 char serial[21]; local
473 disk_identify_fixup_string(identify.byte, 10, 20); /* serial */
509 util_replace_whitespace((char *) id.serial_no, serial, 20);
510 util_replace_chars(serial, NULL);
544 if (serial[0] != '\0') {
545 printf("ID_SERIAL=%s_%s\n", model, serial);
546 printf("ID_SERIAL_SHORT=%s\n", serial);
667 if (serial[0] != '\0')
668 printf("%s_%s\n", model, serial);
[all...]
/systemd/src/shared/
H A Dask-password-api.c66 key_serial_t serial; local
71 serial = request_key("user", keyname, NULL, 0);
72 if (serial == -1)
75 *ret = serial;
79 static int retrieve_key(key_serial_t serial, char ***ret) { argument
91 n = keyctl(KEYCTL_READ, (unsigned long) serial, (unsigned long) p, (unsigned long) m, 0);
116 key_serial_t serial; local
126 r = lookup_key(keyname, &serial);
128 r = retrieve_key(serial, &l);
146 serial
176 key_serial_t serial; local
[all...]
/systemd/src/udev/
H A Dudev-builtin-usb_id.c231 * 6.) If the device supplies a serial number, this number
248 char serial[256]; local
418 usb_serial = udev_device_get_sysattr_value(dev_usb, "serial");
436 s = serial;
437 l = strpcpyl(&s, sizeof(serial), vendor_str, "_", model_str, NULL);
451 udev_builtin_add_property(dev, test, "ID_SERIAL", serial);
/systemd/src/resolve/
H A Dresolved-dns-rr.h164 uint32_t serial; member in struct:DnsResourceRecord::__anon231::__anon239

Completed in 5183 milliseconds