Searched refs:bfs (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vfsops.c | 68 bootfs_t *bfs; in bootfs_mount() local 96 bfs = kmem_zalloc(sizeof (bootfs_t), KM_NOSLEEP | KM_NORMALPRI); in bootfs_mount() 97 if (bfs == NULL) in bootfs_mount() 103 kmem_free(bfs, sizeof (bfs)); in bootfs_mount() 107 bfs->bfs_minor = id_alloc(bootfs_idspace); in bootfs_mount() 108 bfs->bfs_kstat = kstat_create_zone("bootfs", bfs->bfs_minor, "bootfs", in bootfs_mount() 112 if (bfs->bfs_kstat == NULL) { in bootfs_mount() 113 id_free(bootfs_idspace, bfs->bfs_minor); in bootfs_mount() 115 kmem_free(bfs, sizeof (bfs)); in bootfs_mount() 118 bfs->bfs_kstat->ks_data = &bfs->bfs_stat; in bootfs_mount() [all …]
|
H A D | bootfs_construct.c | 110 bootfs_node_init(bootfs_t *bfs, bootfs_node_t *bnp, const struct vattr *vap, in bootfs_node_init() argument 119 bnp->bvn_vnp->v_vfsp = bfs->bfs_vfsp; in bootfs_node_init() 139 bnp->bvn_attr.va_fsid = makedevice(bootfs_major, bfs->bfs_minor); in bootfs_node_init() 140 bnp->bvn_attr.va_nodeid = bfs->bfs_ninode; in bootfs_node_init() 142 bfs->bfs_ninode++; in bootfs_node_init() 143 list_insert_tail(&bfs->bfs_nodes, bnp); in bootfs_node_init() 147 bootfs_mkroot(bootfs_t *bfs) in bootfs_mkroot() argument 152 bootfs_node_init(bfs, bnp, &bootfs_vattr_dir, "/", 1); in bootfs_mkroot() 155 bfs->bfs_rootvn = bnp; in bootfs_mkroot() 156 bfs->bfs_stat.bfss_ndirs.value.ui32++; in bootfs_mkroot() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 84 } bfs[2]; variable 113 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ in rw_init() 115 bfs[1].counter = BF_FREE; in rw_init() 117 return (&bfs[0].buf.tb_hdr); in rw_init() 130 bfs[current].counter = BF_FREE; /* free old one */ in readit() 133 b = &bfs[current]; /* look at new buffer */ in readit() 153 b = &bfs[nextone]; /* look at "next" buffer */ in read_ahead() 197 bfs[current].counter = ct; /* set size of data to write */ in writeit() 199 if (bfs[current].counter != BF_FREE) /* if not free */ in writeit() 202 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */ in writeit() [all …]
|
/titanic_50/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_cmd.c | 240 const char *bfs; in update_bootpath() local 243 if ((bfs = find_bootprop(str, BPROP_ZFSBOOTFS)) == NULL || in update_bootpath() 247 n = bfs - str; in update_bootpath() 252 bootpath, bfs) >= strsz - n) in update_bootpath()
|
/titanic_50/ |
H A D | .gitignore | 187 usr/src/cmd/bfs/bfs
|