Lines Matching defs:get_handles
920 struct bofi_get_handles get_handles;
1468 get_handles.namesize = get_handles_32.namesize;
1469 (void) strncpy(get_handles.name, get_handles_32.name,
1471 get_handles.instance = get_handles_32.instance;
1472 get_handles.count = get_handles_32.count;
1473 get_handles.buffer =
1478 if (ddi_copyin((void *)arg, &get_handles,
1479 sizeof (get_handles), mode) != 0)
1484 if (ddi_copyin((void *)arg, &get_handles,
1485 sizeof (get_handles), mode) != 0)
1491 if (get_handles.namesize > NAMESIZE)
1493 namep = kmem_zalloc(get_handles.namesize+1, KM_SLEEP);
1494 (void) strncpy(namep, get_handles.name, get_handles.namesize);
1495 req_count = get_handles.count;
1511 if (hp->instance != get_handles.instance)
1556 err = ddi_copyout(buffer, get_handles.buffer, req_count, mode);
1557 kmem_free(namep, get_handles.namesize+1);