Home
last modified time | relevance | path

Searched refs:bsz (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/pci/
H A Decam.c33 unsigned int bus_range, bus_range_max, bsz; in pci_ecam_create() local
62 bsz = 1 << bus_shift; in pci_ecam_create()
82 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in pci_ecam_create()
129 unsigned int bsz = 1 << cfg->bus_shift; in pci_ecam_add_bus() local
140 start = cfg->res.start + busn * bsz; in pci_ecam_add_bus()
142 cfg->winp[busn] = pci_remap_cfgspace(start, bsz); in pci_ecam_add_bus()
/openbmc/linux/fs/erofs/
H A Ddir.c54 unsigned long bsz = sb->s_blocksize; in erofs_readdir() local
75 if (nameoff < sizeof(struct erofs_dirent) || nameoff >= bsz) { in erofs_readdir()
82 maxsize = min_t(unsigned int, dirsize - ctx->pos + ofs, bsz); in erofs_readdir()
H A Dnamei.c92 unsigned int bsz = i_blocksize(dir); in erofs_find_target_block() local
105 const int nameoff = nameoff_from_disk(de->nameoff, bsz); in erofs_find_target_block()
125 dname.end = (u8 *)de + bsz; in erofs_find_target_block()
128 nameoff_from_disk(de[1].nameoff, bsz); in erofs_find_target_block()
H A Dinode.c208 unsigned int bsz = i_blocksize(inode); in erofs_fill_symlink() local
213 inode->i_size >= bsz || inode->i_size < 0) { in erofs_fill_symlink()
224 if (m_pofs + inode->i_size > bsz) { in erofs_fill_symlink()
/openbmc/linux/include/linux/
H A Dkvm_host.h1782 #define STATS_DESC_COMMON(type, unit, base, exp, sz, bsz) \ argument
1789 .bucket_size = bsz
1794 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
1802 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
1807 #define VM_STATS_DESC(stat, type, unit, base, exp, sz, bsz) \ argument
1810 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
1818 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
1825 SCOPE##_STATS_DESC(stat, type, unit, base, exp, sz, bsz)
1838 unit, base, exponent, sz, bsz)
1870 #define STATS_DESC_LINHIST_TIME_NSEC(SCOPE, name, sz, bsz) \ argument
[all …]
/openbmc/linux/arch/loongarch/pci/
H A Dacpi.c97 int bsz, bus_range, err; in arch_pci_ecam_create() local
115 bsz = 1 << ops->bus_shift; in arch_pci_ecam_create()
130 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in arch_pci_ecam_create()
/openbmc/linux/tools/perf/util/
H A Djitdump.c142 ssize_t bs, bsz = 0; in jit_open() local
152 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
154 buf = malloc(bsz); in jit_open()
222 if (bs > bsz) { in jit_open()
226 bsz = bs; in jit_open()
229 ret = fread(buf, bs - bsz, 1, jd->in); in jit_open()
H A Dintel-bts.c411 size_t sz, bsz = sizeof(struct branch); in intel_bts_process_buffer() local
426 for (; sz > bsz; branch += 1, sz -= bsz) { in intel_bts_process_buffer()
H A Dthread-stack.c621 const size_t bsz = sizeof(struct branch_entry); in thread_stack__br_sample() local
639 memcpy(be, &src->entries[ts->br_stack_pos], bsz * nr); in thread_stack__br_sample()
645 memcpy(be, &src->entries[0], bsz * ts->br_stack_pos); in thread_stack__br_sample()
/openbmc/linux/arch/arm64/crypto/
H A Daes-cipher-core.S84 .macro do_crypt, round, ttab, ltab, bsz
113 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
/openbmc/qemu/block/
H A Draw-format.c551 raw_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in raw_probe_blocksizes() argument
556 ret = bdrv_probe_blocksizes(bs->file->bs, bsz); in raw_probe_blocksizes()
561 if (!QEMU_IS_ALIGNED(s->offset, MAX(bsz->log, bsz->phys))) { in raw_probe_blocksizes()
H A Dnvme.c1025 static int nvme_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in nvme_probe_blocksizes() argument
1028 bsz->phys = blocksize; in nvme_probe_blocksizes()
1029 bsz->log = blocksize; in nvme_probe_blocksizes()
/openbmc/linux/arch/arm/crypto/
H A Daes-cipher-core.S102 .macro do_crypt, round, ttab, ltab, bsz argument
172 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b, rounds
/openbmc/linux/net/tipc/
H A Dmsg.c488 u32 msz, bsz, offset, pad; in tipc_msg_bundle() local
491 bsz = msg_size(bmsg); in tipc_msg_bundle()
492 offset = BUF_ALIGN(bsz); in tipc_msg_bundle()
493 pad = offset - bsz; in tipc_msg_bundle()
/openbmc/qemu/
H A Dqemu-img.c5006 int bsz; /* Block size */ member
5029 in->bsz = out->bsz = res; in img_dd_bs()
5100 .bsz = 512, /* Block size is by default 512 bytes */ in img_dd()
5106 .bsz = 512, in img_dd()
5245 dd.count * in.bsz < size) { in img_dd()
5246 size = dd.count * in.bsz; in img_dd()
5251 size < in.bsz * in.offset)) { in img_dd()
5281 size < in.offset * in.bsz)) { in img_dd()
5288 in_pos = in.offset * in.bsz; in img_dd()
5291 in.buf = g_new(uint8_t, in.bsz); in img_dd()
[all …]
/openbmc/qemu/hw/s390x/
H A Dcss.c850 static inline uint16_t ida_continuous_left(hwaddr cda, uint64_t bsz) in ida_continuous_left() argument
852 return bsz - (cda & (bsz - 1)); in ida_continuous_left()
904 uint64_t bsz = ccw_ida_block_size(cds->flags); in ccw_dstream_rw_ida() local
918 cont_left = ida_continuous_left(cds->cda, bsz); in ccw_dstream_rw_ida()
920 cont_left = ida_continuous_left(cds->cda, bsz); in ccw_dstream_rw_ida()
921 if (cont_left == bsz) { in ccw_dstream_rw_ida()
926 if (cds->cda & (bsz - 1)) { in ccw_dstream_rw_ida()
958 cont_left = bsz; in ccw_dstream_rw_ida()
/openbmc/qemu/include/sysemu/
H A Dblock-backend-global-state.h117 int blk_probe_blocksizes(BlockBackend *blk, BlockSizes *bsz);
/openbmc/linux/drivers/pcmcia/
H A Dcistpl.c980 int i, j, bsz, lsz; in parse_io() local
996 bsz = (*p & 0x30) >> 4; in parse_io()
997 if (bsz == 3) in parse_io()
998 bsz++; in parse_io()
1007 for (j = 0; j < bsz; j++, p++) { in parse_io()
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c257 int granule_sz, uint64_t *bsz) in get_block_pte_address() argument
261 *bsz = 1ULL << n; in get_block_pte_address()
/openbmc/u-boot/fs/ubifs/
H A Dlpt.c607 int blnum, boffs, bsz, bcnt; in ubifs_create_dflt_lpt() local
691 bsz = c->pnode_sz; /* Size of nodes in level below */ in ubifs_create_dflt_lpt()
743 if (boffs + bsz > c->leb_size) { in ubifs_create_dflt_lpt()
749 boffs += bsz; in ubifs_create_dflt_lpt()
766 bsz = c->nnode_sz; in ubifs_create_dflt_lpt()
/openbmc/qemu/include/block/
H A Dblock-global-state.h291 int GRAPH_RDLOCK bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz);
H A Dblock_int-common.h391 BlockDriverState *bs, BlockSizes *bsz);
/openbmc/linux/fs/ubifs/
H A Dlpt.c603 int blnum, boffs, bsz, bcnt; in ubifs_create_dflt_lpt() local
697 bsz = c->pnode_sz; /* Size of nodes in level below */ in ubifs_create_dflt_lpt()
753 if (boffs + bsz > c->leb_size) { in ubifs_create_dflt_lpt()
759 boffs += bsz; in ubifs_create_dflt_lpt()
776 bsz = c->nnode_sz; in ubifs_create_dflt_lpt()
/openbmc/linux/fs/jfs/
H A Djfs_dmap.c2691 int budsz, bud, w, bsz, size; in dbBackSplit() local
2722 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit()
2724 if (bsz >= le32_to_cpu(tp->dmt_nleafs)) { in dbBackSplit()
2731 bud = w ^ bsz; in dbBackSplit()
/openbmc/linux/mm/
H A Dfilemap.c2995 size_t offset, bsz = i_blocksize(mapping->host); in folio_seek_hole_data() local
3008 offset = offset_in_folio(folio, start) & ~(bsz - 1); in folio_seek_hole_data()
3011 if (ops->is_partially_uptodate(folio, offset, bsz) == in folio_seek_hole_data()
3014 start = (start + bsz) & ~(bsz - 1); in folio_seek_hole_data()
3015 offset += bsz; in folio_seek_hole_data()

12