| /freebsd-9-stable/sys/geom/part/ |
| D | g_part_bsd.c | 52 #define BOOT2_SIZE (BBSIZE - BOOT2_OFF) 111 .gps_bootcodesz = BBSIZE, 184 if (gpp->gpp_codesize != BOOT1_SIZE && gpp->gpp_codesize != BBSIZE) in g_part_bsd_bootcode() 190 if (gpp->gpp_codesize == BBSIZE) in g_part_bsd_bootcode() 210 if (BBSIZE % pp->sectorsize) in g_part_bsd_create() 218 table->bbarea = g_malloc(BBSIZE, M_WAITOK | M_ZERO); in g_part_bsd_create() 231 le32enc(ptr + 140, BBSIZE); /* d_bbsize */ in g_part_bsd_create() 341 pp->mediasize < BBSIZE) in g_part_bsd_probe() 343 if (BBSIZE % pp->sectorsize) in g_part_bsd_probe() 374 table->bbarea = g_read_data(cp, 0, BBSIZE, &error); in g_part_bsd_read() [all …]
|
| /freebsd-9-stable/lib/libdisk/ |
| D | write_amd64_disk.c | 35 u_char buf[BBSIZE]; in Write_FreeBSD() 37 for (i = 0; i < BBSIZE/512; i++) { in Write_FreeBSD() 47 memcpy(buf + 512, new->boot2, BBSIZE - 512); in Write_FreeBSD() 52 for (i = 0; i < BBSIZE / 512; i++) in Write_FreeBSD()
|
| D | write_i386_disk.c | 35 u_char buf[BBSIZE]; in Write_FreeBSD() 37 for (i = 0; i < BBSIZE/512; i++) { in Write_FreeBSD() 47 memcpy(buf + 512, new->boot2, BBSIZE - 512); in Write_FreeBSD() 52 for (i = 0; i < BBSIZE / 512; i++) in Write_FreeBSD()
|
| D | write_pc98_disk.c | 37 u_char buf[BBSIZE]; in Write_FreeBSD() 39 for (i = 0; i < BBSIZE / 512; i++) { in Write_FreeBSD() 49 memcpy(buf + 512, new->boot2, BBSIZE - 512); in Write_FreeBSD() 54 for (i = 0; i < BBSIZE / 512; i++) in Write_FreeBSD()
|
| D | write_disk.c | 47 dl->d_bbsize = BBSIZE; in Fill_Disklabel()
|
| /freebsd-9-stable/sbin/bsdlabel/ |
| D | bsdlabel.c | 106 static u_char bootarea[BBSIZE]; 131 static int bbsize = BBSIZE; 314 dp->p_offset = BBSIZE / secsize; in fixlabel() 348 if (st.st_size <= BBSIZE) { in readboot() 450 gctl_ro_param(grq, "bootcode", BBSIZE, bootarea); in writelabel() 511 nbytes = read(f, bootarea, BBSIZE); in readlabel() 514 if (nbytes != BBSIZE) in readlabel() 515 errx(4, "couldn't read %d bytes from %s", BBSIZE, specname); in readlabel() 781 lp->d_bbsize = BBSIZE; /* XXX */ in getasciilabel() 1279 base_offset = BBSIZE / secsize; in checklabel() [all …]
|
| /freebsd-9-stable/sbin/newfs/ |
| D | newfs.c | 116 static u_char bootarea[BBSIZE]; 442 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE) in getdisklabel() 476 if (write(disk.d_fd, bootarea, BBSIZE) != BBSIZE) in rewritelabel()
|
| /freebsd-9-stable/sys/geom/ |
| D | geom_bsd.c | 276 error = g_write_data(cp, 0, bootcode, BBSIZE); in g_bsd_writelabel() 356 buf = g_malloc(BBSIZE, M_WAITOK); in g_bsd_ioctl() 358 error = copyin(p, buf, BBSIZE); in g_bsd_ioctl() 373 error = g_write_data(cp, 0, buf, BBSIZE); in g_bsd_ioctl() 676 label = gctl_get_paraml(req, "bootcode", BBSIZE); in g_bsd_config()
|
| /freebsd-9-stable/sys/gnu/fs/xfs/ |
| D | xfs_fs.h | 519 #define BBSIZE (1<<BBSHIFT) macro 520 #define BBMASK (BBSIZE-1) 521 #define BTOBB(bytes) (((__u64)(bytes) + BBSIZE - 1) >> BBSHIFT)
|
| D | xfs_log.c | 1066 log->l_iclog_hsize = BBSIZE; in xlog_get_iclog_buffer_size() 1086 log->l_iclog_hsize = BBSIZE; in xlog_get_iclog_buffer_size() 1491 for (i=0; i<split; i += BBSIZE) { in xlog_sync() 1495 dptr += BBSIZE; in xlog_sync() 3343 unit_bytes += 2*BBSIZE; in xlog_ticket_get() 3480 for (ptr += BBSIZE; ptr < ((xfs_caddr_t)&(iclog->ic_header))+count; in xlog_verify_iclog() 3481 ptr += BBSIZE) { in xlog_verify_iclog() 3502 if (idx >= (XLOG_HEADER_CYCLE_SIZE / BBSIZE)) { in xlog_verify_iclog() 3503 j = idx / (XLOG_HEADER_CYCLE_SIZE / BBSIZE); in xlog_verify_iclog() 3504 k = idx % (XLOG_HEADER_CYCLE_SIZE / BBSIZE); in xlog_verify_iclog() [all …]
|
| D | xfs_log_recover.c | 382 buf += BBSIZE; in xlog_find_verify_cycle() 457 offset -= BBSIZE; in xlog_find_verify_log_record() 1092 memset(buf, 0, BBSIZE); in xlog_add_record() 1165 offset += BBSIZE; in xlog_write_log_records() 3380 i < (XLOG_HEADER_CYCLE_SIZE / BBSIZE); i++) { in xlog_pack_data() 3383 dp += BBSIZE; in xlog_pack_data() 3389 j = i / (XLOG_HEADER_CYCLE_SIZE / BBSIZE); in xlog_pack_data() 3390 k = i % (XLOG_HEADER_CYCLE_SIZE / BBSIZE); in xlog_pack_data() 3393 dp += BBSIZE; in xlog_pack_data() 3448 i < (XLOG_HEADER_CYCLE_SIZE / BBSIZE); i++) { in xlog_unpack_data() [all …]
|
| D | xfs_log_priv.h | 340 uint h_cycle_data[XLOG_HEADER_CYCLE_SIZE / BBSIZE]; 349 uint xh_cycle_data[XLOG_HEADER_CYCLE_SIZE / BBSIZE]; /* : 256 */
|
| D | xfs_fsops.c | 102 mp->m_sb.sb_logsectsize : BBSIZE; in xfs_fs_geometry()
|
| D | xfs_vfsops.c | 532 unsigned int log_sector_size = BBSIZE; in xfs_mount()
|
| D | xfsidbg.c | 6490 log->l_grant_reserve_bytes % BBSIZE, in xfsidbg_xlog() 6492 log->l_grant_write_bytes % BBSIZE); in xfsidbg_xlog()
|
| /freebsd-9-stable/sys/sys/ |
| D | disklabel.h | 66 #define BBSIZE 8192 macro
|
| /freebsd-9-stable/contrib/gnu-sort/src/ |
| D | system.h | 287 #if !defined DEV_BSIZE && defined BBSIZE /* SGI */ 288 # define DEV_BSIZE BBSIZE
|
| /freebsd-9-stable/lib/libc/gen/ |
| D | disklabel.c | 119 getnumdflt(dp->d_bbsize, "bs", BBSIZE); in getdiskbyname()
|
| /freebsd-9-stable/usr.sbin/makefs/ffs/ |
| D | mkfs.c | 65 #ifndef BBSIZE 66 #define BBSIZE 8192 /* size of boot area, with label */ macro 140 bbsize = BBSIZE; in ffs_mkfs()
|
| /freebsd-9-stable/sys/fs/ntfs/ |
| D | ntfs.h | 37 #define BBSIZE 1024 macro
|
| D | ntfs_vfsops.c | 309 error = bread(devvp, BBLOCK, BBSIZE, NOCRED, &bp); 320 if (ntfs_cntob(1) != BBSIZE)
|