Searched refs:bsize (Results 1 - 25 of 127) sorted by last modified time

123456

/linux-master/fs/9p/
H A Dvfs_super.c229 buf->f_bsize = rs.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/include/linux/
H A Dblkdev.h256 static inline int blk_validate_block_size(unsigned long bsize) argument
258 if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize))
H A Dnfs_xdr.h172 __u32 bsize; /* Filesystem block size */ member in struct:nfs2_fsstat
173 __u32 blocks; /* No. of "bsize" blocks on filesystem */
174 __u32 bfree; /* No. of free "bsize" blocks */
175 __u32 bavail; /* No. of available "bsize" blocks */
H A Dkvm_host.h2003 #define KVM_STATS_LINEAR_HIST_UPDATE(array, value, bsize) \
2004 kvm_stats_linear_hist_update(array, ARRAY_SIZE(array), value, bsize)
/linux-master/fs/smb/client/
H A Dfs_context.h256 unsigned int bsize; member in struct:smb3_fs_context
H A Dfs_context.c144 fsparam_u32("bsize", Opt_blocksize),
1148 ctx->bsize = result.uint_32;
1676 ctx->bsize = CIFS_DEFAULT_IOSIZE; /* can improve cp performance significantly */
H A Dcifsfs.c679 seq_printf(s, ",bsize=%u", cifs_sb->ctx->bsize);
H A Dinode.c2644 stat->blksize = cifs_sb->ctx->bsize;
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c462 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt,
572 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt,
713 if (new_bucket_size == f->bsize)
716 if (new_bucket_size > f->bsize)
717 copy = f->bsize;
737 if (new_bucket_size > f->bsize)
738 new_p += new_bucket_size - f->bsize;
740 old_p += f->bsize - new_bucket_size;
752 f->bsize = new_bucket_size;
773 pos += f->bsize * NFT_PIPAPO_BUCKET
814 pipapo_lt_4b_to_8b(int old_groups, int bsize, unsigned long *old_lt, unsigned long *new_lt) argument
860 pipapo_lt_8b_to_4b(int old_groups, int bsize, unsigned long *old_lt, unsigned long *new_lt) argument
[all...]
/linux-master/fs/fuse/
H A Dinode.c596 stbuf->f_bsize = attr->bsize;
/linux-master/kernel/trace/
H A Dring_buffer.c1683 int bsize; local
1717 bsize = sizeof(void *) * nr_cpu_ids;
1718 buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()),
2526 unsigned long bsize = READ_ONCE(cpu_buffer->buffer->subbuf_size); local
2535 if (tail >= bsize) {
2541 if (tail == bsize)
2569 if (tail > (bsize - RB_EVNT_MIN_SIZE)) {
2584 event->array[0] = (bsize - tail) - RB_EVNT_HDR_SIZE;
2590 local_add(bsize - tail, &cpu_buffer->entries_bytes);
2596 length = (tail + length) - bsize;
4487 unsigned long bsize = READ_ONCE(cpu_buffer->buffer->subbuf_size); local
[all...]
/linux-master/net/9p/
H A Dclient.c1892 &sb->bsize, &sb->blocks, &sb->bfree, &sb->bavail,
1901 "<<< RSTATFS fid %d type 0x%x bsize %u blocks %llu bfree %llu bavail %llu files %llu ffree %llu fsid %llu namelen %u\n",
1902 fid->fid, sb->type, sb->bsize, sb->blocks, sb->bfree,
/linux-master/fs/xfs/
H A Dxfs_buf.c1799 size_t bsize)
1803 bend = boff + bsize;
1796 xfs_buf_zero( struct xfs_buf *bp, size_t boff, size_t bsize) argument
/linux-master/fs/jfs/
H A Djfs_logmgr.c2395 logsuper->bsize = cpu_to_le32(sbi->bsize);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_common.c2321 u32 reg_val, gsize, bsize; local
2327 bsize = FIELD_GET(E830_GLQF_FD_SIZE_FD_BSIZE_M, reg_val);
2332 bsize = FIELD_GET(E800_GLQF_FD_SIZE_FD_BSIZE_M, reg_val);
2335 func_p->fd_fltr_best_effort = bsize;
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2158 size_t bsize; local
2162 bsize = min(nbytes, (sizeof(mybuf) - 1));
2164 if (copy_from_user(mybuf, buf, bsize))
2185 return bsize;
3148 size_t bsize; local
3152 bsize = min(nbytes, (sizeof(mybuf)-1));
3154 if (copy_from_user(mybuf, buf, bsize))
/linux-master/fs/gfs2/
H A Dbmap.c1721 unsigned int bsize = 1 << bsize_shift; local
1722 u64 lblock = (offset + bsize - 1) >> bsize_shift;
1733 if (offset + bsize - 1 >= maxsize) {
/linux-master/fs/nfsd/
H A Dtrace.h1928 int bsize
1930 TP_ARGS(net, bsize),
1933 __field(int, bsize)
1937 __entry->bsize = bsize;
1939 TP_printk("bsize=%d",
1940 __entry->bsize
/linux-master/fs/f2fs/
H A Dfile.c870 unsigned int bsize = i_blocksize(inode); local
874 stat->dio_mem_align = bsize;
875 stat->dio_offset_align = bsize;
/linux-master/include/uapi/linux/
H A Dfuse.h322 uint32_t bsize; member in struct:fuse_kstatfs
/linux-master/fs/nfs/
H A Dsuper.c466 if (nfss->bsize != 0)
467 seq_printf(m, ",bsize=%u", nfss->bsize);
686 seq_printf(m, ",bsize=%u", nfss->bsize);
1066 if (ctx->bsize)
1067 sb->s_blocksize = nfs_block_size(ctx->bsize, &sb->s_blocksize_bits);
1317 unsigned bsize = ctx->clone_data.inherited_bsize; local
1320 if (bsize) {
1321 s->s_blocksize_bits = bsize;
[all...]
H A Dinternal.h104 unsigned int bsize; member in struct:nfs_fs_context
707 unsigned long nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) argument
710 if ((bsize & (bsize - 1)) || nrbitsp) {
713 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--)
715 bsize = 1 << nrbits;
720 return bsize;
736 unsigned long nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) argument
738 if (bsize < NFS_MIN_FILE_IO_SIZE)
739 bsize
[all...]
H A Dfs_context.c149 fsparam_u32 ("bsize", Opt_bsize),
683 ctx->bsize = result.uint_32;
1056 data->bsize = 0;
1130 ctx->bsize = data->bsize;
/linux-master/crypto/
H A Dpcbc.c24 int bsize = crypto_cipher_blocksize(tfm); local
31 crypto_xor(iv, src, bsize);
33 crypto_xor_cpy(iv, dst, src, bsize);
35 src += bsize;
36 dst += bsize;
37 } while ((nbytes -= bsize) >= bsize);
46 int bsize = crypto_cipher_blocksize(tfm); local
53 memcpy(tmpbuf, src, bsize);
54 crypto_xor(iv, src, bsize);
91 int bsize = crypto_cipher_blocksize(tfm); local
113 int bsize = crypto_cipher_blocksize(tfm); local
[all...]

Completed in 407 milliseconds

123456