Searched refs:blks (Results 1 - 25 of 30) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dtrans.c82 * @blks: The number of blocks
86 static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) argument
89 atomic_add(blks, &sdp->sd_log_blks_free);
90 trace_gfs2_log_blocks(sdp, blks);
H A Dlog.h53 extern int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks);
H A Dxattr.c237 unsigned int blks = 0; local
247 blks++;
251 if (!blks)
265 RES_EATTR + RES_STATFS + RES_QUOTA, blks);
715 unsigned int blks,
730 al->al_requested = blks;
737 blks + al->al_rgd->rd_length +
796 unsigned int blks = 1; local
805 blks += DIV_ROUND_UP(er.er_data_len, jbsize);
807 return ea_alloc_skeleton(ip, &er, blks, ea_init_
714 ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er, unsigned int blks, ea_skeleton_call_t skeleton_call, void *private) argument
947 unsigned int blks; local
1042 unsigned int blks = 2; local
1357 unsigned int blks = 0; local
[all...]
H A Dlog.c50 unsigned int blks; local
53 blks = 1;
59 blks += DIV_ROUND_UP(nstruct - first, second);
62 return blks;
272 * @blks: The number of blocks to reserve
289 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) argument
292 unsigned wanted = blks + reserved_blks;
297 if (gfs2_assert_warn(sdp, blks) ||
298 gfs2_assert_warn(sdp, blks <= sdp->sd_jdesc->jd_blocks))
315 free_blocks - blks) !
[all...]
H A Dlops.c259 unsigned int blks = be32_to_cpu(ld->ld_data1); local
269 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) {
392 unsigned int blks = be32_to_cpu(ld->ld_length); local
405 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) {
655 unsigned int blks = be32_to_cpu(ld->ld_data1); local
665 for (; blks; gfs2_replay_incr_blk(sdp, &start), blks--) {
H A Dbmap.c437 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; local
479 blks = dblks + iblks;
483 n = blks - alloced;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/fnic/
H A Dvnic_wq.c32 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); local
36 for (i = 0; i < blks; i++) {
44 for (i = 0; i < blks; i++) {
H A Dvnic_rq.c32 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); local
36 for (i = 0; i < blks; i++) {
44 for (i = 0; i < blks; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/
H A Dmd5.js28 var blks = new Array(nblk * 16);
29 for(var i = 0; i < nblk * 16; i++) blks[i] = 0;
31 blks[i >> 2] |= str.charCodeAt(i) << ((i % 4) * 8);
32 blks[i >> 2] |= 0x80 << ((i % 4) * 8);
33 blks[nblk * 16 - 2] = str.length * 8;
34 return blks;
H A Dfuncs.js1481 blks = new Array(nblk * 16);
1482 for(i = 0; i < nblk * 16; i++) blks[i] = 0;
1484 blks[i >> 2] |= str.charCodeAt(i) << ((i % 4) * 8);
1485 blks[i >> 2] |= 0x80 << ((i % 4) * 8);
1486 blks[nblk * 16 - 2] = str.length * 8;
1487 return blks;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/enic/
H A Dvnic_rq.c35 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); local
39 for (i = 0; i < blks; i++) {
47 for (i = 0; i < blks; i++) {
H A Dvnic_wq.c35 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); local
39 for (i = 0; i < blks; i++) {
47 for (i = 0; i < blks; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/squashfs/
H A Dfile.c338 long long blks; local
357 blks = read_indexes(inode->i_sb, index - res, &start, &offset);
358 if (blks < 0)
359 return (int) blks;
360 *block += blks;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext2/
H A Dinode.c351 * @blks: number of data blocks to be mapped.
358 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, argument
369 if (blks < blocks_to_boundary + 1)
370 count += blks;
377 while (count < blks && count <= blocks_to_boundary
391 * @blks: on return it will store the total number of allocated
395 ext2_fsblk_t goal, int indirect_blks, int blks,
412 target = blks + indirect_blks;
473 int indirect_blks, int *blks, ext2_fsblk_t goal,
485 *blks, new_block
394 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument
472 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) argument
542 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/lib/
H A Drheap.c50 unsigned long blks, blke; local
70 blks = (unsigned long)info->block;
74 fixup(blks, blke, delta, &blk->list);
76 fixup(blks, blke, delta, &info->empty_list);
77 fixup(blks, blke, delta, &info->free_list);
78 fixup(blks, blke, delta, &info->taken_list);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dst.c692 int transfer, blks;
712 blks = transfer / STp->block_size;
713 cmd[2] = blks >> 16;
714 cmd[3] = blks >> 8;
715 cmd[4] = blks;
736 STps->drv_block += blks;
746 STps->drv_block += blks;
1550 ssize_t i, do_count, blks, transfer;
1689 blks = transfer = do_count;
1692 blks
690 int transfer, blks; local
1543 ssize_t i, do_count, blks, transfer; local
1823 int transfer, blks, bytes; local
[all...]
H A Dosst.c3055 int offset, transfer, blks = 0;
3094 blks = (offset + STp->block_size - 1) / STp->block_size;
3114 name, blks, STp->frame_seq_number,
3115 STp->logical_blk_num - blks, STp->logical_blk_num - 1);
3118 STp->logical_blk_num - blks, STp->block_size, blks);
3126 STp->logical_blk_num++, 0, blks=1);
3129 osst_init_aux(STp, OS_FRAME_TYPE_HEADER, 0, 0, 0, blks=0);
3137 name, offset, transfer, blks);
3249 int blks;
3052 int offset, transfer, blks = 0; local
3246 int blks; local
3369 ssize_t i, do_count, blks, transfer; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext3/
H A Dinode.c506 * @blks: number of data blocks to be mapped.
512 static int ext3_blks_to_allocate(Indirect *branch, int k, unsigned long blks, argument
523 if (blks < blocks_to_boundary + 1)
524 count += blks;
531 while (count < blks && count <= blocks_to_boundary &&
545 * @blks: on return it will store the total number of allocated
549 ext3_fsblk_t goal, int indirect_blks, int blks,
566 target = blks + indirect_blks;
603 * @blks: number of allocated direct blocks
625 int indirect_blks, int *blks, ext3_fsblk_
548 ext3_alloc_blocks(handle_t *handle, struct inode *inode, ext3_fsblk_t goal, int indirect_blks, int blks, ext3_fsblk_t new_blocks[4], int *err) argument
624 ext3_alloc_branch(handle_t *handle, struct inode *inode, int indirect_blks, int *blks, ext3_fsblk_t goal, int *offsets, Indirect *branch) argument
715 ext3_splice_branch(handle_t *handle, struct inode *inode, long block, Indirect *where, int num, int blks) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ufs/
H A Dsuper.c512 unsigned size, blks, i; local
523 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift;
528 for (i = 0; i < blks; i += uspi->s_fpb) {
530 if (i + uspi->s_fpb > blks)
531 size = (blks - i) * uspi->s_fsize;
644 unsigned blks, size, i; local
653 blks = (size + uspi->s_fsize - 1) >> uspi->s_fshift;
655 for (i = 0; i < blks; i += uspi->s_fpb) {
657 if (i + uspi->s_fpb > blks)
658 size = (blks
[all...]
H A Dufs_fs.h261 #define ufs_blkstofrags(blks) ((blks) << uspi->s_fpbshift)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext4/
H A Dinode.c549 * @blks: number of data blocks to be mapped.
555 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, argument
566 if (blks < blocks_to_boundary + 1)
567 count += blks;
574 while (count < blks && count <= blocks_to_boundary &&
588 * @blks: on return it will store the total number of allocated
593 int indirect_blks, int blks,
649 target = blks - count ;
673 if (*err && (target == blks)) {
681 if (target == blks) {
591 ext4_alloc_blocks(handle_t *handle, struct inode *inode, ext4_lblk_t iblock, ext4_fsblk_t goal, int indirect_blks, int blks, ext4_fsblk_t new_blocks[4], int *err) argument
726 ext4_alloc_branch(handle_t *handle, struct inode *inode, ext4_lblk_t iblock, int indirect_blks, int *blks, ext4_fsblk_t goal, ext4_lblk_t *offsets, Indirect *branch) argument
825 ext4_splice_branch(handle_t *handle, struct inode *inode, ext4_lblk_t block, Indirect *where, int num, int blks) argument
2190 int err, blks, get_blocks_flags; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Ddvenc.c332 static inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos) argument
340 b = blks;
385 b = blks;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/cgi-bin/
H A Dopmode.js1319 blks = new Array(nblk * 16);
1320 for(i = 0; i < nblk * 16; i++) blks[i] = 0;
1322 blks[i >> 2] |= str.charCodeAt(i) << ((i % 4) * 8);
1323 blks[i >> 2] |= 0x80 << ((i % 4) * 8);
1324 blks[nblk * 16 - 2] = str.length * 8;
1325 return blks;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/script/
H A Dopmode.js1319 blks = new Array(nblk * 16);
1320 for(i = 0; i < nblk * 16; i++) blks[i] = 0;
1322 blks[i >> 2] |= str.charCodeAt(i) << ((i % 4) * 8);
1323 blks[i >> 2] |= 0x80 << ((i % 4) * 8);
1324 blks[nblk * 16 - 2] = str.length * 8;
1325 return blks;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/
H A Dxfs_bmap_btree.c48 xfs_filblks_t blks,
52 ASSERT(blks != 0); /* saved for DMIG */
47 xfs_extent_state( xfs_filblks_t blks, int extent_flag) argument

Completed in 326 milliseconds

12