Searched refs:b_data (Results 1 - 25 of 186) sorted by relevance

12345678

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dbitmap.c26 sum += nibblemap[map->b_data[i] & 0xf] +
27 nibblemap[(map->b_data[i] >> 4) & 0xf];
H A Dresize.c129 memset(bh->b_data, 0, sb->s_blocksize);
196 ext3_set_bit(0, bh->b_data);
216 memcpy(gdb->b_data, sbi->s_group_desc[i]->b_data, bh->b_size);
220 ext3_set_bit(bit, bh->b_data);
236 ext3_set_bit(bit, bh->b_data);
241 ext3_set_bit(input->block_bitmap - start, bh->b_data);
244 ext3_set_bit(input->inode_bitmap - start, bh->b_data);
258 ext3_set_bit(bit, bh->b_data);
261 bh->b_data);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dbitmap.c26 sum += nibblemap[map->b_data[i] & 0xf] +
27 nibblemap[(map->b_data[i] >> 4) & 0xf];
H A Dresize.c134 memset(bh->b_data, 0, sb->s_blocksize);
201 ext4_set_bit(0, bh->b_data);
221 memcpy(gdb->b_data, sbi->s_group_desc[i]->b_data, bh->b_size);
225 ext4_set_bit(bit, bh->b_data);
241 ext4_set_bit(bit, bh->b_data);
246 ext4_set_bit(input->block_bitmap - start, bh->b_data);
249 ext4_set_bit(input->inode_bitmap - start, bh->b_data);
263 ext4_set_bit(bit, bh->b_data);
266 bh->b_data);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hpfs/
H A Dbuffer.c38 return bh->b_data;
57 return bh->b_data;
88 memcpy(data, bh->b_data, 512);
93 memcpy(data + 512, bh->b_data, 512);
98 memcpy(data + 2 * 512, bh->b_data, 512);
103 memcpy(data + 3 * 512, bh->b_data, 512);
141 memcpy(qbh->data, qbh->bh[0]->b_data, 512);
142 memcpy(qbh->data + 512, qbh->bh[1]->b_data, 512);
143 memcpy(qbh->data + 2*512, qbh->bh[2]->b_data, 512);
144 memcpy(qbh->data + 3*512, qbh->bh[3]->b_data, 51
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dfileinfo.c51 Curl_safefree(finfo->b_data);
H A Dftplistparser.c311 /* move finfo pointers to b_data */
312 char *str = finfo->b_data;
393 parser->file_data->b_data = malloc(FTP_BUFFER_ALLOCSIZE);
394 if(!parser->file_data->b_data) {
404 finfo->b_data[finfo->b_used++] = c;
408 char *tmp = realloc(finfo->b_data,
412 finfo->b_data = tmp;
447 finfo->b_data[parser->item_length - 1] = 0;
448 if(strncmp("total ", finfo->b_data, 6) == 0) {
449 char *endptr = finfo->b_data
[all...]
/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);
25 memset(bh->b_data + head, 0, bh->b_size - head);
34 memcpy(to_bh->b_data + to_head, from_bh->b_data + from_head,
36 memset(to_bh->b_data + to_bh->b_size + to_head - from_head,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/
H A Dbitmap.c92 data = (__be32 *)bh->b_data + bit / 32 + 1;
101 tmp = be32_to_cpu(*(__be32 *)bh->b_data);
102 *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask);
206 data = (__be32 *)bh->b_data + bit / 32 + 1;
207 enddata = (__be32 *)((u8 *)bh->b_data + sb->s_blocksize);
246 tmp = be32_to_cpu(*(__be32 *)bh->b_data);
247 *(__be32 *)bh->b_data = cpu_to_be32(tmp + mask);
298 bmap_blk = (__be32 *)sbi->s_root_bh->b_data;
319 bm->bm_free = affs_count_free_bits(sb->s_blocksize - 4, bh->b_data + 4);
334 bmap_blk = (__be32 *)bmap_bh->b_data;
[all...]
H A Daffs.h28 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data)
29 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail)))
30 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data)
31 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_root_tail)))
32 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data)
33 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data)
234 memset(bh->b_data, 0 , sb->s_blocksize);
265 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]);
266 ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val);
271 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/freevxfs/
H A Dvxfs_olt.c86 if (!bp || !bp->b_data)
89 op = (struct vxfs_olt *)bp->b_data;
105 oaddr = bp->b_data + op->olt_size;
106 eaddr = bp->b_data + (infp->vsi_oltsize * sbp->s_blocksize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/
H A Dbitmap.c31 sum += nibblemap[bh->b_data[j] & 0xf]
32 + nibblemap[(bh->b_data[j]>>4) & 0xf];
39 sum += nibblemap[bh->b_data[j] & 0xf]
40 + nibblemap[(bh->b_data[j]>>4) & 0xf];
45 i = *(__u16 *)(&bh->b_data[j]) | ~((1<<i) - 1);
73 if (!minix_test_and_clear_bit(bit, bh->b_data))
92 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone);
94 minix_set_bit(j, bh->b_data);
134 p = (void *)(*bh)->b_data;
160 p = (void *)(*bh)->b_data;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/efs/
H A Dsymlink.c33 memcpy(link, bh->b_data, (size > EFS_BLOCKSIZE) ? EFS_BLOCKSIZE : size);
39 memcpy(link + EFS_BLOCKSIZE, bh->b_data, size - EFS_BLOCKSIZE);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Drecovery.c183 tagp = &bh->b_data[sizeof(hfsplus_jbd_header_t)];
185 while ((tagp - bh->b_data + sizeof(hfsplus_jbd_block_tag_t)) <= size) {
382 tmp = (hfsplus_jbd_header_t *)bh->b_data;
421 tagp = &bh->b_data[sizeof(hfsplus_jbd_header_t)];
422 while ((tagp - bh->b_data +sizeof(hfsplus_jbd_block_tag_t))
473 memcpy(nbh->b_data, obh->b_data,
477 *((__be32 *)bh->b_data) =
571 header = (hfsplus_jbd_revoke_header_t *) bh->b_data;
579 blocknr = be32_to_cpu(* ((__be32 *) (bh->b_data
[all...]
H A Dpart_tbl.c92 pm = (struct old_pmap *)bh->b_data;
110 pm = (struct new_pmap *)bh->b_data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Drecovery.c187 tagp = &bh->b_data[sizeof(journal_header_t)];
189 while ((tagp - bh->b_data + sizeof(journal_block_tag_t)) <= size) {
388 tmp = (journal_header_t *)bh->b_data;
426 tagp = &bh->b_data[sizeof(journal_header_t)];
427 while ((tagp - bh->b_data +sizeof(journal_block_tag_t))
478 memcpy(nbh->b_data, obh->b_data,
481 *((__be32 *)bh->b_data) =
576 header = (journal_revoke_header_t *) bh->b_data;
584 blocknr = be32_to_cpu(* ((__be32 *) (bh->b_data
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/adfs/
H A Ddir_fplus.c44 h = (struct adfs_bigdirheader *)dir->bh[0]->b_data;
70 t = (struct adfs_bigdirtail *)(dir->bh[size - 1]->b_data + (sb->s_blocksize - 8));
90 struct adfs_bigdirheader *h = (struct adfs_bigdirheader *)dir->bh[0]->b_data;
113 memcpy(to, dir->bh[buffer]->b_data + offset, len);
119 memcpy(c, dir->bh[buffer]->b_data + offset, partial);
120 memcpy(c + partial, dir->bh[buffer + 1]->b_data, remainder);
127 struct adfs_bigdirheader *h = (struct adfs_bigdirheader *)dir->bh[0]->b_data;
H A Ddir_f.c73 *(u8 *)(bh[_buf]->b_data + _off); \
79 *(__le32 *)(bh[_buf]->b_data + _off); \
85 (u8 *)(_bh[_buf]->b_data + _off); \
263 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize);
265 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data,
296 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize);
298 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data,
309 memcpy(dir->bh[buffer]->b_data + offset, &de, thissize);
311 memcpy(dir->bh[buffer + 1]->b_data, ((char *)&de) + thissize,
399 dir->bh[0]->b_data[
[all...]
H A Dsuper.c112 map = dm[i].dm_bh->b_data;
333 unsigned char *b_data; local
359 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE);
361 if (adfs_checkbblk(b_data)) {
368 dr = (struct adfs_discrecord *)(b_data + ADFS_DR_OFFSET);
388 b_data = bh->b_data + (ADFS_DISCRECORD % sb->s_blocksize);
389 if (adfs_checkbblk(b_data)) {
393 dr = (struct adfs_discrecord *)(b_data
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dtruncate.c159 struct allocExtDesc *aed = (struct allocExtDesc *)(epos.bh->b_data);
162 udf_update_tag(epos.bh->b_data, epos.offset);
164 udf_update_tag(epos.bh->b_data, sizeof(struct allocExtDesc));
231 struct allocExtDesc *aed = (struct allocExtDesc *)(epos.bh->b_data);
234 udf_update_tag(epos.bh->b_data, lenalloc +
237 udf_update_tag(epos.bh->b_data, sizeof(struct allocExtDesc));
274 struct allocExtDesc *aed = (struct allocExtDesc *)(epos.bh->b_data);
277 udf_update_tag(epos.bh->b_data, lenalloc +
280 udf_update_tag(epos.bh->b_data, sizeof(struct allocExtDesc));
H A Dballoc.c187 if (udf_set_bit(bit + i, bh->b_data))
190 udf_debug("byte=%2x\n", ((char *)bh->b_data)[(bit + i) >> 3]);
252 if (!udf_test_bit(bit, bh->b_data))
256 else if (!udf_clear_bit(bit, bh->b_data))
309 ptr = memscan((char *)bh->b_data + group_start, 0xFF, sb->s_blocksize - group_start);
311 if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize)
315 if (udf_test_bit(bit, bh->b_data))
320 bit = udf_find_next_one_bit(bh->b_data, end_goal, bit);
323 ptr = memscan((char *)bh->b_data + (bit >> 3), 0xFF, sb->s_blocksize - ((bit + 7) >> 3));
324 newbit = (ptr - ((char *)bh->b_data)) <<
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Drecovery.c188 tagp = &bh->b_data[sizeof(journal_header_t)];
190 while ((tagp - bh->b_data + tag_bytes) <= size) {
398 tmp = (journal_header_t *)bh->b_data;
435 tagp = &bh->b_data[sizeof(journal_header_t)];
436 while ((tagp - bh->b_data + tag_bytes)
488 memcpy(nbh->b_data, obh->b_data,
491 *((__be32 *)bh->b_data) =
587 header = (jbd2_journal_revoke_header_t *) bh->b_data;
599 blocknr = be32_to_cpu(* ((__be32 *) (bh->b_data
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dpart_tbl.c76 pm = (struct old_pmap *)bh->b_data;
94 pm = (struct new_pmap *)bh->b_data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dpart_tbl.c92 pm = (struct old_pmap *)bh->b_data;
110 pm = (struct new_pmap *)bh->b_data;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/
H A Dfatent.c45 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
46 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1);
49 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
50 fatent->u.ent12_p[1] = bhs[1]->b_data;
57 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset);
63 fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset);
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
[all...]

Completed in 239 milliseconds

12345678