Home
last modified time | relevance | path

Searched refs:mode_buffer_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/cam/scsi/
H A Dscsi_ch.c550 int mode_buffer_len; in chstart() local
557 mode_buffer_len = sizeof(struct scsi_mode_header_6) + in chstart()
561 mode_buffer = malloc(mode_buffer_len, M_SCSICH, M_NOWAIT); in chstart()
567 bzero(mode_buffer, mode_buffer_len); in chstart()
581 /* param_len */ mode_buffer_len, in chstart()
1530 int mode_buffer_len; in chgetparams() local
1547 mode_buffer_len = sizeof(struct scsi_mode_sense_data); in chgetparams()
1549 mode_buffer = malloc(mode_buffer_len, M_SCSICH, M_NOWAIT); in chgetparams()
1557 bzero(mode_buffer, mode_buffer_len); in chgetparams()
1575 /* param_len */ mode_buffer_len, in chgetparams()
[all …]
H A Dscsi_sa.c3887 int mode_buffer_len; in sagetparams() local
3901 mode_buffer_len = sizeof(*mode_hdr) + sizeof(*mode_blk); in sagetparams()
3908 mode_buffer_len += sizeof (sa_comp_t); in sagetparams()
3912 mode_buffer = malloc(mode_buffer_len, M_SCSISA, M_NOWAIT | M_ZERO); in sagetparams()
3923 cpage : SMS_VENDOR_SPECIFIC_PAGE, mode_buffer, mode_buffer_len, in sagetparams()
3968 mode_buffer_len -= sizeof (sa_comp_t); in sagetparams()
3985 mode_buffer, mode_buffer_len, SSD_FULL_SIZE, in sagetparams()
4190 for (idx = 0; idx < mode_buffer_len; idx++) in sagetparams()
4402 int mode_buffer_len; in sasetparams() local
4433 mode_buffer_len = sizeof(*mode_hdr) + sizeof(*mode_blk); in sasetparams()
[all …]