Searched refs:reclen (Results 1 – 6 of 6) sorted by relevance
/external/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 …]
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 151 int reclen; member 360 if (memcmp(io->buf, verify_buf, io->io_oper->reclen)) { in check_finished_io() 364 for (i = 0 ; i < io->io_oper->reclen ; i++) { in check_finished_io() 402 return ((double)oper->started_ios * (double)oper->reclen) / in oper_mb_trans() 589 if (rand_byte + oper->reclen > oper->end) { 590 rand_byte -= oper->reclen; 616 io_prep_pwrite(&io->iocb,oper->fd, io->buf, oper->reclen, 618 oper->last_offset += oper->reclen; 621 io_prep_pread(&io->iocb,oper->fd, io->buf, oper->reclen, 623 oper->last_offset += oper->reclen; [all …]
|
/external/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 …]
|
/external/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()
|
/external/python/cpython2/Modules/ |
D | bsddbmodule.c | 153 size_t reclen, u_char bval, char *bfname) in newdbrnobject() argument 166 info.reclen = reclen; in newdbrnobject() 792 size_t reclen = 0; in bsdrnopen() local 799 &reclen, &bval, &bfname)) in bsdrnopen() 836 psize, lorder, reclen, bval[0], bfname); in bsdrnopen()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/ |
D | DumpArchiveInputStream.java | 351 int reclen = 0; in readDirectoryEntry() local 354 i += reclen) { in readDirectoryEntry() 356 reclen = DumpArchiveUtil.convert16(blockBuffer, i + 4); in readDirectoryEntry()
|