Searched refs:b_size (Results 1 - 25 of 79) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dmeta_io.h19 memset(bh->b_data, 0, bh->b_size);
24 BUG_ON(head > bh->b_size);
25 memset(bh->b_data + head, 0, bh->b_size - head);
35 from_bh->b_size - from_head);
36 memset(to_bh->b_data + to_bh->b_size + to_head - from_head,
H A Dlog.c326 bh_map.b_size = 1 << inode->i_blkbits;
408 memset(bh->b_data, 0, bh->b_size);
442 bh->b_size = sdp->sd_sb.sb_bsize;
481 memset(bh->b_data, 0, bh->b_size);
H A Ddir.c592 char *bh_end = bh->b_data + bh->b_size;
652 if ((char *)cur + cur_rec_len > bh->b_data + bh->b_size)
688 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size,
773 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size,
793 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, scan, name, NULL);
823 gfs2_qstr2dirent(&name, bh->b_size - sizeof(struct gfs2_leaf), dent);
871 args.len = bh->b_size - sizeof(struct gfs2_dinode) +
874 dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size,
1316 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size,
1450 dent = gfs2_dirent_scan(inode, dibh->b_data, dibh->b_size,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/mon/
H A Dmon_bin.c136 unsigned int b_size; /* Current size of the buffer - bytes */ member in struct:mon_reader_bin
196 if ((off += step_len) >= this->b_size) off = 0;
229 if ((off += step_len) >= this->b_size) off = 0;
247 if (rp->b_cnt + size > rp->b_size)
251 if ((rp->b_in += size) >= rp->b_size)
252 rp->b_in -= rp->b_size;
273 if (rp->b_cnt + size > rp->b_size)
275 if (rp->b_in + size > rp->b_size) {
281 fill_size = rp->b_size - rp->b_in;
282 if (rp->b_cnt + size + fill_size > rp->b_size)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/
H A Dfatent.c44 WARN_ON(offset >= (bhs[0]->b_size - 1));
48 WARN_ON(offset != (bhs[0]->b_size - 1));
195 WARN_ON(ent12_p[0] > (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 2)));
196 WARN_ON(ent12_p[1] > (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1)));
197 if (nextp < (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1))) {
203 WARN_ON(ent12_p[0] != (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1)));
221 if (fatent->u.ent16_p < (__le16 *)(bh->b_data + (bh->b_size - 2))) {
233 if (fatent->u.ent32_p < (__le32 *)(bh->b_data + (bh->b_size - 4))) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dlbalance.c144 || (!op_is_left_mergeable(&(ih->ih_key), src->b_size)))
204 if (!dest_nr_item || !op_is_left_mergeable(&(dih->ih_key), src->b_size))
233 le_ih_k_offset(ih) + op_bytes_number(ih, src->b_size),
260 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size,
263 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size);
267 dest->b_size));
333 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1);
412 RFALSE(op_is_left_mergeable(&(ih->ih_key), src->b_size),
450 dest->b_size);
695 (B_N_PKEY(S0, 0), S0->b_size)),
[all...]
H A Dprints.c146 bdevname(bh->b_bdev, b), bh->b_size,
520 // skipped = (bh->b_blocknr * bh->b_size) / sb_blocksize(rs);
682 if (nr > (bh->b_size - BLKH_SIZE) / IH_SIZE)
686 if (blkh_free_space(blkh) > bh->b_size - BLKH_SIZE - IH_SIZE * nr)
703 if (B_NR_ITEMS(bh) > (bh->b_size - BLKH_SIZE) / IH_SIZE)
709 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) -
H A Dstree.c551 return is_leaf(bh->b_data, bh->b_size, bh);
553 return is_internal(bh->b_data, bh->b_size, bh);
1117 n_del_size = (n_del_size / UNFM_P_SIZE) * (PATH_PLAST_BUFFER(p_s_tb->tb_path)->b_size); // - get_ih_free_space (p_le_ih);
1451 cur_index += bh->b_size;
1457 if (PAGE_SIZE == bh->b_size) {
1924 get_last_bh(path)->b_size) !=
1927 get_last_bh(path)->b_size) !=
1937 get_last_bh(path)->b_size) !=
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/
H A Dinode.c178 s32 xlen = bh_result->b_size >> ip->i_blkbits;
217 bh_result->b_size = xlen << ip->i_blkbits;
235 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Dcommit.c120 for (i = 0; i < bh->b_size; i += 512) {
378 jbd_slab_free(jh->b_committed_data, bh->b_size);
540 space_left = bh->b_size - sizeof(journal_header_t);
795 jbd_slab_free(jh->b_committed_data, bh->b_size);
802 jbd_slab_free(jh->b_frozen_data, bh->b_size);
H A Djournal.c334 tmp = jbd_slab_alloc(bh_in->b_size, GFP_NOFS);
337 jbd_slab_free(tmp, bh_in->b_size);
343 memcpy(tmp, mapped_data + new_offset, jh2bh(jh_in)->b_size);
371 new_bh->b_size = jh2bh(jh_in)->b_size;
1846 jbd_slab_free(jh->b_frozen_data, bh->b_size);
1852 jbd_slab_free(jh->b_committed_data, bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Dcommit.c120 for (i = 0; i < bh->b_size; i += 512) {
387 jbd2_slab_free(jh->b_committed_data, bh->b_size);
549 space_left = bh->b_size - sizeof(journal_header_t);
804 jbd2_slab_free(jh->b_committed_data, bh->b_size);
811 jbd2_slab_free(jh->b_frozen_data, bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dmpage.c209 nblocks = map_bh->b_size >> blkbits;
236 map_bh->b_size = 0;
239 map_bh->b_size = (last_block-block_in_file) << blkbits;
272 nblocks = map_bh->b_size >> blkbits;
532 map_bh.b_size = 1 << blkbits;
H A Dbuffer.c291 printk("b_state=0x%08lx, b_size=%zu\n",
292 bh->b_state, bh->b_size);
819 bh->b_size = size;
920 if (bh->b_size == size) {
1220 bh->b_blocknr == block && bh->b_size == size) {
1383 unsigned int next_off = curr_off + bh->b_size;
1549 WARN_ON(bh->b_size != blocksize);
1695 WARN_ON(bh->b_size != blocksize);
1766 zero_user_page(page, block_start, bh->b_size, KM_USER0);
1848 WARN_ON(bh->b_size !
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/
H A Dacsi.c875 memcpy( dst, src, bh->b_size );
876 dst += bh->b_size;
897 memcpy( dst, src, bh->b_size );
898 src += bh->b_size;
918 n = CURRENT->bh->b_size >> 9;
1009 if (nsect + (bh->b_size>>9) > ACSI_BUFFER_SECTORS) break;
1010 nsect += bh->b_size >> 9;
1023 nsect += bh->b_size >> 9;
1024 pendadr = pnewadr + bh->b_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/
H A Dxfs_aops.c369 bio->bi_sector = bh->b_blocknr * (bh->b_size >> 9);
410 return bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh));
464 if (bio_add_buffer(bio, bh) != bh->b_size) {
536 ioend->io_size += bh->b_size;
601 ret += bh->b_size;
629 total += bh->b_size;
1315 ASSERT(bh_result->b_size >= (1 << inode->i_blkbits));
1316 size = bh_result->b_size;
1374 bh_result->b_size = (ssize_t)min_t(xfs_off_t, LONG_MAX, offset);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/bfs/
H A Dfile.c38 memcpy(new->b_data, bh->b_data, bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h137 int b_size; /* Size of script B */ member in struct:sym_fw
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dxattr.c171 error = ext3_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size);
243 error = ext3_xattr_find_entry(&entry, name_index, name, bh->b_size, 1);
662 bs->s.end = bs->bh->b_data + bs->bh->b_size;
665 i->name, bs->bh->b_size, 1);
732 s->base = kmalloc(bs->bh->b_size, GFP_KERNEL);
736 memcpy(s->base, BHDR(bs->bh), bs->bh->b_size);
740 s->end = s->base + bs->bh->b_size;
826 memcpy(new_bh->b_data, s->base, new_bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dxattr.c171 error = ext4_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size);
243 error = ext4_xattr_find_entry(&entry, name_index, name, bh->b_size, 1);
661 bs->s.end = bs->bh->b_data + bs->bh->b_size;
664 i->name, bs->bh->b_size, 1);
730 s->base = kmalloc(bs->bh->b_size, GFP_KERNEL);
734 memcpy(s->base, BHDR(bs->bh), bs->bh->b_size);
738 s->end = s->base + bs->bh->b_size;
824 memcpy(new_bh->b_data, s->base, new_bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/
H A Dbitmap.c30 for (j=0; j<bh->b_size; j++)
37 i = ((numbits - (numblocks-1) * bh->b_size * 8) / 16) * 2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dbuffer_head.h66 size_t b_size; /* size of mapping */ member in struct:buffer_head
290 bh->b_size = sb->s_blocksize;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/
H A Dxattr.c174 end = bh->b_data + bh->b_size;
274 end = bh->b_data + bh->b_size;
407 end = bh->b_data + bh->b_size;
507 header = kmalloc(bh->b_size, GFP_KERNEL);
511 memcpy(header, HDR(bh), bh->b_size);
680 memcpy(new_bh->b_data, header, new_bh->b_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Daops.c115 memcpy(kaddr + (bh_result->b_size * iblock),
117 bh_result->b_size);
317 unsigned blocksize = head->b_size;
422 * bh.b_size with the size of IO which is permitted at this offset and
437 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
500 bh_result->b_size = contig_blocks << blocksize_bits;
740 memset(kaddr+block_start, 0, bh->b_size);
H A Dlocalalloc.c251 alloc_copy = kmalloc(bh->b_size, GFP_KERNEL);
256 memcpy(alloc_copy, alloc, bh->b_size);
343 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL);
348 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size);
897 alloc_copy = kmalloc(osb->local_alloc_bh->b_size, GFP_KERNEL);
903 memcpy(alloc_copy, alloc, osb->local_alloc_bh->b_size);

Completed in 214 milliseconds

1234