Home
last modified time | relevance | path

Searched refs:udh (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c96 ud_handle_t udh; in main() local
189 if (ud_init(-1, &udh) != 0) { in main()
203 if (ud_open_dev(udh, argv[optind], flags) != 0) { in main()
210 if ((ret = ud_fill_udfs_info(udh)) != 0) { in main()
214 if ((udh->udfs.flags & VALID_UDFS) == 0) { in main()
219 label(udh, set_flags); in main()
222 ud_close_dev(udh); in main()
223 ud_fini(udh); in main()
244 label(ud_handle_t udh, uint32_t set_flags) in label() argument
247 if (udh->udfs.flags & VALID_MVDS) { in label()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c49 ud_handle_t udh; member
79 if (ud_init(h->fd, &h->udh) != 0) { in fstyp_mod_init()
97 ud_fini(h->udh); in fstyp_mod_fini()
134 struct udf *udfs = &h->udh->udfs; in fstyp_mod_dump()
156 struct udf *udfs = &h->udh->udfs; in is_udfs()
159 if ((ret = ud_fill_udfs_info(h->udh)) != 0) { in is_udfs()
177 struct udf *udfs = &h->udh->udfs; in get_attr()
202 if (ud_read_dev(h->udh, off, buf, v->pvd_len) != 0) { in get_attr()
225 struct udf *udfs = &h->udh->udfs; in print_vds()
257 if (ud_read_dev(h->udh, off, buf, udfs->avdp_len) != 0) { in print_vds()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c99 ud_handle_t udh; variable
165 if (ud_init(-1, &udh) != 0) { in main()
171 if ((fd = ud_open_dev(udh, argv[optind], openflg)) < 0) { in main()
176 if ((ret = ud_fill_udfs_info(udh)) != 0) { in main()
180 if ((udh->udfs.flags & VALID_UDFS) == 0) { in main()
184 bsize = udh->udfs.lbsize; in main()
192 ricb_prn = udh->udfs.ricb_prn; in main()
193 ricb_loc = udh->udfs.ricb_loc; in main()
194 ricb_len = udh->udfs.ricb_len; in main()
196 value = i_number = ud_xlate_to_daddr(udh, ricb_prn, ricb_loc); in main()
[all …]