Home | History | Annotate | Download | only in dkwedge

Lines Matching defs:wedge

64 MALLOC_DEFINE(M_DKWEDGE, "dkwedge", "Disk wedge structures");
102 uint8_t sc_wname[128]; /* $: wedge name (Unicode, UTF-8) */
104 dkwedge_state_t sc_state; /* state this wedge is in */
113 /* R: sc_parent->dk_rawvp (also stable while wedge is open) */
114 daddr_t sc_offset; /* $: LBA offset of wedge in parent */
116 uint64_t sc_size; /* S: size of wedge in blocks */
119 /* P: link on parent's wedge list */
254 /* Disk wedge is ready for use! */
425 * Add a disk wedge based on the provided information.
453 * Check for an existing wedge at the same disk offset. Allow
454 * updating a wedge if the only change is the size, and the new
504 * Wedge will be added; increment the wedge count for the parent.
511 /* Check for wedge overlap. */
521 /* Overlaps the tail of the existing wedge. */
526 /* Overlaps the head of the existing wedge. */
557 /* Insert the larval wedge into the array. */
610 * this wedge instance. This will provide us with the
659 * Lookup a disk wedge based on the provided information.
660 * NOTE: We look up the wedge based on the wedge devname,
663 * Return NULL if the wedge is not found, otherwise return
664 * the wedge's softc. Assign the wedge's unit number to unitp
665 * if unitp is not NULL. The wedge's sc_dev is referenced and
699 * Delete a disk wedge based on the provided information.
700 * NOTE: We look up the wedge based on the wedge devname,
738 /* Mark the wedge as dying. */
749 /* Locate the wedge major numbers. */
842 * Wedge is not yet created. This is a race --
912 * Acquire a device reference so this wedge doesn't go
946 "WARNING: double match for wedge name %s "
1012 printf(" wedge:%s", sc->sc_wname);
1027 * Initialize the disk wedge subsystem.
1196 * If the block device has already been opened by a wedge
1250 * Caller must guarantee the wedge is referenced.
1316 * Open a wedge.
1331 * vnode once per wedge, no matter how many times the wedge is
1346 * read-only and fail to open the wedge read/write.
1384 * and wedge is read-only, retry to open read-only.
1398 * Retrieve mode from an already opened wedge.
1446 * Close a wedge.
1455 * have to handle the same possibility that the wedge may not
1489 * Cancel any pending I/O operations waiting on a wedge.
1517 * Perform I/O based on the wedge I/O strategy.
1562 * Start I/O that has been enqueued on the wedge.
1647 * I/O to a wedge has completed; alert the top half.
1714 * Read from a wedge.
1732 * Write to a wedge.
1750 * Perform an ioctl request on a wedge.
1824 * Perform a discard-range request on a wedge.
1868 * Query the size of a wedge for the purpose of performing a dump
1905 * Perform a crash dump to a wedge.
1953 * Find wedge corresponding to the specified parent name
1962 device_t wedge = NULL;
1971 if (wedge) {
1972 printf("WARNING: double match for boot wedge "
1974 device_xname(wedge),
1978 wedge = sc->sc_dev;
1979 device_acquire(wedge);
1984 return wedge;