/titanic_44/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_zvol.c | 188 uint64_t odiff, seglen; in sbd_zvol_alloc_read_bufs() local 203 seglen = MIN(len, dbp->db_size - odiff); in sbd_zvol_alloc_read_bufs() 204 sgl->seg_length = (uint32_t)seglen; in sbd_zvol_alloc_read_bufs() 205 offset += seglen; in sbd_zvol_alloc_read_bufs() 206 len -= seglen; in sbd_zvol_alloc_read_bufs() 289 uint64_t seglen; in sbd_zvol_alloc_write_bufs() local 292 seglen = P2NPHASE(offset, blksize); in sbd_zvol_alloc_write_bufs() 293 if (seglen == 0) in sbd_zvol_alloc_write_bufs() 294 seglen = blksize; in sbd_zvol_alloc_write_bufs() 295 seglen = MIN(seglen, len); in sbd_zvol_alloc_write_bufs() [all …]
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 995 int32_t seglen; in sctp_output() local 1068 seglen = ntohs(sdc->sdh_len); in sctp_output() 1070 chunklen = seglen - xtralen; in sctp_output() 1082 if ((extra = seglen & (SCTP_ALIGN - 1)) != 0) in sctp_output() 1088 if (sacklen > 0 && (seglen + extra <= lfp->sf_cwnd - in sctp_output() 1090 (seglen + sacklen + extra <= lfp->sf_pmss)) { in sctp_output() 1124 seglen += sacklen; in sctp_output() 1141 if (seglen + extra > pathmax) { in sctp_output() 1192 seglen += extra; in sctp_output() 1204 while (seglen < pathmax) { in sctp_output() [all …]
|
H A D | sctp_cookie.c | 936 int32_t seglen; in sctp_send_cookie_echo() local 1159 seglen = ntohs(sdc->sdh_len); in sctp_send_cookie_echo() 1160 if ((ceclen + seglen) > fp->sf_pmss || in sctp_send_cookie_echo() 1161 (seglen - sizeof (*sdc)) > cansend) { in sctp_send_cookie_echo() 1197 seglen -= sizeof (*sdc); in sctp_send_cookie_echo() 1198 SCTP_CHUNK_SENT(sctp, mp, sdc, fp, seglen, meta); in sctp_send_cookie_echo()
|
H A D | sctp_input.c | 1975 uint32_t seglen = sizeof (uint32_t); in sctp_check_abandoned_msg() local 1983 !sctp_add_ftsn_set(&sets, fp, meta, &nsets, &seglen)) { in sctp_check_abandoned_msg() 1987 nmp = sctp_make_ftsn_chunk(sctp, fp, sets, nsets, seglen); in sctp_check_abandoned_msg() 2452 uint32_t seglen; in sctp_check_abandoned_data() local 2471 sctp_make_ftsns(sctp, meta, mp, &nmp, fp, &seglen); in sctp_check_abandoned_data()
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 315 int seglen; /* The length of the next segment to be copied */ in _cf_complete_file() local 320 for(seglen=0; seglen < nleft; seglen++) { in _cf_complete_file() 321 int c = lptr[seglen]; in _cf_complete_file() 323 seglen++; in _cf_complete_file() 333 strncmp(lptr + seglen, FS_DIR_SEP, FS_DIR_SEP_LEN)==0) { in _cf_complete_file() 334 word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN; in _cf_complete_file() 343 if(_pn_append_to_path(cf->path, lptr, seglen, escaped) == NULL) { in _cf_complete_file() 348 lptr += seglen; in _cf_complete_file() 349 nleft -= seglen; in _cf_complete_file()
|
/titanic_44/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 3017 int seglen; in myri10ge_copydata() local 3023 seglen = MBLKL(bp); in myri10ge_copydata() 3024 if (off < seglen) in myri10ge_copydata() 3026 off -= seglen; in myri10ge_copydata() 3030 seglen = MBLKL(bp); in myri10ge_copydata() 3031 count = min(seglen - off, len); in myri10ge_copydata() 3045 int eth_hdr_len, seglen; in myri10ge_ether_parse_header() local 3047 seglen = MBLKL(mp); in myri10ge_ether_parse_header() 3049 if (seglen < eth_hdr_len) { in myri10ge_ether_parse_header() 3066 int seglen, sum_off; in myri10ge_lso_parse_header() local [all …]
|
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device-fp.c | 1312 u32 *seglen, lro_t **p_lro, in xge_hal_lro_process_rx() argument 1337 (void) __hal_append_lro(ip,(tcplro_t **) tcp, seglen, in xge_hal_lro_process_rx() 1383 xge_hal_accumulate_large_rx(u8 *buffer, tcplro_t **tcp, u32 *seglen, in xge_hal_accumulate_large_rx() argument 1388 return xge_hal_lro_process_rx(ring, buffer, NULL, tcp, seglen, p_lro, in xge_hal_accumulate_large_rx()
|
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 500 size_t resid, skiplen, dataoff, segoff, seglen; in scsa1394_sbp2_seg2pt_symbios() local 526 seglen = min(seg->ss_len, resid) - segoff; in scsa1394_sbp2_seg2pt_symbios() 529 pt->pt_seg_len = SBP2_SWAP16(seglen); in scsa1394_sbp2_seg2pt_symbios() 534 resid -= seglen; in scsa1394_sbp2_seg2pt_symbios()
|
/titanic_44/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-device.h | 979 u32 *seglen, lro_t **p_lro, 984 xge_hal_accumulate_large_rx(u8 *buffer, tcplro_t **tcp, u32 *seglen,
|
/titanic_44/usr/src/uts/common/io/ |
H A D | lofi.c | 1067 ulong_t seglen; in lofi_strategy_task() local 1223 seglen = lsp->ls_uncomp_last_seg_sz; in lofi_strategy_task() 1225 seglen = lsp->ls_uncomp_seg_sz; in lofi_strategy_task() 1265 &seglen, li->l_level) != 0) { in lofi_strategy_task()
|