Lines Matching refs:devno
97 void blkid__scan_dir(const char *dirname, dev_t devno, struct dir_list **list, in blkid__scan_dir() argument
122 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) { in blkid__scan_dir()
125 printf("found 0x%llx at %s (%p)\n", (long long)devno, in blkid__scan_dir()
145 char *blkid_devno_to_devname(dev_t devno) in blkid_devno_to_devname() argument
163 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname()
183 (unsigned long) devno)); in blkid_devno_to_devname()
186 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); in blkid_devno_to_devname()
198 dev_t devno; in main() local
209 devno = strtoul(argv[1], &tmp, 0); in main()
225 devno = makedev(major, minor); in main()
227 printf("Looking for device 0x%04llx\n", (long long)devno); in main()
228 devname = blkid_devno_to_devname(devno); in main()