Searched refs:block_array (Results 1 – 2 of 2) sorted by relevance
/original-bsd/libexec/lfs_cleanerd/ |
H A D | cleanerd.c | 396 BLOCK_INFO *block_array, *bp; local 425 if (lfs_segmapv(fsp, id, seg_buf, &block_array, &num_blocks) < 0) { 438 if (lfs_bmapv(&fsp->fi_statfsp->f_fsid, block_array, num_blocks) < 0) { 447 toss(block_array, &num_blocks, sizeof(BLOCK_INFO), bi_tossold, &t); 450 if (num_blocks && bi_tossold(&t, block_array + num_blocks - 1, NULL)) 463 for (_bip = block_array, i=0; i < num_blocks; ++_bip, ++i) { 481 for (bp = block_array; num_blocks > 0; bp += clean_blocks) { 492 free(block_array);
|
/original-bsd/sbin/newlfs/ |
H A D | lfs.c | 169 u_long *block_array; /* Array of logical block nos to put in sum */ local 492 if (!(block_array = malloc(block_array_size *sizeof(int)))) 497 block_array[i] = i; 512 memmove(sump, block_array, sizeof(u_long) * file_info.fi_nblocks);
|