Searched refs:bufsize (Results 1 - 6 of 6) sorted by relevance
/systemd/src/basic/ |
H A D | user-util.c | 226 long bufsize; local 228 bufsize = sysconf(_SC_GETPW_R_SIZE_MAX); 229 if (bufsize <= 0) 230 bufsize = 4096; 236 buf = malloc(bufsize); 240 r = getpwuid_r(uid, &pwbuf, buf, (size_t) bufsize, &pw); 246 bufsize *= 2; 264 long bufsize; local 266 bufsize = sysconf(_SC_GETGR_R_SIZE_MAX); 267 if (bufsize < [all...] |
H A D | fs-util.c | 465 size_t bufsize = 0, n = 0; local 495 if (!GREEDY_REALLOC(l, bufsize, n + 2))
|
/systemd/src/udev/collect/ |
H A D | collect.c | 52 static size_t bufsize = BUFSIZE; variable 140 len = bufsize >> 1; 141 buf = malloc(bufsize + 1); 144 memset(buf, ' ', bufsize); 145 buf[bufsize] = '\0'; 153 bufsize = bufsize << 1; 155 fprintf(stderr, "ID overflow, restarting with size %zu\n", bufsize); 285 buf = malloc(bufsize); 295 while (strlen(him->name)+1 >= bufsize) { [all...] |
/systemd/src/udev/ |
H A D | udev-node.c | 129 static const char *link_find_prioritized(struct udev_device *dev, bool add, const char *stackdir, char *buf, size_t bufsize) { argument 137 strscpy(buf, bufsize, udev_device_get_devnode(dev)); 170 strscpy(buf, bufsize, devnode);
|
/systemd/src/boot/efi/ |
H A D | boot.c | 1163 UINTN bufsize; local 1168 bufsize = sizeof(buf); 1169 err = uefi_call_wrapper(entries_dir->Read, 3, entries_dir, &bufsize, buf); 1170 if (bufsize == 0 || EFI_ERROR(err)) 1504 UINTN bufsize; local 1524 bufsize = sizeof(buf); 1525 err = uefi_call_wrapper(linux_dir->Read, 3, linux_dir, &bufsize, buf); 1526 if (bufsize == 0 || EFI_ERROR(err))
|
/systemd/src/udev/cdrom_id/ |
H A D | cdrom_id.c | 163 static int scsi_cmd_run(struct udev *udev, struct scsi_cmd *cmd, int fd, unsigned char *buf, size_t bufsize) argument 167 if (bufsize > 0) { 169 cmd->sg_io.dxfer_len = bufsize;
|
Completed in 1532 milliseconds