Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c98 ud_handle_t udh; in main() local
191 if (ud_init(-1, &udh) != 0) { in main()
205 if (ud_open_dev(udh, argv[optind], flags) != 0) { in main()
212 if ((ret = ud_fill_udfs_info(udh)) != 0) { in main()
216 if ((udh->udfs.flags & VALID_UDFS) == 0) { in main()
221 label(udh, set_flags); in main()
224 ud_close_dev(udh); in main()
225 ud_fini(udh); in main()
246 label(ud_handle_t udh, uint32_t set_flags) in label() argument
249 if (udh->udfs.flags & VALID_MVDS) { in label()
[all …]
/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c51 ud_handle_t udh; member
81 if (ud_init(h->fd, &h->udh) != 0) { in fstyp_mod_init()
99 ud_fini(h->udh); in fstyp_mod_fini()
136 struct udf *udfs = &h->udh->udfs; in fstyp_mod_dump()
158 struct udf *udfs = &h->udh->udfs; in is_udfs()
161 if ((ret = ud_fill_udfs_info(h->udh)) != 0) { in is_udfs()
179 struct udf *udfs = &h->udh->udfs; in get_attr()
204 if (ud_read_dev(h->udh, off, buf, v->pvd_len) != 0) { in get_attr()
227 struct udf *udfs = &h->udh->udfs; in print_vds()
259 if (ud_read_dev(h->udh, off, buf, udfs->avdp_len) != 0) { in print_vds()
[all …]
/titanic_44/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c101 ud_handle_t udh; variable
167 if (ud_init(-1, &udh) != 0) { in main()
173 if ((fd = ud_open_dev(udh, argv[optind], openflg)) < 0) { in main()
178 if ((ret = ud_fill_udfs_info(udh)) != 0) { in main()
182 if ((udh->udfs.flags & VALID_UDFS) == 0) { in main()
186 bsize = udh->udfs.lbsize; in main()
194 ricb_prn = udh->udfs.ricb_prn; in main()
195 ricb_loc = udh->udfs.ricb_loc; in main()
196 ricb_len = udh->udfs.ricb_len; in main()
198 value = i_number = ud_xlate_to_daddr(udh, ricb_prn, ricb_loc); in main()
[all …]