Lines Matching refs:bufsiz
2518 if (cdai->provsiz > cdai->bufsiz) in scsi_dev_advinfo()
2519 amt = cdai->bufsiz; in scsi_dev_advinfo()
2529 if (cdai->provsiz > cdai->bufsiz) in scsi_dev_advinfo()
2530 amt = cdai->bufsiz; in scsi_dev_advinfo()
2541 if (cdai->bufsiz == 0) in scsi_dev_advinfo()
2543 device->physpath = malloc(cdai->bufsiz, M_CAMXPT, M_NOWAIT); in scsi_dev_advinfo()
2548 device->physpath_len = cdai->bufsiz; in scsi_dev_advinfo()
2549 memcpy(device->physpath, cdai->buf, cdai->bufsiz); in scsi_dev_advinfo()
2555 if (cdai->provsiz > cdai->bufsiz) in scsi_dev_advinfo()
2556 amt = cdai->bufsiz; in scsi_dev_advinfo()
2567 device->rcap_len = cdai->bufsiz; in scsi_dev_advinfo()
2569 if (cdai->bufsiz == 0) in scsi_dev_advinfo()
2572 device->rcap_buf = malloc(cdai->bufsiz, M_CAMXPT, in scsi_dev_advinfo()
2579 memcpy(device->rcap_buf, cdai->buf, cdai->bufsiz); in scsi_dev_advinfo()
2585 if (cdai->provsiz > cdai->bufsiz) in scsi_dev_advinfo()
2586 amt = cdai->bufsiz; in scsi_dev_advinfo()
2601 if (cdai->provsiz > cdai->bufsiz) in scsi_dev_advinfo()
2602 amt = cdai->bufsiz; in scsi_dev_advinfo()