Lines Matching defs:li
433 struct lofi_ioctl li;
439 (void) memset(&li, 0, sizeof (li));
440 li.li_minor = 0;
442 (void) strlcpy(li.li_filename, suri_file->sf_prop_path,
443 sizeof (li.li_filename));
444 if (ioctl(lfd, LOFI_GET_BY_FILENAME, &li) == -1) {
452 if (ioctl(lfd, LOFI_MAP_FILE, &li) == -1) {
459 ret = suri_wait_until_dev_complete(sh, li.li_minor);
464 _PATH_DEV "%s/%d", LOFI_BLOCK_NAME, li.li_minor);
499 struct lofi_ioctl li;
503 (void) memset(&li, 0, sizeof (li));
505 (minor_t *)&li.li_minor)) != ESURI_OK) {
516 if (ioctl(fd, LOFI_GET_BY_MINOR, &li) == -1) {
524 sizeof (suri_file->sf_prop_path), "%s", li.li_filename);
540 struct lofi_ioctl li;
546 (void) memset(&li, 0, sizeof (li));
547 li.li_minor = 0;
553 (void) strlcpy(li.li_filename, suri_file->sf_prop_path,
554 sizeof (li.li_filename));
555 if (ioctl(fd, LOFI_UNMAP_FILE, &li) == -1) {