/openbmc/linux/drivers/pci/ |
H A D | ecam.c | 33 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 D | dir.c | 54 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 D | namei.c | 92 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 D | kvm_host.h | 1782 #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 D | acpi.c | 97 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 D | jitdump.c | 142 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 D | intel-bts.c | 411 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 D | thread-stack.c | 621 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 D | raw-format.c | 546 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 D | nvme.c | 1028 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 D | block-backend.c | 2589 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 D | aes-cipher-core.S | 84 .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 D | aes-cipher-core.S | 102 .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 D | msg.c | 488 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 D | qemu-img.c | 5002 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 D | css.c | 854 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 D | block-backend-global-state.h | 109 int blk_probe_blocksizes(BlockBackend *blk, BlockSizes *bsz);
|
/openbmc/linux/drivers/pcmcia/ |
H A D | cistpl.c | 980 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 D | lpt.c | 607 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 D | block-global-state.h | 277 int GRAPH_RDLOCK bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz);
|
H A D | block_int-common.h | 388 BlockDriverState *bs, BlockSizes *bsz);
|
/openbmc/linux/fs/ubifs/ |
H A D | lpt.c | 603 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 D | jfs_dmap.c | 2696 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 D | filemap.c | 3021 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 D | smmu-common.c | 358 int granule_sz, uint64_t *bsz) in get_block_pte_address() argument 362 *bsz = 1ULL << n; in get_block_pte_address()
|