/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_serd.c | 215 sgp->sg_count--; 218 sgp->sg_name, (int)sgp->sg_count); 240 while (sgp->sg_count >= sgp->sg_n) 247 sgp->sg_count++; 250 sgp->sg_name, (int)sgp->sg_count, (long long unsigned)hrt); 258 if (sgp->sg_count >= sgp->sg_n && 278 return (sgp->sg_count == 0); 286 while (sgp->sg_count != 0) 299 if (sgp->sg_count == 0 || (sgp->sg_flags & FMD_SERD_FIRED))
|
H A D | fmd_serd.h | 48 uint_t sg_count; /* count of events in sg_list */ member in struct:fmd_serd_eng
|
/freebsd-13-stable/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.h | 91 int sg_count; member in struct:g_llvm_segment
|
H A D | g_linux_lvm.c | 1167 GRAB_INT("extent_count", v, tok, sg->sg_count); 1174 if (count != 1 || sg->sg_count == 0) 1177 sg->sg_end = sg->sg_start + sg->sg_count - 1; 1179 lv->lv_extentcount += sg->sg_count;
|
/freebsd-13-stable/sys/dev/mfi/ |
H A D | mfi_debug.c | 112 device_printf(dev, "cmd=%s target_id=%d sg_count=%d data_len=%d " 114 hdr->target_id, hdr->sg_count, hdr->data_len, io->lba_lo); 116 mfi_print_sgl(hdr, &io->sgl, hdr->sg_count); 190 mfi_print_sgl(hdr, &dcmd->sgl, hdr->sg_count); 249 for (i = 0; i < hdr->sg_count; i++) {
|
H A D | mfi.c | 859 if (cm->cm_data != NULL && hdr->sg_count) { 889 hdr_data[1] = 0; /* target_id, lun_id, cdb_len, sg_count */ 2386 hdr->sg_count = nsegs; 2414 hdr->sg_count = j; 2946 cm->cm_frame->header.sg_count = ioc->mfi_sge_count;
|
H A D | mfi_tbolt.c | 955 sge_count = mfi_cmd->cm_frame->header.sg_count;
|
H A D | mfireg.h | 515 uint8_t sg_count; member in struct:mfi_frame_header
|
/freebsd-13-stable/usr.sbin/camdd/ |
H A D | camdd.c | 190 int sg_count; member in struct:camdd_buf_data 730 data->segs[data->sg_count - 1].ds_addr; 736 data->sg_count = 0; 739 free(data->iovec[data->sg_count - 1].iov_base); 744 data->sg_count = 0; 819 data->sg_count = buf->src_count; 836 data->sg_count++; 839 data->segs = calloc(data->sg_count, sizeof(bus_dma_segment_t)); 843 data->sg_count); 849 data->iovec = calloc(data->sg_count, sizeo [all...] |
/freebsd-13-stable/sys/dev/usb/storage/ |
H A D | cfumass.c | 719 int actlen, sumlen, sg_count; local 744 sg_count = io->scsiio.kern_sg_entries; 749 sg_count = 1; 754 while (sumlen >= sglist->len && sg_count > 0) { 757 sg_count--; 759 KASSERT(sg_count > 0, ("Run out of S/G list entries"));
|
/freebsd-13-stable/sys/dev/amr/ |
H A D | amrreg.h | 468 u_int32_t sg_count; member in struct:amr_sgentry 474 u_int32_t sg_count; member in struct:amr_sg64entry
|
H A D | amr.c | 1579 sg64->sg_count = segs[i].ds_len; 1591 sg->sg_count = segs[i].ds_len; 2443 device_printf(sc->amr_dev, " %x/%d\n", sg->sg_addr, sg->sg_count);
|
/freebsd-13-stable/sys/dev/aic7xxx/ |
H A D | aic79xx_inline.h | 249 scb->sg_count++; 397 if (scb->sg_count == 0) 403 /*len*/ahd_sg_size(ahd) * scb->sg_count, op); 792 if (scb->sg_count != 0)
|
H A D | aic7xxx_inline.h | 210 if (scb->sg_count == 0) 216 /*len*/sizeof(struct ahc_dma_seg) * scb->sg_count, op);
|
H A D | aic7xxx.c | 578 scb->sg_count = 1; 843 aic_get_transfer_length(scb), scb->sg_count); 844 if (scb->sg_count > 0) { 845 for (i = 0; i < scb->sg_count; i++) { 1554 if (scb->sg_count > 0) { 1555 for (i = 0; i < scb->sg_count; i++) { 7019 if (scb->sg_count > 0) { 7020 for (i = 0; i < scb->sg_count; i++) {
|
H A D | aic79xx.h | 641 u_int sg_count;/* How full ahd_dma_seg is */ member in struct:scb
|
H A D | aic7xxx.h | 601 u_int sg_count;/* How full ahc_dma_seg is */ member in struct:scb
|
H A D | aic79xx_osm.c | 962 scb->sg_count = 0;
|
H A D | aic7xxx_osm.c | 1034 scb->sg_count = nsegments;
|
H A D | aic79xx.c | 1373 aic_get_transfer_length(scb), scb->sg_count); 2757 if (scb->sg_count > 0) { 2762 for (i = 0; i < scb->sg_count; i++) { 2778 for (i = 0; i < scb->sg_count; i++) { 8283 scb->sg_count = 0;
|
/freebsd-13-stable/sys/dev/hyperv/storvsc/ |
H A D | hv_storvsc_drv_freebsd.c | 1617 * @param sg_count- page count of the SG list. 1745 * @param sg_count - the count of SG list's segment. 1752 unsigned int sg_count, 1762 if (sg_count < 2){ 1776 for (i = 1; i < sg_count; i++) { 1751 storvsc_check_bounce_buffer_sgl(bus_dma_segment_t *sgl, unsigned int sg_count, uint64_t *bits) argument
|
/freebsd-13-stable/sys/dev/mlx/ |
H A D | mlxreg.h | 204 u_int32_t sg_count; member in struct:mlx_sgentry
|
H A D | mlx.c | 2218 sg->sg_count = segs[i].ds_len;
|