Searched refs:rec_size (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_db.c37 static int rec_size = roundup(sizeof (med_rec_t), DEV_BSIZE); variable
300 if ((rec_buf = Malloc(rec_size)) == NULL)
305 (void) memset(rec_buf, '\0', rec_size);
348 if (write(dbfd, rec_buf, rec_size) == -1)
390 if (write(dbfd, rec_buf, rec_size) == -1)
568 if (((int)(statb.st_size % (off_t)rec_size)) != 0)
575 if ((ret = read(dbfd, rec_buf, rec_size)) == -1)
578 if (ret != rec_size)
597 if (((off_t)((dbhp->med_dbh_nm * rec_size) + rec_size))
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c90 long actual_size, rec_size; local
96 rec_size = min(actual_size, len);
97 (void) memcpy(rec, mem, rec_size);
98 mem += rec_size;
99 len -= rec_size;
602 get_write_one_buf(char *buf, char *rec, int buf_size, int rec_size, argument
608 if (rec_size > buf_size)
611 len = rec_size;
614 while (rec_size < buf_size) {
615 rec = get_write_buffer(buf_size - rec_size,
[all...]
H A Dtlm_restore_writer.c1727 int toread, actual_size, rec_size; local
1746 rec_size = min(actual_size, toread);
1747 (void) memcpy(mem, rec, rec_size);
1748 mem += rec_size;
1749 toread -= rec_size;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_med.c980 int rec_size; local
1014 /* Initialize rec_size */
1015 rec_size = roundup(sizeof (med_rec_t), DEV_BSIZE);
1018 if ((rec_buf = malloc(rec_size)) == NULL) {
1026 if ((read(fd, rec_buf, rec_size)) != rec_size) {
1039 (void) memset(rec_buf, 0, rec_size);
1041 if (read(fd, rec_buf, rec_size) == -1) {
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c992 int ckd_hd, recs, rec_size, ckd_doz; local
1008 rec_size = (seed & 0xff);
1014 rec_bsz = rec_size * 512;
1042 rec_size, recs, throttle, ckd_hd, ckd_doz);
/illumos-gate/usr/src/uts/common/xen/dtrace/
H A Dxdt.c700 size_t rec_size; local
1734 rec_size = 4 + (rec->cycles_included ? 8 : 0) + (rec->extra_u32 * 4);
1735 return (rec_size);
/illumos-gate/usr/src/boot/sys/boot/i386/cdboot/
H A Dcdboot.S345 mov %eax,rec_size
364 cmp %edx,rec_size
400 ff.nextblock: subl $SECTOR_SIZE,rec_size # Adjust size
581 rec_size: .long 0x0 # File size label

Completed in 84 milliseconds