/linux-master/drivers/s390/block/ |
H A D | dasd_int.h | 796 * Check if bsize is in { 512, 1024, 2048, 4096 } 799 dasd_check_blocksize(int bsize) argument 801 if (bsize < 512 || bsize > 4096 || !is_power_of_2(bsize))
|
/linux-master/fs/jfs/ |
H A D | jfs_logmgr.h | 58 __le32 bsize; /* 4: logical block size in byte */ member in struct:logsuper 59 __le32 l2bsize; /* 4: log2 of bsize */ 364 int l2bsize; /* 4: log2 of bsize */
|
H A D | jfs_dmap.c | 3872 int l2max, l2free, bsize, nextb, i; local 3895 for (l2free = dtp->budmin, bsize = 1; l2free < l2max; 3896 l2free++, bsize = nextb) { 3898 nextb = bsize << 1; 3905 if (*cp == l2free && *(cp + bsize) == l2free) { 3907 *(cp + bsize) = -1; /* right give left */
|
/linux-master/fs/9p/ |
H A D | vfs_super.c | 229 buf->f_bsize = rs.bsize;
|
/linux-master/fs/nfs/ |
H A D | pagelist.c | 908 unsigned int bsize) 913 mirror->pg_bsize = bsize; 925 * @bsize: io block size 933 size_t bsize, 947 desc->pg_bsize = bsize; 954 nfs_pageio_mirror_init(&desc->pg_mirrors[0], bsize); 907 nfs_pageio_mirror_init(struct nfs_pgio_mirror *mirror, unsigned int bsize) argument 928 nfs_pageio_init(struct nfs_pageio_descriptor *desc, struct inode *inode, const struct nfs_pageio_ops *pg_ops, const struct nfs_pgio_completion_ops *compl_ops, const struct nfs_rw_ops *rw_ops, size_t bsize, int io_flags) argument
|
H A D | fs_context.c | 149 fsparam_u32 ("bsize", Opt_bsize), 683 ctx->bsize = result.uint_32; 1056 data->bsize = 0; 1130 ctx->bsize = data->bsize;
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | init.c | 289 int i, bsize, desc_len; local 343 bsize = sizeof(struct ath_buf) * nbuf; 344 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); 374 bsize = sizeof(struct ath_rxbuf) * nbuf; 375 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL);
|
/linux-master/drivers/crypto/ |
H A D | hifn_795x.c | 2171 unsigned int bsize; member in struct:hifn_alg_template 2180 .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, 2191 .name = "ecb(des3_ede)", .drv_name = "ecb-3des", .bsize = 8, 2205 .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, 2216 .name = "ecb(des)", .drv_name = "ecb-des", .bsize = 8, 2230 .name = "ecb(aes)", .drv_name = "ecb-aes", .bsize = 16, 2240 .name = "cbc(aes)", .drv_name = "cbc-aes", .bsize = 16, 2286 alg->alg.base.cra_blocksize = t->bsize;
|
/linux-master/fs/gfs2/ |
H A D | aops.c | 44 unsigned int bsize = head->b_size; local 51 end = start + bsize;
|
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge.h | 207 u32 bsize; member in struct:ddb_i2c
|
/linux-master/fs/xfs/ |
H A D | xfs_buf.h | 323 void xfs_buf_zero(struct xfs_buf *bp, size_t boff, size_t bsize);
|
/linux-master/include/linux/ |
H A D | blkdev.h | 256 static inline int blk_validate_block_size(unsigned long bsize) argument 258 if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize))
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.c | 155 unsigned long bsize; local 172 bsize = vb2_get_plane_payload(&vb_buf->vb.vb2_buf, 0); 178 if ((offset + buf->bytesused) <= bsize) {
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 1683 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/fs/ocfs2/ |
H A D | aops.c | 597 unsigned int bsize = i_blocksize(inode); local 601 head = create_empty_buffers(folio, bsize, 0); 604 bh = bh->b_this_page, block_start += bsize) { 605 block_end = block_start + bsize; 663 block_end = block_start + bsize;
|
/linux-master/kernel/bpf/ |
H A D | core.c | 294 u32 i, bsize, psize, blocks; local 336 bsize = round_up(psize, SHA1_BLOCK_SIZE); 337 blocks = bsize / SHA1_BLOCK_SIZE; 339 if (bsize - psize >= sizeof(__be64)) { 340 bits = (__be64 *)(todo + bsize - sizeof(__be64)); 342 bits = (__be64 *)(todo + bsize + bits_offset);
|
/linux-master/fs/nfsd/ |
H A D | trace.h | 1928 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/tools/perf/util/ |
H A D | header.c | 1482 u64 bsize, version = 1, i, nr = 0; local 1486 (unsigned long long *) &bsize); 1498 ret = do_write(ff, &bsize, sizeof(bsize)); 2241 unsigned long long bsize, FILE *fp) 2246 size = bsize * bitmap_weight(n->set, n->size); 2987 u64 version, i, nr, bsize; local 2996 if (do_read_u64(ff, &bsize)) 3024 ff->ph->env.memory_bsize = bsize; 2240 memory_node__fprintf(struct memory_node *n, unsigned long long bsize, FILE *fp) argument
|
H A D | probe-finder.c | 199 int bsize, boffs, total; local 213 bsize = dwarf_bitsize(vr_die); 214 if (bsize > 0) { 220 ret = snprintf(buf, 16, "b%d@%d/%zd", bsize, boffs,
|
/linux-master/fs/cachefiles/ |
H A D | internal.h | 108 unsigned bsize; /* cache's block size */ member in struct:cachefiles_cache 109 unsigned bshift; /* ilog2(bsize) */
|
/linux-master/include/uapi/linux/ |
H A D | fuse.h | 322 uint32_t bsize; member in struct:fuse_kstatfs
|
/linux-master/fs/reiserfs/ |
H A D | reiserfs.h | 2629 unsigned long bsize); 2645 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize) 2646 #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize)
|
/linux-master/drivers/block/ |
H A D | nbd.c | 1962 u64 bsize = nbd_blksize(config); local 1969 bsize = nla_get_u64(info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES]); 1971 if (bytes != config->bytesize || bsize != nbd_blksize(config)) 1972 return nbd_set_size(nbd, bytes, bsize);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | chip.c | 5334 static char *is_misc_err_name(char *buf, size_t bsize, unsigned int source) argument 5337 strscpy_pad(buf, cce_misc_names[source], bsize); 5339 snprintf(buf, bsize, "Reserved%u", 5348 static char *is_sdma_eng_err_name(char *buf, size_t bsize, unsigned int source) argument 5350 snprintf(buf, bsize, "SDmaEngErrInt%u", source); 5357 static char *is_sendctxt_err_name(char *buf, size_t bsize, unsigned int source) argument 5359 snprintf(buf, bsize, "SendCtxtErrInt%u", source); 5374 static char *is_various_name(char *buf, size_t bsize, unsigned int source) argument 5377 strscpy_pad(buf, various_names[source], bsize); 5379 snprintf(buf, bsize, "Reserve 5386 is_dc_name(char *buf, size_t bsize, unsigned int source) argument 5411 is_sdma_eng_name(char *buf, size_t bsize, unsigned int source) argument 5428 is_rcv_avail_name(char *buf, size_t bsize, unsigned int source) argument 5437 is_rcv_urgent_name(char *buf, size_t bsize, unsigned int source) argument 5446 is_send_credit_name(char *buf, size_t bsize, unsigned int source) argument 5455 is_reserved_name(char *buf, size_t bsize, unsigned int source) argument [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 2158 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))
|