Searched refs:bfs (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vfsops.c | 68 bootfs_t *bfs; local 96 bfs = kmem_zalloc(sizeof (bootfs_t), KM_NOSLEEP | KM_NORMALPRI); 97 if (bfs == NULL) 103 kmem_free(bfs, sizeof (bfs)); 107 bfs->bfs_minor = id_alloc(bootfs_idspace); 108 bfs->bfs_kstat = kstat_create_zone("bootfs", bfs->bfs_minor, "bootfs", 112 if (bfs->bfs_kstat == NULL) { 113 id_free(bootfs_idspace, bfs 159 bootfs_t *bfs = vfsp->vfs_data; local 190 bootfs_t *bfs; local 202 const bootfs_t *bfs = (bootfs_t *)vfsp; local [all...] |
H A D | bootfs_construct.c | 110 bootfs_node_init(bootfs_t *bfs, bootfs_node_t *bnp, const struct vattr *vap, argument 119 bnp->bvn_vnp->v_vfsp = bfs->bfs_vfsp; 139 bnp->bvn_attr.va_fsid = makedevice(bootfs_major, bfs->bfs_minor); 140 bnp->bvn_attr.va_nodeid = bfs->bfs_ninode; 142 bfs->bfs_ninode++; 143 list_insert_tail(&bfs->bfs_nodes, bnp); 147 bootfs_mkroot(bootfs_t *bfs) argument 152 bootfs_node_init(bfs, bnp, &bootfs_vattr_dir, "/", 1); 155 bfs->bfs_rootvn = bnp; 156 bfs 161 bootfs_mknode(bootfs_t *bfs, bootfs_node_t *parent, bootfs_node_t **outp, const char *name, size_t namelen, const vattr_t *vap, uintptr_t addr, uint64_t size) argument 217 bootfs_construct_entry(bootfs_t *bfs, uintptr_t addr, uint64_t size, const char *mname) argument 293 bootfs_construct(bootfs_t *bfs) argument 358 bootfs_destruct(bootfs_t *bfs) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 84 } bfs[2]; variable in typeref:struct:bf 113 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ 115 bfs[1].counter = BF_FREE; 117 return (&bfs[0].buf.tb_hdr); 130 bfs[current].counter = BF_FREE; /* free old one */ 133 b = &bfs[current]; /* look at new buffer */ 153 b = &bfs[nextone]; /* look at "next" buffer */ 197 bfs[current].counter = ct; /* set size of data to write */ 199 if (bfs[current].counter != BF_FREE) /* if not free */ 202 bfs[curren [all...] |
Completed in 206 milliseconds