Home
last modified time | relevance | path

Searched refs:descp (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c303 const unsigned char * descp; in sg_scsi_sense_desc_find() local
310 descp = &sbp[8]; in sg_scsi_sense_desc_find()
312 descp += desc_len; in sg_scsi_sense_desc_find()
313 add_d_len = (k < (add_sb_len - 1)) ? descp[1]: -1; in sg_scsi_sense_desc_find()
315 if (descp[0] == desc_type) in sg_scsi_sense_desc_find()
316 return descp; in sg_scsi_sense_desc_find()
1127 decode_sks(const char * lip, const unsigned char * descp, int add_d_len, in decode_sks() argument
1144 (descp[4] & 0x40) ? "Command" : in decode_sks()
1146 sg_get_unaligned_be16(descp + 5)); in decode_sks()
1147 if (descp[4] & 0x08) { in decode_sks()
[all …]
/third_party/FreeBSD/sys/dev/usb/
Dusb_hid.c788 void **descp, uint16_t *sizep, in usbd_req_get_hid_desc() argument
811 *descp = zalloc(*sizep); in usbd_req_get_hid_desc()
816 if (*descp == NULL) { in usbd_req_get_hid_desc()
820 (udev, mtx, *descp, *sizep, iface_index); in usbd_req_get_hid_desc()
823 free(*descp); in usbd_req_get_hid_desc()
824 *descp = NULL; in usbd_req_get_hid_desc()
Dusbhid.h265 void **descp, uint16_t *sizep, struct malloc_type *mem,
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c3664 const char *descp; in show_scsi_modes() local
3790 descp = NULL; in show_scsi_modes()
3792 descp = in show_scsi_modes()
3794 if (NULL == descp) in show_scsi_modes()
3809 (descp ? descp : ebuff), ucp[1], in show_scsi_modes()
3820 (descp ? descp : ebuff), in show_scsi_modes()