Searched refs:bsize (Results 51 - 75 of 127) sorted by relevance

123456

/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_hw.c160 unsigned int num_key_ctx, bsize; local
164 bsize = BITS_TO_LONGS(num_key_ctx);
167 cdev->kmap.available = bsize;
168 ksize = sizeof(*cdev->kmap.addr) * bsize;
/linux-master/fs/sysv/
H A Dsuper.c309 int bsize = 1 << n_bits; local
310 int bsize_4 = bsize >> 2;
319 sbi->s_inodes_per_block = bsize >> 6;
320 sbi->s_inodes_per_block_1 = (bsize >> 6)-1;
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_inline.h69 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) argument
73 uint32_t iter = bsize >> 2;
82 host_to_adap(uint8_t *src, uint8_t *dst, uint32_t bsize) argument
86 uint32_t iter = bsize >> 2;
/linux-master/fs/ext4/
H A Dfast_commit.c694 int bsize = sbi->s_journal->j_blocksize; local
695 int ret, off = sbi->s_fc_bytes % bsize;
703 if (len > bsize - EXT4_FC_TAG_BASE_LEN)
718 remaining = bsize - EXT4_FC_TAG_BASE_LEN - off;
733 *crc = ext4_chksum(sbi, *crc, sbi->s_fc_bh->b_data, bsize);
741 sbi->s_fc_bytes += bsize - off + len;
758 int off, bsize = sbi->s_journal->j_blocksize; local
769 off = sbi->s_fc_bytes % bsize;
772 tl.fc_len = cpu_to_le16(bsize - off + sizeof(struct ext4_fc_tail));
773 sbi->s_fc_bytes = round_up(sbi->s_fc_bytes, bsize);
1193 int nblks = 0, ret, bsize = journal->j_blocksize; local
[all...]
/linux-master/fs/squashfs/
H A Dfile.c559 int res, bsize; local
591 bsize = read_blocklist(inode, index, &block);
592 if (bsize == 0)
600 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
/linux-master/arch/mips/boot/
H A Delf2ecoff.c238 a->bsize = swab32(a->bsize);
424 eah.bsize = bss.len;
467 esecs[2].s_size = eah.bsize;
/linux-master/fs/cachefiles/
H A Dio.c213 granularity = max_t(size_t, object->volume->cache->bsize, granularity);
444 off = round_up(off, cache->bsize);
463 to = round_up(to, cache->bsize);
465 to = round_down(to, cache->bsize);
H A Dcache.c94 cache->bsize = stats.f_bsize;
98 cache->bsize, cache->bshift);
/linux-master/fs/jfs/
H A Djfs_incore.h168 short bsize; /* logical block size */ member in struct:jfs_sb_info
/linux-master/fs/smb/client/
H A Dfs_context.h256 unsigned int bsize; member in struct:smb3_fs_context
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.c121 u16 off, len, bsize; local
129 bsize = min_t(u16, CSR_CACHE_SIZE, len);
132 bsize, REGISTER_TIMEOUT);
134 tb += bsize;
135 len -= bsize;
136 off += bsize;
/linux-master/fs/gfs2/
H A Dlops.c510 unsigned int bsize = sdp->sd_sb.sb_bsize, off; local
544 sz = bio_add_page(bio, page, bsize, off);
545 if (sz == bsize)
565 sz = bio_add_page(bio, page, bsize, off);
566 BUG_ON(sz != bsize);
568 off += bsize;
H A Dquota.c766 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; local
770 boff = off % bsize;
777 bh = create_empty_buffers(folio, bsize, 0);
781 if (pg_off >= ((bnum * bsize) + bsize)) {
793 folio_zero_range(folio, bnum * bsize,
803 if (to_write > (bsize - boff)) {
804 pg_off += (bsize - boff);
805 to_write -= (bsize - boff);
806 boff = pg_off % bsize;
[all...]
/linux-master/drivers/media/usb/gspca/
H A Dgspca.c665 int n, nurbs, i, psize, npkt, bsize; local
680 bsize = psize * npkt;
682 "isoc %d pkts size %d = bsize:%d\n",
683 npkt, psize, bsize);
687 bsize = gspca_dev->cam.bulk_size;
688 if (bsize == 0)
689 bsize = psize;
690 gspca_dbg(gspca_dev, D_STREAM, "bulk bsize:%d\n", bsize);
703 bsize,
[all...]
/linux-master/drivers/block/
H A Dloop.c978 static int loop_reconfigure_limits(struct loop_device *lo, unsigned short bsize, argument
984 lim.logical_block_size = bsize;
985 lim.physical_block_size = bsize;
986 lim.io_min = bsize;
1002 unsigned short bsize; local
1082 bsize = config->block_size;
1085 bsize = bdev_logical_block_size(inode->i_sb->s_bdev);
1087 bsize = 512;
1089 error = loop_reconfigure_limits(lo, bsize, true);
/linux-master/fs/udf/
H A Dnamei.c602 uint32_t bsize; local
615 bsize = sb->s_blocksize;
616 iinfo->i_lenExtents = bsize;
617 err = udf_add_aext(inode, &epos, &eloc, bsize, 0);
634 memset(epos.bh->b_data, 0x00, bsize);
/linux-master/block/
H A Dbdev.c136 unsigned int bsize = bdev_logical_block_size(bdev); local
139 while (bsize < PAGE_SIZE) {
140 if (size & bsize)
142 bsize <<= 1;
144 bdev->bd_inode->i_blkbits = blksize_bits(bsize);
/linux-master/security/apparmor/
H A Dmatch.c27 * @bsize: size of blob
33 static struct table_header *unpack_table(char *blob, size_t bsize) argument
39 if (bsize < sizeof(struct table_header))
60 if (bsize < tsize)
/linux-master/mm/
H A Dtruncate.c782 int bsize = i_blocksize(inode); local
789 if (from >= to || bsize == PAGE_SIZE)
792 rounded_from = round_up(from, bsize);
/linux-master/fs/nilfs2/
H A Dalloc.c378 * @bsize: size in bits
383 unsigned int bsize,
386 int pos, end = bsize;
388 if (likely(target < bsize)) {
381 nilfs_palloc_find_available_slot(unsigned char *bitmap, unsigned long target, unsigned int bsize, spinlock_t *lock) argument
/linux-master/arch/mips/include/asm/
H A Dsgiarcs.h281 unsigned char bsize; member in struct:linux_cache_key::param
283 unsigned char bsize;
/linux-master/arch/alpha/boot/tools/
H A Dobjstrip.c219 mem_size = fil_size + aout->ah.bsize;
/linux-master/include/net/9p/
H A D9p.h522 u32 bsize; member in struct:p9_rstatfs
/linux-master/include/linux/
H A Dnfs_page.h111 unsigned int pg_bsize; /* default bsize for mirrors */
144 size_t bsize,
H A Dnfs_fs_sb.h170 unsigned int bsize; /* server block size */ member in struct:nfs_server

Completed in 327 milliseconds

123456