Searched defs:descrp (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c237 void **descrp, size_t *sizep);
1984 * Returns *descrp (which must be freed) and size.
1991 void **descrp, size_t *sizep)
1999 assert(descrp != NULL);
2000 *descrp = NULL;
2047 if ((*descrp = malloc(*sizep)) == NULL) {
2056 ioctl_data.buf = *descrp;
2074 if (*descrp != NULL) {
2075 free(*descrp);
2076 *descrp
1990 do_control_ioctl(const char *ap_id, sata_cfga_apctl_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c617 * Returns *descrp (which must be freed) and size.
624 void **descrp, size_t *sizep)
632 assert(descrp != NULL);
633 *descrp = NULL;
682 if ((*descrp = malloc(*sizep)) == NULL) {
690 ioctl_data.buf = *descrp;
709 if (*descrp != NULL) {
710 free(*descrp);
711 *descrp = NULL;
736 usb_dev_descr_t *descrp, cha
623 do_control_ioctl(const char *ap_id, uint_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
735 set_configuration(const char *ap_id, uint_t config, char *driver, usb_dev_descr_t *descrp, char **errstring) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c737 * descrp - Buffer containing data back from kernel
752 uint_t misc_arg, void **descrp, size_t *sizep)
811 if (local_size == 0 || (*descrp = malloc(*sizep)) == NULL) {
819 ioctl_data.buf = (caddr_t)*descrp;
824 if (*descrp != NULL) {
825 free(*descrp);
826 *descrp = NULL;
751 ib_do_control_ioctl(char *ap_id, uint_t sub_cmd1, uint_t sub_cmd2, uint_t misc_arg, void **descrp, size_t *sizep) argument
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c1304 user_desc_t *descrp; local
1320 descrp = &p->p_ldt[idx];
1321 baseaddr = (caddr_t)(uintptr_t)USEGD_GETBASE(descrp);
1332 descrp = &CPU->cpu_gdt[idx];
1333 baseaddr = (caddr_t)(uintptr_t)USEGD_GETBASE(descrp);
1352 user_desc_t *descrp; local
1369 descrp = &p->p_ldt[idx];
1370 baseaddr = (caddr_t)(uintptr_t)USEGD_GETBASE(descrp);
1382 descrp = &CPU->cpu_gdt[idx];
1383 baseaddr = (caddr_t)(uintptr_t)USEGD_GETBASE(descrp);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c76 int valid_sense_length, struct scsi_descr_template *descrp);
2005 int valid_sense_length, struct scsi_descr_template *descrp)
2012 descr_offset = (uint8_t *)descrp - (uint8_t *)sdsp;
2021 if (descrp->sdt_addl_length == 0) {
2029 (uint8_t *)NEXT_DESCR_PTR(descrp) - (uint8_t *)sdsp;
2004 scsi_validate_descr(struct scsi_descr_sense_hdr *sdsp, int valid_sense_length, struct scsi_descr_template *descrp) argument

Completed in 139 milliseconds