Searched refs:reclen (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 196 int reclen; in wlog_record_write() local 207 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0)); in wlog_record_write() 216 wbuf[reclen] = reclen / 256; in wlog_record_write() 217 wbuf[reclen + 1] = reclen % 256; in wlog_record_write() 218 reclen += 2; in wlog_record_write() 220 if (write(wfile->w_afd, wbuf, reclen) == -1) { in wlog_record_write() 223 wfile->w_file, wbuf, reclen, strerror(errno)); in wlog_record_write() 226 offset = lseek(wfile->w_afd, 0, SEEK_CUR) - reclen; in wlog_record_write() 241 if ((write(wfile->w_rfd, wbuf, reclen)) == -1) { in wlog_record_write() 244 wfile->w_file, wbuf, reclen, in wlog_record_write() [all …]
|
/third_party/openssl/test/ |
D | dtls_mtu_test.c | 101 size_t reclen; in mtu_test() local 105 reclen = BIO_read(sc_bio, buf, sizeof(buf)); in mtu_test() 107 TEST_info("record %zu for payload %zu", reclen, s); in mtu_test() 112 if (!TEST_false(s <= mtus[i] && reclen > (size_t)(500 + i))) { in mtu_test() 119 (unsigned long)reclen, 500 + i); in mtu_test() 122 if (!TEST_false(s > mtus[i] && reclen <= (size_t)(500 + i))) { in mtu_test() 130 (unsigned long)reclen, 500 + i); in mtu_test()
|
D | ssltestlib.c | 144 int rem, i, content, reclen, msglen, fragoff, fraglen, epoch; in dump_data() local 169 reclen = (rec[RECORD_LEN_HI] << 8) | rec[RECORD_LEN_LO]; in dump_data() 170 printf("\n** Record Length: %d\n", reclen); in dump_data() 180 || reclen < DTLS1_HM_HEADER_LENGTH) { in dump_data() 199 else if (reclen < fraglen) in dump_data() 205 if (rem < reclen) { in dump_data() 209 rec += reclen; in dump_data() 210 rem -= reclen; in dump_data()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 153 int reclen; member 365 if (memcmp(io->buf, verify_buf, io->io_oper->reclen)) { in check_finished_io() 370 for (i = 0; i < io->io_oper->reclen; i++) { in check_finished_io() 412 return ((double)oper->started_ios * (double)oper->reclen) / in oper_mb_trans() 606 if (rand_byte + oper->reclen > oper->end) { 607 rand_byte -= oper->reclen; 633 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, 635 oper->last_offset += oper->reclen; 638 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, 640 oper->last_offset += oper->reclen; [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate04.c | 42 static int recstart, reclen; variable 121 flocks.l_len = reclen; in dochild() 141 reclen = RECLEN; in verify_ftruncate()
|
/third_party/openssl/ssl/record/ |
D | ssl3_record.c | 940 size_t reclen[SSL_MAX_PIPELINES]; in tls1_enc() local 1031 reclen[ctr] = recs[ctr].length; in tls1_enc() 1071 reclen[ctr] += pad; in tls1_enc() 1076 padnum = bs - (reclen[ctr] % bs); in tls1_enc() 1087 for (loop = reclen[ctr]; loop < reclen[ctr] + padnum; loop++) in tls1_enc() 1089 reclen[ctr] += padnum; in tls1_enc() 1094 if (reclen[ctr] == 0 || reclen[ctr] % bs != 0) in tls1_enc() 1118 (int)n_recs, reclen) <= 0) { in tls1_enc() 1127 (unsigned int)reclen[0]); in tls1_enc()
|
/third_party/openssl/ssl/ |
D | d1_lib.c | 453 size_t fragoff, fraglen, msglen, reclen, align = 0; in DTLSv1_listen() local 576 reclen = PACKET_remaining(&msgpkt); in DTLSv1_listen() 852 if (!dtls_buffer_listen_record(s, reclen, seq, align)) in DTLSv1_listen()
|