Lines Matching defs:blk
87 devpath_blk_t *blk, *next;
91 SIMPLEQ_FOREACH_SAFE(blk, head, entry, next) {
92 if (blk->path.cp == NULL) {
97 else if (*blk->path.cp == '\0') {
99 next = SIMPLEQ_NEXT(blk, entry);
102 bp = stpcpy(bp, blk->path.cp);
106 free(blk->path.cp);
110 SIMPLEQ_FOREACH_SAFE(blk, head, entry, next) {
111 bp = stpcpy(bp, blk->dbg.cp);
112 free(blk->dbg.cp);
137 devpath_blk_t *blk;
151 blk = ecalloc(1, sizeof(*blk));
152 devpath_parse_core(u.dp, &blk->path, dmsg ? &blk->dbg : NULL);
153 plen += blk->path.sz;
154 dlen += blk->dbg.sz;
155 SIMPLEQ_INSERT_TAIL(&head, blk, entry);