Home
last modified time | relevance | path

Searched refs:bfs (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vfsops.c68 bootfs_t *bfs; in bootfs_mount() local
97 if (bfs == NULL) in bootfs_mount()
103 kmem_free(bfs, sizeof (bfs)); in bootfs_mount()
108 bfs->bfs_kstat = kstat_create_zone("bootfs", bfs->bfs_minor, "bootfs", in bootfs_mount()
115 kmem_free(bfs, sizeof (bfs)); in bootfs_mount()
118 bfs->bfs_kstat->ks_data = &bfs->bfs_stat; in bootfs_mount()
121 bfs->bfs_vfsp = vfsp; in bootfs_mount()
148 bootfs_construct(bfs); in bootfs_mount()
179 bootfs_destruct(bfs); in bootfs_unmount()
181 kmem_free(bfs->bfs_mntpath, strlen(bfs->bfs_mntpath) + 1); in bootfs_unmount()
[all …]
H A Dbootfs_construct.c119 bnp->bvn_vnp->v_vfsp = bfs->bfs_vfsp; 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
155 bfs->bfs_rootvn = bnp; in bootfs_mkroot()
156 bfs->bfs_stat.bfss_ndirs.value.ui32++; in bootfs_mkroot()
195 bfs->bfs_stat.bfss_ndirs.value.ui32++; in bootfs_mknode()
226 bootfs_node_t *bnp = bfs->bfs_rootvn; in bootfs_construct_entry()
293 bootfs_construct(bootfs_t *bfs) in bootfs_construct() argument
301 bootfs_mkroot(bfs); in bootfs_construct()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dbitfield-init-zero.c27 struct bfs { struct
34 struct bfs bfsu_init(unsigned int a) in bfsu_init() argument
36 struct bfs bf = { .f = a, }; in bfsu_init()
40 struct bfs bfss_init(int a) in bfss_init()
42 struct bfs bf = { .f = a, }; in bfss_init()
48 struct bfs bf = { }; in bfs_get0()
H A Dbitfield-size.c12 struct bfs { struct
17 signed int get__bfs_a(struct bfs bf) { return bf.a; } in get__bfs_a() argument
18 signed int get__bfs_b(struct bfs bf) { return bf.b; } in get__bfs_b()
19 signed int get_pbfs_a(struct bfs *bf) { return bf->a; } in get_pbfs_a()
20 signed int get_pbfs_b(struct bfs *bf) { return bf->b; } in get_pbfs_b()
H A Dand-or-bfs.c6 int bfs(struct s s, int a) in bfs() function
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c82 } bfs[2]; variable
111 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */ in rw_init()
113 bfs[1].counter = BF_FREE; in rw_init()
115 return (&bfs[0].buf.tb_hdr); in rw_init()
128 bfs[current].counter = BF_FREE; /* free old one */ in readit()
131 b = &bfs[current]; /* look at new buffer */ in readit()
151 b = &bfs[nextone]; /* look at "next" buffer */ in read_ahead()
197 if (bfs[current].counter != BF_FREE) /* if not free */ in writeit()
200 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */ in writeit()
201 *dpp = &bfs[current].buf.tb_hdr; in writeit()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/linear/
H A Dcompound-literal01.c1 struct bfs { struct
8 struct bfs bf = { .a = 1, .b = 2 }; in foo() argument
9 return (struct bfs[]){bf}[0].b; in foo()
H A Dcompound-literal02.c1 struct bfs { struct
8 struct bfs bf = { .a = 1, .b = 4 }; in bar() argument
9 return (struct bfs[]){bf, { .a = 3, .b = 6}}[1].b; in bar()
H A Dcompound-literal00.c1 struct bfs { struct
8 return (struct bfs){ .a = 1, .b = 2}.b; in foo() argument
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c240 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()