Lines Matching refs:datalen
333 int datalen = 0; in libxl_read_file_contents() local
362 datalen = stab.st_size; in libxl_read_file_contents()
365 data = malloc(datalen); in libxl_read_file_contents()
368 rs = fread(data, 1, datalen, f); in libxl_read_file_contents()
369 if (rs != datalen) { in libxl_read_file_contents()
388 if (datalen_r) *datalen_r = datalen; in libxl_read_file_contents()
407 int datalen = 0; in libxl__read_sysfs_file_contents() local
436 datalen = stab.st_size; in libxl__read_sysfs_file_contents()
439 data = libxl__malloc(gc, datalen); in libxl__read_sysfs_file_contents()
445 rs = fread(data, 1, datalen, f); in libxl__read_sysfs_file_contents()
446 if (rs < datalen) { in libxl__read_sysfs_file_contents()
452 datalen = rs; in libxl__read_sysfs_file_contents()
453 data = libxl__realloc(gc, data, datalen); in libxl__read_sysfs_file_contents()
464 if (datalen_r) *datalen_r = datalen; in libxl__read_sysfs_file_contents()
1064 const void *data, size_t datalen, in libxl__sendmsg_fds() argument
1074 iov.iov_len = datalen; in libxl__sendmsg_fds()
1101 void *databuf, size_t datalen, in libxl__recvmsg_fds() argument
1112 iov.iov_len = datalen; in libxl__recvmsg_fds()