/linux-2.4.37.9/drivers/scsi/ |
D | ide-scsi.c | 79 int b_count; /* Bytes transferred from current entry */ member 155 count = IDE_MIN(pc->sg->length - pc->b_count, bcount); in idescsi_input_buffers() 156 HWIF(drive)->atapi_input_bytes(drive, pc->sg->address + pc->b_count, count); in idescsi_input_buffers() 158 pc->b_count += count; in idescsi_input_buffers() 159 if (pc->b_count == pc->sg->length) { in idescsi_input_buffers() 161 pc->b_count = 0; in idescsi_input_buffers() 177 count = IDE_MIN(pc->sg->length - pc->b_count, bcount); in idescsi_output_buffers() 178 HWIF(drive)->atapi_output_bytes(drive, pc->sg->address + pc->b_count, count); in idescsi_output_buffers() 180 pc->b_count += count; in idescsi_output_buffers() 181 if (pc->b_count == pc->sg->length) { in idescsi_output_buffers() [all …]
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-tape.c | 749 int b_count; member 993 int b_count; member 1524 count = IDE_MIN(bh->b_size - atomic_read(&bh->b_count), bcount); in idetape_input_buffers() 1525 HWIF(drive)->atapi_input_bytes(drive, bh->b_data + atomic_read(&bh->b_count), count); in idetape_input_buffers() 1527 atomic_add(count, &bh->b_count); in idetape_input_buffers() 1528 if (atomic_read(&bh->b_count) == bh->b_size) { in idetape_input_buffers() 1531 atomic_set(&bh->b_count, 0); in idetape_input_buffers() 1550 count = IDE_MIN(pc->b_count, bcount); in idetape_output_buffers() 1554 pc->b_count -= count; in idetape_output_buffers() 1555 if (!pc->b_count) { in idetape_output_buffers() [all …]
|
D | ide-floppy.c | 154 int b_count; /* Missing/Available data on the current buffer */ member 604 if (pc->b_count == bh->b_size) { in idefloppy_input_buffers() 609 pc->b_count = 0; in idefloppy_input_buffers() 618 count = IDEFLOPPY_MIN(bh->b_size - pc->b_count, bcount); in idefloppy_input_buffers() 619 HWIF(drive)->atapi_input_bytes(drive, bh->b_data + pc->b_count, count); in idefloppy_input_buffers() 621 pc->b_count += count; in idefloppy_input_buffers() 632 if (!pc->b_count) { in idefloppy_output_buffers() 638 pc->b_count = bh->b_size; in idefloppy_output_buffers() 648 count = IDEFLOPPY_MIN(pc->b_count, bcount); in idefloppy_output_buffers() 652 pc->b_count -= count; in idefloppy_output_buffers() [all …]
|
/linux-2.4.37.9/fs/reiserfs/ |
D | prints.c | 142 kdevname (bh->b_dev), bh->b_size, bh->b_blocknr, atomic_read (&(bh->b_count)), bh->b_list, in sprintf_buffer_head() 386 bh, bh ? bh->b_blocknr : 0, bh ? atomic_read (&(bh->b_count)) : 0, in print_path() 619 (tbSh) ? atomic_read (&(tbSh->b_count)) : -1, in store_print_tb() 621 (tb->L[h]) ? atomic_read (&(tb->L[h]->b_count)) : -1, in store_print_tb() 623 (tb->R[h]) ? atomic_read (&(tb->R[h]->b_count)) : -1, in store_print_tb() 656 tb->FEB[i] ? atomic_read (&(tb->FEB[i]->b_count)) : 0, in store_print_tb()
|
D | buffer2.c | 28 while (atomic_read (&(bh->b_count)) > 1) { in wait_buffer_until_released()
|
D | fix_node.c | 810 if (atomic_read (&(p_s_new_bh->b_count)) > 1) { in get_empty_nodes() 818 if (atomic_read(&(p_s_new_bh->b_count)) > 2 || in get_empty_nodes() 825 RFALSE( (atomic_read (&(p_s_new_bh->b_count)) != 1 || in get_empty_nodes() 827 (atomic_read(&(p_s_new_bh->b_count)) > 2 || in get_empty_nodes() 2095 if (atomic_read (&(p_s_bh->b_count)) <= 0) { in tb_buffer_sanity_check()
|
D | stree.c | 416 if ( atomic_read (&(p_s_bh->b_count)) ) { in decrement_bcount() 616 bh->b_count --; in search_by_key_reada() 904 #define held_by_others(bh) (atomic_read(&(bh)->b_count) > 1)
|
D | journal.c | 1047 if (atomic_read(&(saved_bh->b_count)) < 0) { in flush_journal_list() 1195 if (atomic_read(&saved_bh->b_count) < 1) { in kupdate_one_transaction() 2544 if (atomic_read(&(bh->b_count)) < 0) { in remove_from_transaction() 2859 if (atomic_read(&(cn->bh->b_count)) < 0) { in journal_mark_freed() 2876 if (atomic_read(&(bh->b_count)) < 0) { in journal_mark_freed()
|
D | ibalance.c | 1030 RFALSE(( buffer_locked(S_new) || atomic_read (&(S_new->b_count)) != 1) && in balance_internal() 1031 (buffer_locked(S_new) || atomic_read(&(S_new->b_count)) > 2 || in balance_internal()
|
D | do_balan.c | 1066 RFALSE( (atomic_read (&(S_new[i]->b_count)) != 1) && in balance_leaf() 1067 (atomic_read(&(S_new[i]->b_count)) != 2 || in balance_leaf()
|
/linux-2.4.37.9/fs/ufs/ |
D | util.c | 141 if ( atomic_read(&ubh->bh[i]->b_count) > max ) in ubh_max_bcount() 142 max = atomic_read(&ubh->bh[i]->b_count); in ubh_max_bcount()
|
D | truncate.c | 66 (atomic_read(&bh->b_count)>1 || buffer_locked(bh))
|
/linux-2.4.37.9/fs/jbd/ |
D | commit.c | 58 if (atomic_read(&bh->b_count) != 1) in release_buffer_page() 251 atomic_inc(&bh->b_count); in journal_commit_transaction() 446 atomic_inc(&jh2bh(jh)->b_count); in journal_commit_transaction() 568 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in journal_commit_transaction()
|
D | checkpoint.c | 128 atomic_inc(&bh->b_count); in __cleanup_transaction() 224 atomic_inc(&bh->b_count); in __flush_buffer()
|
D | journal.c | 474 atomic_set(&new_bh->b_count, 1); in journal_write_metadata_buffer() 1798 (atomic_read(&bh->b_count) > 0) || in journal_add_journal_head() 1819 atomic_inc(&bh->b_count); in journal_add_journal_head() 1850 atomic_inc(&bh->b_count); in __journal_remove_journal_head()
|
D | transaction.c | 1060 atomic_inc(&bh->b_count); in journal_dirty_data() 1343 atomic_inc(&bh->b_count);
|
/linux-2.4.37.9/mm/ |
D | highmem.c | 429 bh->b_count = bh_orig->b_count; in create_bounce()
|
/linux-2.4.37.9/fs/qnx4/ |
D | fsync.c | 57 atomic_dec(&bh->b_count); in sync_block()
|
/linux-2.4.37.9/fs/udf/ |
D | balloc.c | 465 atomic_inc(&nbh->b_count); in udf_table_free_blocks() 514 atomic_inc(&nbh->b_count); in udf_table_free_blocks() 772 atomic_inc(&goal_bh->b_count); in udf_table_new_block() 795 atomic_inc(&goal_bh->b_count); in udf_table_new_block()
|
D | inode.c | 424 atomic_inc(&cbh->b_count); in inode_getblk() 430 atomic_inc(&nbh->b_count); in inode_getblk() 1776 atomic_inc(&bh->b_count); in udf_write_aext() 2047 atomic_inc(&bh->b_count); in udf_insert_aext() 2081 atomic_inc(&nbh->b_count); in udf_delete_aext() 2082 atomic_inc(&nbh->b_count); in udf_delete_aext() 2105 atomic_inc(&nbh->b_count); in udf_delete_aext()
|
/linux-2.4.37.9/fs/hfs/ |
D | bnode.c | 514 bn->buf->b_count, bn->ndNHeight, bnode_count); in hfs_bnode_find()
|
/linux-2.4.37.9/fs/ |
D | buffer.c | 759 if (!atomic_read(&bh->b_count)) { in invalidate_bdev() 1164 if (atomic_read(&buf->b_count)) { in __brelse() 1325 atomic_set(&bh->b_count, 0); in create_buffers() 2722 #define buffer_busy(bh) (atomic_read(&(bh)->b_count) | ((bh)->b_state & BUFFER_BUSY_BITS)) 2830 if (atomic_read(&bh->b_count)) in show_buffers()
|
/linux-2.4.37.9/include/linux/ |
D | fs.h | 254 atomic_t b_count; /* users using this block */ member 1159 atomic_inc(&(bh)->b_count); in get_bh() 1165 atomic_dec(&bh->b_count); in put_bh()
|
/linux-2.4.37.9/fs/affs/ |
D | file.c | 199 atomic_inc(&bh->b_count); in affs_get_extblock() 325 atomic_inc(&bh->b_count); in affs_get_extblock_slow()
|
/linux-2.4.37.9/drivers/net/ |
D | tg3.c | 6797 u32 i, offset, len, val, b_offset, b_count; in tg3_get_eeprom() local 6808 b_count = 4 - b_offset; in tg3_get_eeprom() 6809 if (b_count > len) { in tg3_get_eeprom() 6811 b_count = len; in tg3_get_eeprom() 6817 memcpy(data, ((char*)&val) + b_offset, b_count); in tg3_get_eeprom() 6818 len -= b_count; in tg3_get_eeprom() 6819 offset += b_count; in tg3_get_eeprom() 6820 eeprom->len += b_count; in tg3_get_eeprom() 6839 b_count = len & 3; in tg3_get_eeprom() 6840 b_offset = offset + len - b_count; in tg3_get_eeprom() [all …]
|