Searched refs:b_count (Results 1 - 25 of 33) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dbuffer_head.h75 atomic_t b_count; /* users using this buffer_head */ member in struct:buffer_head
239 atomic_inc(&bh->b_count);
245 atomic_dec(&bh->b_count);
301 if (buffer_locked(bh) || atomic_read(&bh->b_count) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-tape.c337 atomic_t b_count; member in struct:idetape_bh
354 int b_count; member in struct:idetape_packet_command_s
586 int b_count; member in struct:ide_tape_obj
1010 count = min((unsigned int)(bh->b_size - atomic_read(&bh->b_count)), bcount);
1011 HWIF(drive)->atapi_input_bytes(drive, bh->b_data + atomic_read(&bh->b_count), count);
1013 atomic_add(count, &bh->b_count);
1014 if (atomic_read(&bh->b_count) == bh->b_size) {
1017 atomic_set(&bh->b_count, 0);
1036 count = min((unsigned int)pc->b_count, (unsigned int)bcount);
1040 pc->b_count
[all...]
H A Dide-floppy.c85 int b_count; /* Missing/Available data on the current buffer */ member in struct:idefloppy_packet_command_s
529 pc->b_count += count;
563 pc->b_count += count;
1158 pc->b_count = cmd == READ ? 0 : rq->bio->bi_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dide-scsi.c73 int b_count; /* Bytes transferred from current entry */ member in struct:idescsi_pc_s
183 count = min(pc->sg->length - pc->b_count, bcount);
191 buf + pc->b_count, count);
197 buf + pc->b_count, count);
199 bcount -= count; pc->b_count += count;
200 if (pc->b_count == pc->sg->length) {
202 pc->b_count = 0;
218 count = min(pc->sg->length - pc->b_count, bcount);
226 buf + pc->b_count, count);
232 buf + pc->b_count, coun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/
H A Dsvclock.c65 kref_get(&block->b_count);
121 kref_get(&block->b_count);
155 kref_get(&block->b_count);
195 kref_init(&block->b_count);
252 struct nlm_block *block = container_of(kref, struct nlm_block, b_count);
272 kref_put(&block->b_count, nlmsvc_free_block);
294 kref_get(&block->b_count);
713 kref_get(&block->b_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dprints.c147 (unsigned long long)bh->b_blocknr, atomic_read(&(bh->b_count)),
617 (tbSh) ? atomic_read(&(tbSh->b_count)) : -1,
619 (tb->L[h]) ? atomic_read(&(tb->L[h]->b_count)) : -1,
621 (tb->R[h]) ? atomic_read(&(tb->R[h]->b_count)) : -1,
656 /* print FEB list (list of buffers in form (bh (b_blocknr, b_count), that will be used for new nodes) */
663 tb->FEB[i] ? atomic_read(&(tb->FEB[i]->b_count)) : 0,
H A Dstree.c365 if (atomic_read(&(p_s_bh->b_count))) {
375 /* Decrement b_count field of the all buffers in the path. */
905 #define held_by_others(bh) (atomic_read(&(bh)->b_count) > 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/
H A Dfsync.c55 atomic_dec(&bh->b_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/
H A Dxattr.c172 ea_bdebug(bh, "b_count=%d, refcount=%d",
173 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount));
272 ea_bdebug(bh, "b_count=%d, refcount=%d",
273 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount));
403 ea_bdebug(bh, "b_count=%d, refcount=%d",
404 atomic_read(&(bh->b_count)),
775 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count)));
941 ea_bdebug(bh, "b_count=%d",
942 atomic_read(&(bh->b_count)));
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dcommit.c59 if (atomic_read(&bh->b_count) != 1)
564 /* Bump b_count to prevent truncate from stumbling over
567 atomic_inc(&hfsplus_jh2bh(jh)->b_count);
714 HFSPLUS_J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0);
H A Dcheckpoint.c149 atomic_inc(&bh->b_count);
H A Djbd_journal.c364 atomic_set(&new_bh->b_count, 1);
1701 * When a buffer has its BH_JBD bit set, its ->b_count is elevated by one.
1704 * core kernel code, mainly via ->b_count.
1755 (atomic_read(&bh->b_count) > 0) ||
1837 * decrement ->b_count.
1839 * We in fact take an additional increment on ->b_count as a convenience,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Dcommit.c57 if (atomic_read(&bh->b_count) != 1)
571 /* Bump b_count to prevent truncate from stumbling over
574 atomic_inc(&jh2bh(jh)->b_count);
693 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0);
H A Dcheckpoint.c187 atomic_inc(&bh->b_count);
241 atomic_inc(&bh->b_count);
H A Djournal.c364 atomic_set(&new_bh->b_count, 1);
1787 (atomic_read(&bh->b_count) > 0) ||
1869 * decrement ->b_count.
1871 * We in fact take an additional increment on ->b_count as a convenience,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Dcommit.c57 if (atomic_read(&bh->b_count) != 1)
580 /* Bump b_count to prevent truncate from stumbling over
583 atomic_inc(&jh2bh(jh)->b_count);
702 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0);
H A Dcheckpoint.c187 atomic_inc(&bh->b_count);
241 atomic_inc(&bh->b_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/lockd/
H A Dlockd.h126 struct kref b_count; /* Reference count */ member in struct:nlm_block
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dlog.c438 atomic_set(&bh->b_count, 1);
530 while (atomic_read(&bh->b_count) != 1) /* Grrrr... */
H A Dops_address.c706 fs_warn(sdp, "blkno = %llu, bh->b_count = %d\n",
707 (unsigned long long)bh->b_blocknr, atomic_read(&bh->b_count));
764 while (atomic_read(&bh->b_count)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dxattr.c232 ea_bdebug(bh, "b_count=%d, refcount=%d",
233 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount));
374 ea_bdebug(bh, "b_count=%d, refcount=%d",
375 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount));
649 ea_bdebug(bs->bh, "b_count=%d, refcount=%d",
650 atomic_read(&(bs->bh->b_count)),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dxattr.c232 ea_bdebug(bh, "b_count=%d, refcount=%d",
233 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount));
374 ea_bdebug(bh, "b_count=%d, refcount=%d",
375 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount));
648 ea_bdebug(bs->bh, "b_count=%d, refcount=%d",
649 atomic_read(&(bs->bh->b_count)),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dmpeg12enc.c595 s->b_count++;
634 s->b_count++;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/
H A Dfile.c183 atomic_inc(&bh->b_count);
309 atomic_inc(&bh->b_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dbuffer.c817 atomic_set(&bh->b_count, 0);
1080 if (atomic_read(&buf->b_count)) {
2193 atomic_set(&bh->b_count, 0);
2617 WARN_ON(atomic_read(&bh->b_count) < 1);
2658 return atomic_read(&bh->b_count) |

Completed in 194 milliseconds

12