Home
last modified time | relevance | path

Searched refs:bsz (Results 1 – 25 of 27) 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()
/openbmc/linux/include/linux/
H A Dkvm_host.h1782 #define STATS_DESC_COMMON(type, unit, base, exp, sz, bsz) \ argument
1789 .bucket_size = bsz
1791 #define VM_GENERIC_STATS_DESC(stat, type, unit, base, exp, sz, bsz) \ argument
1794 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
1799 #define VCPU_GENERIC_STATS_DESC(stat, type, unit, base, exp, sz, bsz) \ argument
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), \
1815 #define VCPU_STATS_DESC(stat, type, unit, base, exp, sz, bsz) \ argument
1818 STATS_DESC_COMMON(type, unit, base, exp, sz, bsz), \
[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/qemu/block/
H A Draw-format.c546 raw_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in raw_probe_blocksizes() argument
551 ret = bdrv_probe_blocksizes(bs->file->bs, bsz); in raw_probe_blocksizes()
556 if (!QEMU_IS_ALIGNED(s->offset, MAX(bsz->log, bsz->phys))) { in raw_probe_blocksizes()
H A Dnvme.c1028 static int nvme_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in nvme_probe_blocksizes() argument
1031 bsz->phys = blocksize; in nvme_probe_blocksizes()
1032 bsz->log = blocksize; in nvme_probe_blocksizes()
H A Dblock-backend.c2589 int blk_probe_blocksizes(BlockBackend *blk, BlockSizes *bsz) in blk_probe_blocksizes() argument
2598 return bdrv_probe_blocksizes(blk_bs(blk), bsz); in blk_probe_blocksizes()
/openbmc/linux/arch/arm64/crypto/
H A Daes-cipher-core.S84 .macro do_crypt, round, ttab, ltab, bsz argument
113 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
/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.c5002 int bsz; /* Block size */ member
5025 in->bsz = out->bsz = res; in img_dd_bs()
5096 .bsz = 512, /* Block size is by default 512 bytes */ in img_dd()
5102 .bsz = 512, in img_dd()
5240 if (dd.flags & C_COUNT && dd.count <= INT64_MAX / in.bsz && in img_dd()
5241 dd.count * in.bsz < size) { in img_dd()
5242 size = dd.count * in.bsz; in img_dd()
5246 if (dd.flags & C_SKIP && (in.offset > INT64_MAX / in.bsz || in img_dd()
5247 size < in.bsz * in.offset)) { in img_dd()
5251 size - in.bsz * in.offset, &error_abort); in img_dd()
[all …]
/openbmc/qemu/hw/s390x/
H A Dcss.c854 static inline uint16_t ida_continuous_left(hwaddr cda, uint64_t bsz) in ida_continuous_left() argument
856 return bsz - (cda & (bsz - 1)); in ida_continuous_left()
908 uint64_t bsz = ccw_ida_block_size(cds->flags); in ccw_dstream_rw_ida() local
922 cont_left = ida_continuous_left(cds->cda, bsz); in ccw_dstream_rw_ida()
924 cont_left = ida_continuous_left(cds->cda, bsz); in ccw_dstream_rw_ida()
925 if (cont_left == bsz) { in ccw_dstream_rw_ida()
930 if (cds->cda & (bsz - 1)) { in ccw_dstream_rw_ida()
962 cont_left = bsz; in ccw_dstream_rw_ida()
/openbmc/qemu/include/sysemu/
H A Dblock-backend-global-state.h109 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/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.h277 int GRAPH_RDLOCK bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz);
H A Dblock_int-common.h388 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.c2696 int budsz, bud, w, bsz, size; in dbBackSplit() local
2727 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit()
2729 if (bsz >= le32_to_cpu(tp->dmt_nleafs)) { in dbBackSplit()
2736 bud = w ^ bsz; in dbBackSplit()
/openbmc/linux/mm/
H A Dfilemap.c3021 size_t offset, bsz = i_blocksize(mapping->host); in folio_seek_hole_data() local
3034 offset = offset_in_folio(folio, start) & ~(bsz - 1); in folio_seek_hole_data()
3037 if (ops->is_partially_uptodate(folio, offset, bsz) == in folio_seek_hole_data()
3040 start = (start + bsz) & ~((u64)bsz - 1); in folio_seek_hole_data()
3041 offset += bsz; in folio_seek_hole_data()
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c358 int granule_sz, uint64_t *bsz) in get_block_pte_address() argument
362 *bsz = 1ULL << n; in get_block_pte_address()

12