Lines Matching refs:li
47 struct loop_info64 li; in dumpState() local
61 rc = ioctl(fd, LOOP_GET_STATUS64, &li); in dumpState()
73 asprintf(&tmp, "%s %d %lld:%lld %llu %lld:%lld %lld 0x%x {%s} {%s}", filename, li.lo_number, in dumpState()
74 MAJOR(li.lo_device), MINOR(li.lo_device), li.lo_inode, MAJOR(li.lo_rdevice), in dumpState()
75 MINOR(li.lo_rdevice), li.lo_offset, li.lo_flags, li.lo_crypt_name, in dumpState()
76 li.lo_file_name); in dumpState()
91 struct loop_info64 li; in lookupActive() local
105 rc = ioctl(fd, LOOP_GET_STATUS64, &li); in lookupActive()
117 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) { in lookupActive()
136 struct loop_info64 li; in create() local
177 rc = ioctl(fd, LOOP_GET_STATUS64, &li); in create()
213 struct loop_info64 li; in create() local
215 memset(&li, 0, sizeof(li)); in create()
216 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE); in create()
217 strlcpy((char*) li.lo_file_name, loopFile, LO_NAME_SIZE); in create()
219 if (ioctl(fd, LOOP_SET_STATUS64, &li) < 0) { in create()