Home | History | Annotate | Download | only in altboot

Lines Matching refs:of

13  * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
16 * notice, this list of conditions and the following disclaimer in the
21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
59 devopen(struct open_file *of, const char *name, char **file)
65 if (of->f_flags != F_READ)
69 of->f_dev = NULL;
70 of->f_flags |= F_NODEV;
76 of->f_dev = &devnet;
77 if ((error = net_open(of, &name[4], "nfs")) != 0)
84 of->f_dev = &devnet;
85 if ((error = net_open(of, &name[5], "tftp")) != 0)
93 of->f_dev = &devdsk;
96 if ((error = dsk_open(of, unit, part, *file)) != 0)
98 file_system[0] = *dsk_fsops(of);