Lines Matching refs:major
337 * Open the lofi control device. Optionally return lofi major device number.
340 suri_open_lofictl(struct suri_handle *sh, int *lfd, major_t *major)
350 if (major != NULL) {
354 SURIGTEXT("Failed to get major device number"),
358 *major = major(st.st_rdev);
469 * Translate an existing device name in the mdev property to a major/minor
473 devname_to_major_minor(struct suri_handle *sh, major_t *major, minor_t *minor)
480 SURIGTEXT("Failed to get minor/major numbers for device"),
484 *major = major(st.st_rdev);
612 * If we cannot allocate memory to expand the array treat it as a major error