/src/libexec/lfs_cleanerd/ |
coalesce.c | 160 BLOCK_INFO *bip = NULL, *tbip; local in function:clean_inode 223 bip = (BLOCK_INFO *)malloc(sizeof(BLOCK_INFO) * nb); 224 if (bip == NULL) { 232 memset(bip + i, 0, sizeof(BLOCK_INFO)); 233 bip[i].bi_inode = ino; 234 bip[i].bi_lbn = i; 235 bip[i].bi_version = lfs_dino_getgen(fs, dip); 250 lim.blkiov = bip; 262 bip[i].bi_size, (uintmax_t)bip[i].bi_inode [all...] |
lfs_cleanerd.c | 415 check_test_pattern(BLOCK_INFO *bip) 418 unsigned char *cp = bip->bi_bp; 421 if (bip->bi_lbn == LFS_UNUSED_LBN) { 422 assert(((struct ulfs1_dinode *)bip->bi_bp)->di_inumber == 423 bip->bi_inode); 427 if (bip->bi_inode > 3) 430 for (j = 0; j < bip->bi_size; j++) { 434 assert(j < bip->bi_size); 440 * bip. Return the address of the next partial segment to read. 447 BLOCK_INFO *bip, *nbip local in function:parse_pseg 867 BLOCK_INFO *bip = *bipp; local in function:toss_old_blocks 926 BLOCK_INFO *bip; local in function:invalidate_segment 1082 static BLOCK_INFO *bip; local in function:clean_fs 1617 BLOCK_INFO *bip = NULL; local in function:lfs_cleaner_main [all...] |
/src/sys/arch/alpha/stand/standtest/ |
test.c | 77 main(unsigned long pfn, unsigned long ptb, unsigned long bim, unsigned long bip, unsigned long biv) 81 /* bip: bootinfo pointer */ 110 arg_bip = bip; 440 u_long biv, bip; local in function:show_bootinfo 449 bip = arg_bip; 452 biv = *(u_long *)bip; 453 bip += 8; 457 printf("bootinfo pointer: %p\n", (void *)bip); 465 v1p = (const struct bootinfo_v1 *)bip;
|
/src/sys/arch/i386/i386/ |
multiboot.c | 245 struct bootinfo *bip = (struct bootinfo *)&bootinfo; local in function:bootinfo_add 251 data = (vaddr_t)&bip->bi_data; 252 for (i = 0; i < bip->bi_nentries; i++) { 258 if (data + len < (vaddr_t)&bip->bi_data + sizeof(bip->bi_data)) { 260 bip->bi_nentries++;
|
/src/sys/arch/arc/arc/ |
machdep.c | 171 mach_init(int argc, char *argv[], u_int bim, void *bip) 187 if (bim == BOOTINFO_MAGIC && bip != NULL) { 190 memcpy(bi_buf, bip, BOOTINFO_SIZE); 500 char *bip; local in function:lookup_bootinfo 506 bip = bootinfo; 508 bt = (struct btinfo_common *)bip; 511 bip += bt->next; 514 (size_t)bip < (size_t)bootinfo + BOOTINFO_SIZE);
|
/src/sys/arch/cobalt/cobalt/ |
machdep.c | 153 char *bip = (char *)(intptr_t)(int32_t)bip32; local in function:mach_init 205 bootinfo = bip; 209 bim = (uintptr_t)bip; 269 printf("%s: magic=%#x bip=%p\n", bi_msg, bim, bip);
|
/src/sys/arch/sgimips/sgimips/ |
machdep.c | 239 void *bip = (void *)(intptr_t)bip32; local in function:mach_init 298 if (magic == BOOTINFO_MAGIC && bip != NULL) { 302 memcpy(bi_buf, bip, BOOTINFO_SIZE); 891 uint8_t *bip; local in function:lookup_bootinfo 897 bip = bootinfo; 899 bt = (struct btinfo_common *)bip; 902 bip += bt->next; 905 (size_t)bip < (size_t)bootinfo + BOOTINFO_SIZE);
|
/src/lib/libc/rpc/ |
clnt_bcast.c | 139 struct broadif *bip; local in function:__rpc_getbroadifs 167 bip = malloc(sizeof(*bip)); 168 if (bip == NULL) 170 bip->index = if_nametoindex(ifap->ifa_name); 177 memcpy(&bip->broadaddr, ifap->ifa_broadaddr, 179 gbsin = (struct sockaddr_in *)(void *)&bip->broadaddr; 186 sin6 = (struct sockaddr_in6 *)(void *)&bip->broadaddr; 193 sin6->sin6_scope_id = bip->index; 197 free(bip); 212 struct broadif *bip, *next; local in function:__rpc_freebroadifs 452 struct broadif *bip; local in function:rpc_broadcast_exp [all...] |
/src/sys/arch/x86/x86/ |
multiboot2.c | 352 struct bootinfo *bip = (struct bootinfo *)&bootinfo; local in function:bootinfo_init 355 data = (vaddr_t)&bip->bi_data; 356 for (i = 0; i < bip->bi_nentries; i++) { 362 if (data + len < (vaddr_t)&bip->bi_data + sizeof(bip->bi_data)) { 367 bip->bi_nentries++; 377 struct btinfo_common *bip = bootinfo_init(type, len); local in function:bootinfo_add 378 if (bip == NULL) 382 memcpy(&bip[1], &item[1], len - sizeof(*item));
|
/src/sys/compat/linux/arch/i386/ |
linux_machdep.c | 786 struct biosdisk_info *bip; local in function:linux_machdepioctl 916 bip = fd2biosinfo(curproc, fp); 925 if (bip != NULL && bip->bi_head != 0 && bip->bi_sec != 0 926 && bip->bi_cyl != 0) { 927 heads = bip->bi_head; 928 sectors = bip->bi_sec; 929 cylinders = bip->bi_cyl;
|
/src/usr.sbin/sysinst/arch/i386/ |
md.c | 717 struct biosdisk_info *bip; local in function:get_bios_info 754 bip = &disklist->dl_biosdisks[nip->ni_biosmatches[0]]; 758 bip->bi_dev, bip->bi_cyl, bip->bi_head, bip->bi_sec, 759 (unsigned)bip->bi_lbasecs, 760 (unsigned)(bip->bi_lbasecs / (1000000000 / 512))); 762 biosdisk = bip; 768 bip = &disklist->dl_biosdisks [all...] |
/src/sbin/fdisk/ |
fdisk.c | 1267 struct biosdisk_info *bip; local in function:get_bios_geometry 1298 bip = &dl->dl_biosdisks[nip->ni_biosmatches[0]]; 1299 dos_cylinders = bip->bi_cyl; 1300 dos_heads = bip->bi_head; 1301 dos_sectors = bip->bi_sec; 1302 if (bip->bi_lbasecs) 1303 dos_disksectors = bip->bi_lbasecs; 2436 struct biosdisk_info *bip; local in function:change_bios_geometry 2442 bip = &dl->dl_biosdisks[i]; 2445 i, bip->bi_cyl, bip->bi_head, bip->bi_sec [all...] |