Searched defs:max_len (Results 1 - 2 of 2) sorted by relevance
/systemd/src/udev/scsi_id/ |
H A D | scsi_serial.c | 102 char *serial, char *serial_short, int max_len); 481 int max_len, char *wwn, 529 if (max_len < len) { 531 dev_scsi->kernel, max_len, len); 591 *id_search, char *serial, char *serial_short, int max_len) 599 for (i = 0; (i < page_83[3]) && (j < max_len-3); ++i) { 603 serial[max_len-1] = 0; 604 strncpy(serial_short, serial, max_len-1); 766 char *serial, char *serial_short, int max_len) 785 if (max_len < le 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 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/systemctl/ |
H A D | systemctl.c | 1463 size_t max_len = MAX(columns(),20u); local 1471 if (len > max_len - 3 && !arg_full) { 1472 printf("%s...\n",max_len % 2 ? "" : " "); 1479 if (len > max_len - 3 && !arg_full) { 1480 printf("%s...\n",max_len % 2 ? "" : " "); 1492 n = ellipsize(name, max_len-len, 100);
|
Completed in 41 milliseconds