Lines Matching defs:chan_name
208 char *chan_name;
219 if (uargs.chan_name.len > MAX_CHNAME_LEN)
222 chan_name = kmem_alloc(uargs.chan_name.len, KM_SLEEP);
224 if (copyin((void *)(uintptr_t)uargs.chan_name.name, chan_name,
225 uargs.chan_name.len) != 0) {
226 kmem_free(chan_name, uargs.chan_name.len);
230 if (!sysevent_isstrend(chan_name, uargs.chan_name.len)) {
231 kmem_free(chan_name, uargs.chan_name.len);
239 ctl->chp = evch_usrchanopen((const char *)chan_name,
242 kmem_free(chan_name, uargs.chan_name.len);