bf                 37 arch/csky/abiv2/inc/abi/entry.h 	bf      1f
bf                 99 arch/csky/abiv2/inc/abi/entry.h 	bf	1f
bf                 60 arch/powerpc/include/asm/kvm_booke_hv_asm.h 	bf	3, 1975f
bf                 96 arch/powerpc/kernel/head_booke.h 	bf	3, 1975f
bf                 54 arch/sh/include/asm/romimage-macros.h 	bf/s    1b
bf                 61 arch/x86/kernel/kprobes/core.c #define W(row, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf)\
bf                 65 arch/x86/kernel/kprobes/core.c 	  (bc##UL << 0xc)|(bd##UL << 0xd)|(be##UL << 0xe)|(bf##UL << 0xf))    \
bf                 46 arch/x86/kernel/uprobes.c #define W(row, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf)\
bf                 50 arch/x86/kernel/uprobes.c 	  (bc##UL << 0xc)|(bd##UL << 0xd)|(be##UL << 0xe)|(bf##UL << 0xf))    \
bf                 36 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.save_hash_state = save_h;
bf                 37 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.save_iv = save_iv;
bf                 38 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.load_hash_state = ld_h;
bf                 39 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.load_iv = ld_iv;
bf                 40 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.hdr_proc = hdr_proc;
bf                 41 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.hash_alg = h;
bf                 42 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.cipher_alg = c;
bf                 43 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.pad_type = pad_type & 3;
bf                 44 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.extend_pad = pad_type >> 2;
bf                 45 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.op_group = op_grp;
bf                 46 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.opcode = op;
bf                 47 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.dir = dir;
bf                 56 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.crypto_mode31 = (cm & 4) >> 2;
bf                 57 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.crypto_mode9_8 = cm & 3;
bf                 58 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.feedback_mode = cfb,
bf                 59 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.sa_rev = 1;
bf                 60 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.hmac_muting = hmac_mc;
bf                 61 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.extended_seq_num = esn;
bf                 62 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.seq_num_mask = sn_mask;
bf                 63 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.mutable_bit_proc = mute;
bf                 64 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.copy_pad = cp_pad;
bf                 65 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.copy_payload = cp_pay;
bf                 66 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.copy_hdr = cp_hdr;
bf                166 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.key_len = keylen >> 3;
bf                170 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.dir = DIR_OUTBOUND;
bf                175 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT;
bf                436 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.key_len = keylen >> 3;
bf                456 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.key_len = keylen >> 3;
bf                477 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2;
bf                481 drivers/crypto/amcc/crypto4xx_alg.c 		sa->sa_command_1.bf.crypto_mode9_8 = 1;
bf                585 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_1.bf.key_len = keylen >> 3;
bf                599 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.dir = DIR_OUTBOUND;
bf                600 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT_HASH;
bf                696 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.digest_len = ds >> 2;
bf                697 drivers/crypto/amcc/crypto4xx_alg.c 	sa->sa_command_0.bf.load_hash_state = SA_LOAD_HASH_FROM_SA;
bf                 63 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_sgpd_en = 1;
bf                 64 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_data_en = 0;
bf                 65 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_sa_en = 1;
bf                 66 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_pd_en = 1;
bf                 67 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.dynamic_sa_en = 1;
bf                 68 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_sg = 1;
bf                 69 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pdr = 1;
bf                 70 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pe = 1;
bf                 73 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.pe_mode = 0;
bf                 74 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_sg = 0;
bf                 75 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pdr = 0;
bf                 76 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pe = 0;
bf                 77 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_td_en = 0;
bf                 87 drivers/crypto/amcc/crypto4xx_core.c 	ring_size.bf.ring_offset = PPC4XX_PD_SIZE;
bf                 88 drivers/crypto/amcc/crypto4xx_core.c 	ring_size.bf.ring_size   = PPC4XX_NUM_PD;
bf                 98 drivers/crypto/amcc/crypto4xx_core.c 	part_ring_size.bf.sdr_size = PPC4XX_SDR_SIZE;
bf                 99 drivers/crypto/amcc/crypto4xx_core.c 	part_ring_size.bf.gdr_size = PPC4XX_GDR_SIZE;
bf                103 drivers/crypto/amcc/crypto4xx_core.c 	io_threshold.bf.output_threshold = PPC4XX_OUTPUT_THRESHOLD;
bf                104 drivers/crypto/amcc/crypto4xx_core.c 	io_threshold.bf.input_threshold  = PPC4XX_INPUT_THRESHOLD;
bf                114 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.pe_mode = 1;
bf                115 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_sg = 0;
bf                116 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pdr = 0;
bf                117 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.reset_pe = 0;
bf                118 drivers/crypto/amcc/crypto4xx_core.c 	pe_dma_cfg.bf.bo_td_en = 0;
bf                493 drivers/crypto/amcc/crypto4xx_core.c 	if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) {
bf                528 drivers/crypto/amcc/crypto4xx_core.c 	if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
bf                537 drivers/crypto/amcc/crypto4xx_core.c 	if (pd_uinfo->sa_va->sa_command_0.bf.save_iv == SA_SAVE_IV) {
bf                582 drivers/crypto/amcc/crypto4xx_core.c 	if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
bf                584 drivers/crypto/amcc/crypto4xx_core.c 					  pd->pd_ctl_len.bf.pkt_len,
bf                591 drivers/crypto/amcc/crypto4xx_core.c 	if (pd_uinfo->sa_va->sa_command_0.bf.dir == DIR_OUTBOUND) {
bf                612 drivers/crypto/amcc/crypto4xx_core.c 	if (pd->pd_ctl.bf.status & 0xff) {
bf                614 drivers/crypto/amcc/crypto4xx_core.c 			if (pd->pd_ctl.bf.status & 2)
bf                616 drivers/crypto/amcc/crypto4xx_core.c 			if (pd->pd_ctl.bf.status & 4)
bf                618 drivers/crypto/amcc/crypto4xx_core.c 			if (pd->pd_ctl.bf.status & 8)
bf                621 drivers/crypto/amcc/crypto4xx_core.c 				pd->pd_ctl.bf.status & 0xff);
bf                623 drivers/crypto/amcc/crypto4xx_core.c 				pd->pd_ctl.bf.pd_pad_ctl);
bf                717 drivers/crypto/amcc/crypto4xx_core.c 	force_sd = (req_sa->sa_command_1.bf.crypto_mode9_8 == CRYPTO_MODE_CFB
bf                718 drivers/crypto/amcc/crypto4xx_core.c 		|| req_sa->sa_command_1.bf.crypto_mode9_8 == CRYPTO_MODE_OFB)
bf                823 drivers/crypto/amcc/crypto4xx_core.c 	sa->sa_command_1.bf.hash_crypto_offset = (assoclen >> 2);
bf                837 drivers/crypto/amcc/crypto4xx_core.c 		sa->sa_command_0.bf.gather = 1;
bf                865 drivers/crypto/amcc/crypto4xx_core.c 		sa->sa_command_0.bf.gather = 0;
bf                877 drivers/crypto/amcc/crypto4xx_core.c 		sa->sa_command_0.bf.scatter = 0;
bf                888 drivers/crypto/amcc/crypto4xx_core.c 		sa->sa_command_0.bf.scatter = 1;
bf                160 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                172 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                184 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                195 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                206 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                255 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                269 drivers/crypto/amcc/crypto4xx_reg_def.h 	} bf;
bf                 40 drivers/crypto/amcc/crypto4xx_sa.h 	} bf;
bf                104 drivers/crypto/amcc/crypto4xx_sa.h 	} bf;
bf                165 drivers/crypto/amcc/crypto4xx_sa.h 	} bf;
bf                279 drivers/crypto/amcc/crypto4xx_sa.h 	offset = cts->sa_contents.bf.key_size
bf                280 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.inner_size
bf                281 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.outer_size
bf                282 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.spi
bf                283 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num0
bf                284 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num1
bf                285 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num_mask0
bf                286 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num_mask1
bf                287 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num_mask2
bf                288 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.seq_num_mask3
bf                289 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.iv0
bf                290 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.iv1
bf                291 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.iv2
bf                292 drivers/crypto/amcc/crypto4xx_sa.h 		+ cts->sa_contents.bf.iv3;
bf                306 drivers/crypto/amcc/crypto4xx_sa.h 		cts->sa_contents.bf.key_size * 4);
bf                 73 drivers/crypto/cavium/zip/zip_inflate.c 		zip_cmd->s.bf = 0;
bf                 75 drivers/crypto/cavium/zip/zip_inflate.c 		zip_cmd->s.bf = 1;
bf                189 drivers/crypto/cavium/zip/zip_regs.h 		u64 bf                          : 1;
bf                201 drivers/crypto/cavium/zip/zip_regs.h 		u64 bf                          : 1;
bf                178 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	u32 spaces, rx_cnt = SS_RX_DEFAULT, bf[32] = {0}, v, ivmode = 0;
bf                408 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	bf[j++] = le32_to_cpu(wb);
bf                427 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 		__be64 *bits = (__be64 *)&bf[j];
bf                431 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 		__le64 *bits = (__le64 *)&bf[j];
bf                435 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	writesl(ss->base + SS_RXFIFO, bf, j);
bf                 42 drivers/gpu/drm/nouveau/nvkm/core/enum.c nvkm_snprintbf(char *data, int size, const struct nvkm_bitfield *bf, u32 value)
bf                 45 drivers/gpu/drm/nouveau/nvkm/core/enum.c 	while (size >= 1 && bf->name) {
bf                 46 drivers/gpu/drm/nouveau/nvkm/core/enum.c 		if (value & bf->mask) {
bf                 48 drivers/gpu/drm/nouveau/nvkm/core/enum.c 					    space ? " " : "", bf->name);
bf                 53 drivers/gpu/drm/nouveau/nvkm/core/enum.c 		bf++;
bf               1808 drivers/infiniband/hw/mlx5/main.c 	if (mlx5_core_is_pf(dev->mdev) && MLX5_CAP_GEN(dev->mdev, bf))
bf                426 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct mlx5_bf	        bf;
bf               1048 drivers/infiniband/hw/mlx5/qp.c 		qp->bf.bfreg = &dev->fp_bfreg;
bf               1050 drivers/infiniband/hw/mlx5/qp.c 		qp->bf.bfreg = &dev->bfreg;
bf               1055 drivers/infiniband/hw/mlx5/qp.c 	qp->bf.buf_size = (1 << MLX5_CAP_GEN(dev->mdev, log_bf_reg_size)) / 2;
bf               1056 drivers/infiniband/hw/mlx5/qp.c 	uar_index = qp->bf.bfreg->index;
bf               4975 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_bf *bf;
bf               4998 drivers/infiniband/hw/mlx5/qp.c 	bf = &qp->bf;
bf               5332 drivers/infiniband/hw/mlx5/qp.c 		mlx5_write64((__be32 *)ctrl, bf->bfreg->map + bf->offset);
bf               5336 drivers/infiniband/hw/mlx5/qp.c 		bf->offset ^= bf->buf_size;
bf                 37 drivers/media/dvb-frontends/zl10036.c 	u8 br, bf;
bf                192 drivers/media/dvb-frontends/zl10036.c 	u8 br, bf;
bf                231 drivers/media/dvb-frontends/zl10036.c 	bf = (fbw * br * 1257) / (_XTAL * 1000) - 1;
bf                234 drivers/media/dvb-frontends/zl10036.c 	if (bf > 62)
bf                235 drivers/media/dvb-frontends/zl10036.c 		bf = 62;
bf                237 drivers/media/dvb-frontends/zl10036.c 	buf_bf[1] = (bf << 1) & 0x7e;
bf                239 drivers/media/dvb-frontends/zl10036.c 	deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf);
bf                247 drivers/media/dvb-frontends/zl10036.c 	if (bf != state->bf) {
bf                264 drivers/media/dvb-frontends/zl10036.c 	state->bf = bf;
bf                398 drivers/media/dvb-frontends/zl10036.c 	state->bf = 0xff;
bf                181 drivers/media/dvb-frontends/zl10039.c 	u8 bf;
bf                195 drivers/media/dvb-frontends/zl10039.c 	bf = ((fbw * 5088) / 1011100) - 1;
bf                208 drivers/media/dvb-frontends/zl10039.c 	buf[5] = bf;
bf                 24 drivers/media/platform/qcom/venus/venc_ctrls.c static int venc_calc_bpframes(u32 gop_size, u32 conseq_b, u32 *bf, u32 *pf)
bf                 33 drivers/media/platform/qcom/venus/venc_ctrls.c 	*bf = *pf = 0;
bf                 63 drivers/media/platform/qcom/venus/venc_ctrls.c 	*bf = b;
bf               1856 drivers/media/radio/radio-wl1273.c 		int bf = radio->rangelow;
bf               1862 drivers/media/radio/radio-wl1273.c 			dev_info(dev, "RX Frequency: %dkHz\n", bf + val*50);
bf                908 drivers/mtd/nand/raw/marvell_nand.c 	int bf;
bf                922 drivers/mtd/nand/raw/marvell_nand.c 	bf = nand_check_erased_ecc_chunk(data, data_len, ecc, ecc_len,
bf                924 drivers/mtd/nand/raw/marvell_nand.c 	if (bf < 0) {
bf                930 drivers/mtd/nand/raw/marvell_nand.c 	mtd->ecc_stats.corrected += bf;
bf                931 drivers/mtd/nand/raw/marvell_nand.c 	*max_bitflips = max_t(unsigned int, *max_bitflips, bf);
bf                946 drivers/mtd/nand/raw/marvell_nand.c 	int bf = 0;
bf                970 drivers/mtd/nand/raw/marvell_nand.c 			bf = NDSR_ERRCNT(ndsr);
bf                972 drivers/mtd/nand/raw/marvell_nand.c 			bf = 1;
bf                976 drivers/mtd/nand/raw/marvell_nand.c 	mtd->ecc_stats.corrected += bf;
bf                977 drivers/mtd/nand/raw/marvell_nand.c 	*max_bitflips = max_t(unsigned int, *max_bitflips, bf);
bf                120 drivers/net/ethernet/mellanox/mlx4/en_tx.c 	err = mlx4_bf_alloc(mdev->dev, &ring->bf, node);
bf                123 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		ring->bf.uar = &mdev->priv_uar;
bf                124 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		ring->bf.uar->map = mdev->uar_map;
bf                169 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		mlx4_bf_free(mdev->dev, &ring->bf);
bf                206 drivers/net/ethernet/mellanox/mlx4/en_tx.c 							 ring->bf.uar->index));
bf                731 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		  ring->bf.uar->map + MLX4_SEND_DOORBELL);
bf                753 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		mlx4_bf_copy(ring->bf.reg + ring->bf.offset, &tx_desc->ctrl,
bf                758 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		ring->bf.offset ^= ring->bf.buf_size;
bf                298 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	struct mlx4_bf		bf;
bf                172 drivers/net/ethernet/mellanox/mlx4/pd.c int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node)
bf                221 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->uar = uar;
bf                222 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->offset = 0;
bf                223 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->buf_size = dev->caps.bf_reg_size / 2;
bf                224 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size;
bf                231 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->uar = NULL;
bf                246 drivers/net/ethernet/mellanox/mlx4/pd.c void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf)
bf                251 drivers/net/ethernet/mellanox/mlx4/pd.c 	if (!bf->uar || !bf->uar->bf_map)
bf                255 drivers/net/ethernet/mellanox/mlx4/pd.c 	idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size;
bf                256 drivers/net/ethernet/mellanox/mlx4/pd.c 	bf->uar->free_bf_bmap &= ~(1 << idx);
bf                257 drivers/net/ethernet/mellanox/mlx4/pd.c 	if (!bf->uar->free_bf_bmap) {
bf                258 drivers/net/ethernet/mellanox/mlx4/pd.c 		if (!list_empty(&bf->uar->bf_list))
bf                259 drivers/net/ethernet/mellanox/mlx4/pd.c 			list_del(&bf->uar->bf_list);
bf                261 drivers/net/ethernet/mellanox/mlx4/pd.c 		io_mapping_unmap(bf->uar->bf_map);
bf                262 drivers/net/ethernet/mellanox/mlx4/pd.c 		iounmap(bf->uar->map);
bf                263 drivers/net/ethernet/mellanox/mlx4/pd.c 		mlx4_uar_free(dev, bf->uar);
bf                264 drivers/net/ethernet/mellanox/mlx4/pd.c 		kfree(bf->uar);
bf                265 drivers/net/ethernet/mellanox/mlx4/pd.c 	} else if (list_empty(&bf->uar->bf_list))
bf                266 drivers/net/ethernet/mellanox/mlx4/pd.c 		list_add(&bf->uar->bf_list, &priv->bf_list);
bf                146 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c mlxsw_sp_acl_bf_rule_count_index_get(struct mlxsw_sp_acl_bf *bf,
bf                150 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	return erp_bank * bf->bank_size + bf_index;
bf                154 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c mlxsw_sp_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf,
bf                167 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 			  struct mlxsw_sp_acl_bf *bf,
bf                177 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_lock(&bf->lock);
bf                179 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	bf_index = mlxsw_sp_acl_bf_index_get(bf, aregion, aentry);
bf                180 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	rule_index = mlxsw_sp_acl_bf_rule_count_index_get(bf, erp_bank,
bf                183 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	if (refcount_inc_not_zero(&bf->refcnt[rule_index])) {
bf                201 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	refcount_set(&bf->refcnt[rule_index], 1);
bf                205 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_unlock(&bf->lock);
bf                211 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 			  struct mlxsw_sp_acl_bf *bf,
bf                220 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_lock(&bf->lock);
bf                222 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	bf_index = mlxsw_sp_acl_bf_index_get(bf, aregion, aentry);
bf                223 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	rule_index = mlxsw_sp_acl_bf_rule_count_index_get(bf, erp_bank,
bf                226 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	if (refcount_dec_and_test(&bf->refcnt[rule_index])) {
bf                238 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_unlock(&bf->lock);
bf                244 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	struct mlxsw_sp_acl_bf *bf;
bf                254 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	bf = kzalloc(struct_size(bf, refcnt, bf_bank_size * num_erp_banks),
bf                256 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	if (!bf)
bf                259 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	bf->bank_size = bf_bank_size;
bf                260 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_init(&bf->lock);
bf                262 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	return bf;
bf                265 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c void mlxsw_sp_acl_bf_fini(struct mlxsw_sp_acl_bf *bf)
bf                267 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	mutex_destroy(&bf->lock);
bf                268 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c 	kfree(bf);
bf                 28 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	struct mlxsw_sp_acl_bf *bf;
bf                533 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 						erp_table->erp_core->bf,
bf                545 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 					  erp_table->erp_core->bf,
bf                560 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 					  erp_table->erp_core->bf,
bf               1045 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 					erp->erp_table->erp_core->bf,
bf               1063 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 				  erp->erp_table->erp_core->bf,
bf               1543 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	erp_core->bf = mlxsw_sp_acl_bf_init(mlxsw_sp, erp_core->num_erp_banks);
bf               1544 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	if (IS_ERR(erp_core->bf)) {
bf               1545 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 		err = PTR_ERR(erp_core->bf);
bf               1557 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	mlxsw_sp_acl_bf_fini(erp_core->bf);
bf               1567 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	mlxsw_sp_acl_bf_fini(erp_core->bf);
bf                291 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h 			  struct mlxsw_sp_acl_bf *bf,
bf                297 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h 			  struct mlxsw_sp_acl_bf *bf,
bf                303 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h void mlxsw_sp_acl_bf_fini(struct mlxsw_sp_acl_bf *bf);
bf                629 drivers/net/wireless/ath/ath5k/base.c ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf)
bf                631 drivers/net/wireless/ath/ath5k/base.c 	struct sk_buff *skb = bf->skb;
bf                636 drivers/net/wireless/ath/ath5k/base.c 		skb = ath5k_rx_skb_alloc(ah, &bf->skbaddr);
bf                639 drivers/net/wireless/ath/ath5k/base.c 		bf->skb = skb;
bf                657 drivers/net/wireless/ath/ath5k/base.c 	ds = bf->desc;
bf                658 drivers/net/wireless/ath/ath5k/base.c 	ds->ds_link = bf->daddr;	/* link to self */
bf                659 drivers/net/wireless/ath/ath5k/base.c 	ds->ds_data = bf->skbaddr;
bf                667 drivers/net/wireless/ath/ath5k/base.c 		*ah->rxlink = bf->daddr;
bf                698 drivers/net/wireless/ath/ath5k/base.c 	       struct ath5k_buf *bf, int idx)
bf                704 drivers/net/wireless/ath/ath5k/base.c 	if (bf->rates[idx].idx < 0) {
bf                708 drivers/net/wireless/ath/ath5k/base.c 	return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ];
bf                714 drivers/net/wireless/ath/ath5k/base.c 			struct ath5k_buf *bf, int idx)
bf                720 drivers/net/wireless/ath/ath5k/base.c 	rate = ath5k_get_rate(hw, info, bf, idx);
bf                724 drivers/net/wireless/ath/ath5k/base.c 	rc_flags = bf->rates[idx].flags;
bf                732 drivers/net/wireless/ath/ath5k/base.c ath5k_txbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf,
bf                736 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_desc *ds = bf->desc;
bf                737 drivers/net/wireless/ath/ath5k/base.c 	struct sk_buff *skb = bf->skb;
bf                751 drivers/net/wireless/ath/ath5k/base.c 	bf->skbaddr = dma_map_single(ah->dev, skb->data, skb->len,
bf                754 drivers/net/wireless/ath/ath5k/base.c 	if (dma_mapping_error(ah->dev, bf->skbaddr))
bf                757 drivers/net/wireless/ath/ath5k/base.c 	ieee80211_get_tx_rates(info->control.vif, (control) ? control->sta : NULL, skb, bf->rates,
bf                758 drivers/net/wireless/ath/ath5k/base.c 			       ARRAY_SIZE(bf->rates));
bf                760 drivers/net/wireless/ath/ath5k/base.c 	rate = ath5k_get_rate(ah->hw, info, bf, 0);
bf                770 drivers/net/wireless/ath/ath5k/base.c 	rc_flags = bf->rates[0].flags;
bf                772 drivers/net/wireless/ath/ath5k/base.c 	hw_rate = ath5k_get_rate_hw_value(ah->hw, info, bf, 0);
bf                801 drivers/net/wireless/ath/ath5k/base.c 		bf->rates[0].count, keyidx, ah->ah_tx_ant, flags,
bf                813 drivers/net/wireless/ath/ath5k/base.c 			rate = ath5k_get_rate(ah->hw, info, bf, i);
bf                817 drivers/net/wireless/ath/ath5k/base.c 			mrr_rate[i] = ath5k_get_rate_hw_value(ah->hw, info, bf, i);
bf                818 drivers/net/wireless/ath/ath5k/base.c 			mrr_tries[i] = bf->rates[i].count;
bf                828 drivers/net/wireless/ath/ath5k/base.c 	ds->ds_data = bf->skbaddr;
bf                831 drivers/net/wireless/ath/ath5k/base.c 	list_add_tail(&bf->list, &txq->q);
bf                834 drivers/net/wireless/ath/ath5k/base.c 		ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr);
bf                836 drivers/net/wireless/ath/ath5k/base.c 		*txq->link = bf->daddr;
bf                844 drivers/net/wireless/ath/ath5k/base.c 	dma_unmap_single(ah->dev, bf->skbaddr, skb->len, DMA_TO_DEVICE);
bf                856 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf                877 drivers/net/wireless/ath/ath5k/base.c 	bf = kcalloc(1 + ATH_TXBUF + ATH_RXBUF + ATH_BCBUF,
bf                879 drivers/net/wireless/ath/ath5k/base.c 	if (bf == NULL) {
bf                884 drivers/net/wireless/ath/ath5k/base.c 	ah->bufptr = bf;
bf                887 drivers/net/wireless/ath/ath5k/base.c 	for (i = 0; i < ATH_RXBUF; i++, bf++, ds++, da += sizeof(*ds)) {
bf                888 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
bf                889 drivers/net/wireless/ath/ath5k/base.c 		bf->daddr = da;
bf                890 drivers/net/wireless/ath/ath5k/base.c 		list_add_tail(&bf->list, &ah->rxbuf);
bf                895 drivers/net/wireless/ath/ath5k/base.c 	for (i = 0; i < ATH_TXBUF; i++, bf++, ds++, da += sizeof(*ds)) {
bf                896 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
bf                897 drivers/net/wireless/ath/ath5k/base.c 		bf->daddr = da;
bf                898 drivers/net/wireless/ath/ath5k/base.c 		list_add_tail(&bf->list, &ah->txbuf);
bf                903 drivers/net/wireless/ath/ath5k/base.c 	for (i = 0; i < ATH_BCBUF; i++, bf++, ds++, da += sizeof(*ds)) {
bf                904 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
bf                905 drivers/net/wireless/ath/ath5k/base.c 		bf->daddr = da;
bf                906 drivers/net/wireless/ath/ath5k/base.c 		list_add_tail(&bf->list, &ah->bcbuf);
bf                918 drivers/net/wireless/ath/ath5k/base.c ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf)
bf                920 drivers/net/wireless/ath/ath5k/base.c 	BUG_ON(!bf);
bf                921 drivers/net/wireless/ath/ath5k/base.c 	if (!bf->skb)
bf                923 drivers/net/wireless/ath/ath5k/base.c 	dma_unmap_single(ah->dev, bf->skbaddr, bf->skb->len,
bf                925 drivers/net/wireless/ath/ath5k/base.c 	ieee80211_free_txskb(ah->hw, bf->skb);
bf                926 drivers/net/wireless/ath/ath5k/base.c 	bf->skb = NULL;
bf                927 drivers/net/wireless/ath/ath5k/base.c 	bf->skbaddr = 0;
bf                928 drivers/net/wireless/ath/ath5k/base.c 	bf->desc->ds_data = 0;
bf                932 drivers/net/wireless/ath/ath5k/base.c ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf)
bf                936 drivers/net/wireless/ath/ath5k/base.c 	BUG_ON(!bf);
bf                937 drivers/net/wireless/ath/ath5k/base.c 	if (!bf->skb)
bf                939 drivers/net/wireless/ath/ath5k/base.c 	dma_unmap_single(ah->dev, bf->skbaddr, common->rx_bufsize,
bf                941 drivers/net/wireless/ath/ath5k/base.c 	dev_kfree_skb_any(bf->skb);
bf                942 drivers/net/wireless/ath/ath5k/base.c 	bf->skb = NULL;
bf                943 drivers/net/wireless/ath/ath5k/base.c 	bf->skbaddr = 0;
bf                944 drivers/net/wireless/ath/ath5k/base.c 	bf->desc->ds_data = 0;
bf                950 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf                952 drivers/net/wireless/ath/ath5k/base.c 	list_for_each_entry(bf, &ah->txbuf, list)
bf                953 drivers/net/wireless/ath/ath5k/base.c 		ath5k_txbuf_free_skb(ah, bf);
bf                954 drivers/net/wireless/ath/ath5k/base.c 	list_for_each_entry(bf, &ah->rxbuf, list)
bf                955 drivers/net/wireless/ath/ath5k/base.c 		ath5k_rxbuf_free_skb(ah, bf);
bf                956 drivers/net/wireless/ath/ath5k/base.c 	list_for_each_entry(bf, &ah->bcbuf, list)
bf                957 drivers/net/wireless/ath/ath5k/base.c 		ath5k_txbuf_free_skb(ah, bf);
bf               1113 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf, *bf0;
bf               1120 drivers/net/wireless/ath/ath5k/base.c 			list_for_each_entry_safe(bf, bf0, &txq->q, list) {
bf               1121 drivers/net/wireless/ath/ath5k/base.c 				ath5k_debug_printtxbuf(ah, bf);
bf               1123 drivers/net/wireless/ath/ath5k/base.c 				ath5k_txbuf_free_skb(ah, bf);
bf               1126 drivers/net/wireless/ath/ath5k/base.c 				list_move_tail(&bf->list, &ah->txbuf);
bf               1163 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf               1173 drivers/net/wireless/ath/ath5k/base.c 	list_for_each_entry(bf, &ah->rxbuf, list) {
bf               1174 drivers/net/wireless/ath/ath5k/base.c 		ret = ath5k_rxbuf_setup(ah, bf);
bf               1180 drivers/net/wireless/ath/ath5k/base.c 	bf = list_first_entry(&ah->rxbuf, struct ath5k_buf, list);
bf               1181 drivers/net/wireless/ath/ath5k/base.c 	ath5k_hw_set_rxdp(ah, bf->daddr);
bf               1546 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf               1556 drivers/net/wireless/ath/ath5k/base.c 		bf = list_first_entry(&ah->rxbuf, struct ath5k_buf, list);
bf               1557 drivers/net/wireless/ath/ath5k/base.c 		BUG_ON(bf->skb == NULL);
bf               1558 drivers/net/wireless/ath/ath5k/base.c 		skb = bf->skb;
bf               1559 drivers/net/wireless/ath/ath5k/base.c 		ds = bf->desc;
bf               1562 drivers/net/wireless/ath/ath5k/base.c 		if (ath5k_hw_get_rxdp(ah) == bf->daddr)
bf               1584 drivers/net/wireless/ath/ath5k/base.c 			dma_unmap_single(ah->dev, bf->skbaddr,
bf               1592 drivers/net/wireless/ath/ath5k/base.c 			bf->skb = next_skb;
bf               1593 drivers/net/wireless/ath/ath5k/base.c 			bf->skbaddr = next_skb_addr;
bf               1596 drivers/net/wireless/ath/ath5k/base.c 		list_move_tail(&bf->list, &ah->rxbuf);
bf               1597 drivers/net/wireless/ath/ath5k/base.c 	} while (ath5k_rxbuf_setup(ah, bf) == 0);
bf               1614 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf               1642 drivers/net/wireless/ath/ath5k/base.c 	bf = list_first_entry(&ah->txbuf, struct ath5k_buf, list);
bf               1643 drivers/net/wireless/ath/ath5k/base.c 	list_del(&bf->list);
bf               1649 drivers/net/wireless/ath/ath5k/base.c 	bf->skb = skb;
bf               1651 drivers/net/wireless/ath/ath5k/base.c 	if (ath5k_txbuf_setup(ah, bf, txq, padsize, control)) {
bf               1652 drivers/net/wireless/ath/ath5k/base.c 		bf->skb = NULL;
bf               1654 drivers/net/wireless/ath/ath5k/base.c 		list_add_tail(&bf->list, &ah->txbuf);
bf               1668 drivers/net/wireless/ath/ath5k/base.c 			 struct ath5k_buf *bf)
bf               1679 drivers/net/wireless/ath/ath5k/base.c 	size = min_t(int, sizeof(info->status.rates), sizeof(bf->rates));
bf               1680 drivers/net/wireless/ath/ath5k/base.c 	memcpy(info->status.rates, bf->rates, size);
bf               1735 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf, *bf0;
bf               1741 drivers/net/wireless/ath/ath5k/base.c 	list_for_each_entry_safe(bf, bf0, &txq->q, list) {
bf               1746 drivers/net/wireless/ath/ath5k/base.c 		if (bf->skb != NULL) {
bf               1747 drivers/net/wireless/ath/ath5k/base.c 			ds = bf->desc;
bf               1759 drivers/net/wireless/ath/ath5k/base.c 			skb = bf->skb;
bf               1760 drivers/net/wireless/ath/ath5k/base.c 			bf->skb = NULL;
bf               1762 drivers/net/wireless/ath/ath5k/base.c 			dma_unmap_single(ah->dev, bf->skbaddr, skb->len,
bf               1764 drivers/net/wireless/ath/ath5k/base.c 			ath5k_tx_frame_completed(ah, skb, txq, &ts, bf);
bf               1773 drivers/net/wireless/ath/ath5k/base.c 		if (ath5k_hw_get_txdp(ah, txq->qnum) != bf->daddr) {
bf               1775 drivers/net/wireless/ath/ath5k/base.c 			list_move_tail(&bf->list, &ah->txbuf);
bf               1809 drivers/net/wireless/ath/ath5k/base.c ath5k_beacon_setup(struct ath5k_hw *ah, struct ath5k_buf *bf)
bf               1811 drivers/net/wireless/ath/ath5k/base.c 	struct sk_buff *skb = bf->skb;
bf               1819 drivers/net/wireless/ath/ath5k/base.c 	bf->skbaddr = dma_map_single(ah->dev, skb->data, skb->len,
bf               1823 drivers/net/wireless/ath/ath5k/base.c 			(unsigned long long)bf->skbaddr);
bf               1825 drivers/net/wireless/ath/ath5k/base.c 	if (dma_mapping_error(ah->dev, bf->skbaddr)) {
bf               1828 drivers/net/wireless/ath/ath5k/base.c 		bf->skb = NULL;
bf               1832 drivers/net/wireless/ath/ath5k/base.c 	ds = bf->desc;
bf               1837 drivers/net/wireless/ath/ath5k/base.c 		ds->ds_link = bf->daddr;	/* self-linked */
bf               1867 drivers/net/wireless/ath/ath5k/base.c 	ds->ds_data = bf->skbaddr;
bf               1880 drivers/net/wireless/ath/ath5k/base.c 	dma_unmap_single(ah->dev, bf->skbaddr, skb->len, DMA_TO_DEVICE);
bf               1932 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_buf *bf;
bf               1983 drivers/net/wireless/ath/ath5k/base.c 	bf = avf->bbuf;
bf               2003 drivers/net/wireless/ath/ath5k/base.c 	if (unlikely(bf->skb == NULL || ah->opmode == NL80211_IFTYPE_STATION ||
bf               2005 drivers/net/wireless/ath/ath5k/base.c 		ATH5K_WARN(ah, "bf=%p bf_skb=%p\n", bf, bf->skb);
bf               2009 drivers/net/wireless/ath/ath5k/base.c 	trace_ath5k_tx(ah, bf->skb, &ah->txqs[ah->bhalq]);
bf               2011 drivers/net/wireless/ath/ath5k/base.c 	ath5k_hw_set_txdp(ah, ah->bhalq, bf->daddr);
bf               2014 drivers/net/wireless/ath/ath5k/base.c 		ah->bhalq, (unsigned long long)bf->daddr, bf->desc);
bf                105 drivers/net/wireless/ath/ath5k/base.h void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
bf                106 drivers/net/wireless/ath/ath5k/base.h void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
bf                836 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_buf *bf, *bf0;
bf                853 drivers/net/wireless/ath/ath5k/debug.c 		list_for_each_entry_safe(bf, bf0, &txq->q, list)
bf               1067 drivers/net/wireless/ath/ath5k/debug.c ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done,
bf               1070 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_desc *ds = bf->desc;
bf               1074 drivers/net/wireless/ath/ath5k/debug.c 		ds, (unsigned long long)bf->daddr,
bf               1085 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_buf *bf;
bf               1096 drivers/net/wireless/ath/ath5k/debug.c 	list_for_each_entry(bf, &ah->rxbuf, list) {
bf               1097 drivers/net/wireless/ath/ath5k/debug.c 		ds = bf->desc;
bf               1100 drivers/net/wireless/ath/ath5k/debug.c 			ath5k_debug_printrxbuf(bf, status == 0, &rs);
bf               1106 drivers/net/wireless/ath/ath5k/debug.c ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf)
bf               1108 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_desc *ds = bf->desc;
bf               1116 drivers/net/wireless/ath/ath5k/debug.c 	done = ah->ah_proc_tx_desc(ah, bf->desc, &ts);
bf               1119 drivers/net/wireless/ath/ath5k/debug.c 		"%08x %c\n", ds, (unsigned long long)bf->daddr, ds->ds_link,
bf                138 drivers/net/wireless/ath/ath5k/debug.h ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf);
bf                161 drivers/net/wireless/ath/ath5k/debug.h ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) {}
bf               2965 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	int bf, factor, plus;
bf               2967 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	bf = 2 * (yb - ya) * (x - xa) / (xb - xa);
bf               2968 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	factor = bf / 2;
bf               2969 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	plus = bf % 2;
bf                175 drivers/net/wireless/ath/ath9k/ath9k.h 	struct ath_buf *bf;
bf                206 drivers/net/wireless/ath/ath9k/ath9k.h #define bf_isampdu(bf)		(bf->bf_state.bf_type & BUF_AMPDU)
bf                207 drivers/net/wireless/ath/ath9k/ath9k.h #define bf_isaggr(bf)		(bf->bf_state.bf_type & BUF_AGGR)
bf                 73 drivers/net/wireless/ath/ath9k/beacon.c 			     struct ath_buf *bf, int rateidx)
bf                 75 drivers/net/wireless/ath/ath9k/beacon.c 	struct sk_buff *skb = bf->bf_mpdu;
bf                 97 drivers/net/wireless/ath/ath9k/beacon.c 	info.buf_addr[0] = bf->bf_buf_addr;
bf                109 drivers/net/wireless/ath/ath9k/beacon.c 	ath9k_hw_set_txdesc(ah, bf->bf_desc, &info);
bf                117 drivers/net/wireless/ath/ath9k/beacon.c 	struct ath_buf *bf;
bf                128 drivers/net/wireless/ath/ath9k/beacon.c 	bf = avp->av_bcbuf;
bf                129 drivers/net/wireless/ath/ath9k/beacon.c 	skb = bf->bf_mpdu;
bf                131 drivers/net/wireless/ath/ath9k/beacon.c 		dma_unmap_single(sc->dev, bf->bf_buf_addr,
bf                134 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_buf_addr = 0;
bf                135 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_mpdu = NULL;
bf                142 drivers/net/wireless/ath/ath9k/beacon.c 	bf->bf_mpdu = skb;
bf                155 drivers/net/wireless/ath/ath9k/beacon.c 	bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
bf                157 drivers/net/wireless/ath/ath9k/beacon.c 	if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) {
bf                159 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_mpdu = NULL;
bf                160 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_buf_addr = 0;
bf                187 drivers/net/wireless/ath/ath9k/beacon.c 	ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx);
bf                192 drivers/net/wireless/ath/ath9k/beacon.c 	return bf;
bf                221 drivers/net/wireless/ath/ath9k/beacon.c 	struct ath_buf *bf = avp->av_bcbuf;
bf                228 drivers/net/wireless/ath/ath9k/beacon.c 	if (bf && bf->bf_mpdu) {
bf                229 drivers/net/wireless/ath/ath9k/beacon.c 		struct sk_buff *skb = bf->bf_mpdu;
bf                230 drivers/net/wireless/ath/ath9k/beacon.c 		dma_unmap_single(sc->dev, bf->bf_buf_addr,
bf                233 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_mpdu = NULL;
bf                234 drivers/net/wireless/ath/ath9k/beacon.c 		bf->bf_buf_addr = 0;
bf                239 drivers/net/wireless/ath/ath9k/beacon.c 	list_add_tail(&bf->list, &sc->beacon.bbuf);
bf                393 drivers/net/wireless/ath/ath9k/beacon.c 	struct ath_buf *bf = NULL;
bf                462 drivers/net/wireless/ath/ath9k/beacon.c 	bf = ath9k_beacon_generate(sc->hw, vif);
bf                496 drivers/net/wireless/ath/ath9k/beacon.c 	if (bf) {
bf                503 drivers/net/wireless/ath/ath9k/beacon.c 		ath9k_hw_puttxbuf(ah, sc->beacon.beaconq, bf->bf_daddr);
bf                782 drivers/net/wireless/ath/ath9k/debug.c void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
bf                789 drivers/net/wireless/ath/ath9k/debug.c 	sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len;
bf                791 drivers/net/wireless/ath/ath9k/debug.c 	if (bf_isampdu(bf)) {
bf                258 drivers/net/wireless/ath/ath9k/debug.h void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
bf                294 drivers/net/wireless/ath/ath9k/debug.h 				     struct ath_buf *bf,
bf                341 drivers/net/wireless/ath/ath9k/init.c 		struct ath_buf *bf;
bf                344 drivers/net/wireless/ath/ath9k/init.c 		bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL);
bf                345 drivers/net/wireless/ath/ath9k/init.c 		if (!bf)
bf                348 drivers/net/wireless/ath/ath9k/init.c 		for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) {
bf                349 drivers/net/wireless/ath/ath9k/init.c 			bf->bf_desc = ds;
bf                350 drivers/net/wireless/ath/ath9k/init.c 			bf->bf_daddr = DS2PHYS(dd, ds);
bf                359 drivers/net/wireless/ath/ath9k/init.c 				while (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr)) {
bf                360 drivers/net/wireless/ath/ath9k/init.c 					BUG_ON((caddr_t) bf->bf_desc >=
bf                365 drivers/net/wireless/ath/ath9k/init.c 					bf->bf_desc = ds;
bf                366 drivers/net/wireless/ath/ath9k/init.c 					bf->bf_daddr = DS2PHYS(dd, ds);
bf                369 drivers/net/wireless/ath/ath9k/init.c 			list_add_tail(&bf->list, head);
bf                372 drivers/net/wireless/ath/ath9k/init.c 		struct ath_rxbuf *bf;
bf                375 drivers/net/wireless/ath/ath9k/init.c 		bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL);
bf                376 drivers/net/wireless/ath/ath9k/init.c 		if (!bf)
bf                379 drivers/net/wireless/ath/ath9k/init.c 		for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) {
bf                380 drivers/net/wireless/ath/ath9k/init.c 			bf->bf_desc = ds;
bf                381 drivers/net/wireless/ath/ath9k/init.c 			bf->bf_daddr = DS2PHYS(dd, ds);
bf                390 drivers/net/wireless/ath/ath9k/init.c 				while (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr)) {
bf                391 drivers/net/wireless/ath/ath9k/init.c 					BUG_ON((caddr_t) bf->bf_desc >=
bf                396 drivers/net/wireless/ath/ath9k/init.c 					bf->bf_desc = ds;
bf                397 drivers/net/wireless/ath/ath9k/init.c 					bf->bf_daddr = DS2PHYS(dd, ds);
bf                400 drivers/net/wireless/ath/ath9k/init.c 			list_add_tail(&bf->list, head);
bf               2150 drivers/net/wireless/ath/ath9k/main.c 	struct ath_buf *bf;
bf               2167 drivers/net/wireless/ath/ath9k/main.c 		bf = avp->av_bcbuf;
bf               2168 drivers/net/wireless/ath/ath9k/main.c 		if (!bf || !bf->bf_mpdu)
bf               2171 drivers/net/wireless/ath/ath9k/main.c 		status = ath9k_hw_txprocdesc(ah, bf->bf_desc, &ts);
bf                 37 drivers/net/wireless/ath/ath9k/recv.c static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf,
bf                 45 drivers/net/wireless/ath/ath9k/recv.c 	ds = bf->bf_desc;
bf                 47 drivers/net/wireless/ath/ath9k/recv.c 	ds->ds_data = bf->bf_buf_addr;
bf                 50 drivers/net/wireless/ath/ath9k/recv.c 	skb = bf->bf_mpdu;
bf                 64 drivers/net/wireless/ath/ath9k/recv.c 		*sc->rx.rxlink = bf->bf_daddr;
bf                 66 drivers/net/wireless/ath/ath9k/recv.c 		ath9k_hw_putrxbuf(ah, bf->bf_daddr);
bf                 71 drivers/net/wireless/ath/ath9k/recv.c static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf,
bf                 77 drivers/net/wireless/ath/ath9k/recv.c 	sc->rx.buf_hold = bf;
bf                116 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                122 drivers/net/wireless/ath/ath9k/recv.c 	bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list);
bf                123 drivers/net/wireless/ath/ath9k/recv.c 	list_del_init(&bf->list);
bf                125 drivers/net/wireless/ath/ath9k/recv.c 	skb = bf->bf_mpdu;
bf                128 drivers/net/wireless/ath/ath9k/recv.c 	dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
bf                131 drivers/net/wireless/ath/ath9k/recv.c 	SKB_CB_ATHBUF(skb) = bf;
bf                132 drivers/net/wireless/ath/ath9k/recv.c 	ath9k_hw_addrxbuf_edma(ah, bf->bf_buf_addr, qtype);
bf                142 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf, *tbf;
bf                149 drivers/net/wireless/ath/ath9k/recv.c 	list_for_each_entry_safe(bf, tbf, &sc->rx.rxbuf, list)
bf                158 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                165 drivers/net/wireless/ath/ath9k/recv.c 		bf = SKB_CB_ATHBUF(skb);
bf                166 drivers/net/wireless/ath/ath9k/recv.c 		BUG_ON(!bf);
bf                167 drivers/net/wireless/ath/ath9k/recv.c 		list_add_tail(&bf->list, &sc->rx.rxbuf);
bf                175 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                180 drivers/net/wireless/ath/ath9k/recv.c 	list_for_each_entry(bf, &sc->rx.rxbuf, list) {
bf                181 drivers/net/wireless/ath/ath9k/recv.c 		if (bf->bf_mpdu) {
bf                182 drivers/net/wireless/ath/ath9k/recv.c 			dma_unmap_single(sc->dev, bf->bf_buf_addr,
bf                185 drivers/net/wireless/ath/ath9k/recv.c 			dev_kfree_skb_any(bf->bf_mpdu);
bf                186 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_buf_addr = 0;
bf                187 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_mpdu = NULL;
bf                203 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                216 drivers/net/wireless/ath/ath9k/recv.c 	bf = devm_kzalloc(sc->dev, size, GFP_KERNEL);
bf                217 drivers/net/wireless/ath/ath9k/recv.c 	if (!bf)
bf                222 drivers/net/wireless/ath/ath9k/recv.c 	for (i = 0; i < nbufs; i++, bf++) {
bf                230 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_mpdu = skb;
bf                232 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
bf                236 drivers/net/wireless/ath/ath9k/recv.c 						bf->bf_buf_addr))) {
bf                238 drivers/net/wireless/ath/ath9k/recv.c 				bf->bf_mpdu = NULL;
bf                239 drivers/net/wireless/ath/ath9k/recv.c 				bf->bf_buf_addr = 0;
bf                246 drivers/net/wireless/ath/ath9k/recv.c 		list_add_tail(&bf->list, &sc->rx.rxbuf);
bf                275 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                300 drivers/net/wireless/ath/ath9k/recv.c 	list_for_each_entry(bf, &sc->rx.rxbuf, list) {
bf                308 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_mpdu = skb;
bf                309 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
bf                313 drivers/net/wireless/ath/ath9k/recv.c 					       bf->bf_buf_addr))) {
bf                315 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_mpdu = NULL;
bf                316 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_buf_addr = 0;
bf                336 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                343 drivers/net/wireless/ath/ath9k/recv.c 	list_for_each_entry(bf, &sc->rx.rxbuf, list) {
bf                344 drivers/net/wireless/ath/ath9k/recv.c 		skb = bf->bf_mpdu;
bf                346 drivers/net/wireless/ath/ath9k/recv.c 			dma_unmap_single(sc->dev, bf->bf_buf_addr,
bf                350 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_buf_addr = 0;
bf                351 drivers/net/wireless/ath/ath9k/recv.c 			bf->bf_mpdu = NULL;
bf                443 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf, *tbf;
bf                455 drivers/net/wireless/ath/ath9k/recv.c 	list_for_each_entry_safe(bf, tbf, &sc->rx.rxbuf, list) {
bf                456 drivers/net/wireless/ath/ath9k/recv.c 		ath_rx_buf_link(sc, bf, false);
bf                463 drivers/net/wireless/ath/ath9k/recv.c 	bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list);
bf                464 drivers/net/wireless/ath/ath9k/recv.c 	ath9k_hw_putrxbuf(ah, bf->bf_daddr);
bf                635 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                642 drivers/net/wireless/ath/ath9k/recv.c 	bf = SKB_CB_ATHBUF(skb);
bf                643 drivers/net/wireless/ath/ath9k/recv.c 	BUG_ON(!bf);
bf                645 drivers/net/wireless/ath/ath9k/recv.c 	dma_sync_single_for_cpu(sc->dev, bf->bf_buf_addr,
bf                651 drivers/net/wireless/ath/ath9k/recv.c 		dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
bf                659 drivers/net/wireless/ath/ath9k/recv.c 		list_add_tail(&bf->list, &sc->rx.rxbuf);
bf                664 drivers/net/wireless/ath/ath9k/recv.c 			bf = SKB_CB_ATHBUF(skb);
bf                665 drivers/net/wireless/ath/ath9k/recv.c 			BUG_ON(!bf);
bf                668 drivers/net/wireless/ath/ath9k/recv.c 			list_add_tail(&bf->list, &sc->rx.rxbuf);
bf                672 drivers/net/wireless/ath/ath9k/recv.c 		bf = NULL;
bf                675 drivers/net/wireless/ath/ath9k/recv.c 	*dest = bf;
bf                683 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf = NULL;
bf                685 drivers/net/wireless/ath/ath9k/recv.c 	while (ath_edma_get_buffers(sc, qtype, rs, &bf)) {
bf                686 drivers/net/wireless/ath/ath9k/recv.c 		if (!bf)
bf                689 drivers/net/wireless/ath/ath9k/recv.c 		return bf;
bf                700 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf                708 drivers/net/wireless/ath/ath9k/recv.c 	bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list);
bf                709 drivers/net/wireless/ath/ath9k/recv.c 	if (bf == sc->rx.buf_hold)
bf                712 drivers/net/wireless/ath/ath9k/recv.c 	ds = bf->bf_desc;
bf                732 drivers/net/wireless/ath/ath9k/recv.c 		if (list_is_last(&bf->list, &sc->rx.rxbuf)) {
bf                737 drivers/net/wireless/ath/ath9k/recv.c 		tbf = list_entry(bf->list.next, struct ath_rxbuf, list);
bf                770 drivers/net/wireless/ath/ath9k/recv.c 	list_del(&bf->list);
bf                771 drivers/net/wireless/ath/ath9k/recv.c 	if (!bf->bf_mpdu)
bf                772 drivers/net/wireless/ath/ath9k/recv.c 		return bf;
bf                779 drivers/net/wireless/ath/ath9k/recv.c 	dma_sync_single_for_cpu(sc->dev, bf->bf_buf_addr,
bf                783 drivers/net/wireless/ath/ath9k/recv.c 	return bf;
bf               1061 drivers/net/wireless/ath/ath9k/recv.c 	struct ath_rxbuf *bf;
bf               1092 drivers/net/wireless/ath/ath9k/recv.c 			bf = ath_edma_get_next_rx_buf(sc, &rs, qtype);
bf               1094 drivers/net/wireless/ath/ath9k/recv.c 			bf = ath_get_next_rx_buf(sc, &rs);
bf               1096 drivers/net/wireless/ath/ath9k/recv.c 		if (!bf)
bf               1099 drivers/net/wireless/ath/ath9k/recv.c 		skb = bf->bf_mpdu;
bf               1142 drivers/net/wireless/ath/ath9k/recv.c 		dma_unmap_single(sc->dev, bf->bf_buf_addr,
bf               1145 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_mpdu = requeue_skb;
bf               1146 drivers/net/wireless/ath/ath9k/recv.c 		bf->bf_buf_addr = new_buf_addr;
bf               1219 drivers/net/wireless/ath/ath9k/recv.c 		list_add_tail(&bf->list, &sc->rx.rxbuf);
bf               1222 drivers/net/wireless/ath/ath9k/recv.c 			ath_rx_buf_relink(sc, bf, flush);
bf                 55 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
bf                 61 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf,
bf                 65 drivers/net/wireless/ath/ath9k/xmit.c 			      struct ath_buf *bf);
bf                158 drivers/net/wireless/ath/ath9k/xmit.c 			  struct ath_buf *bf)
bf                160 drivers/net/wireless/ath/ath9k/xmit.c 	ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates,
bf                161 drivers/net/wireless/ath/ath9k/xmit.c 			       ARRAY_SIZE(bf->rates));
bf                236 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf                248 drivers/net/wireless/ath/ath9k/xmit.c 		bf = fi->bf;
bf                249 drivers/net/wireless/ath/ath9k/xmit.c 		if (!bf) {
bf                256 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_update_baw(sc, tid, bf);
bf                260 drivers/net/wireless/ath/ath9k/xmit.c 		list_add_tail(&bf->list, &bf_head);
bf                261 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_buf(sc, bf, txq, &bf_head, NULL, &ts, 0);
bf                272 drivers/net/wireless/ath/ath9k/xmit.c 			      struct ath_buf *bf)
bf                274 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu);
bf                275 drivers/net/wireless/ath/ath9k/xmit.c 	u16 seqno = bf->bf_state.seqno;
bf                295 drivers/net/wireless/ath/ath9k/xmit.c 			     struct ath_buf *bf)
bf                297 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu);
bf                298 drivers/net/wireless/ath/ath9k/xmit.c 	u16 seqno = bf->bf_state.seqno;
bf                321 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf                332 drivers/net/wireless/ath/ath9k/xmit.c 		bf = fi->bf;
bf                334 drivers/net/wireless/ath/ath9k/xmit.c 		if (!bf) {
bf                339 drivers/net/wireless/ath/ath9k/xmit.c 		list_add_tail(&bf->list, &bf_head);
bf                340 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_buf(sc, bf, txq, &bf_head, NULL, &ts, 0);
bf                348 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = fi->bf;
bf                360 drivers/net/wireless/ath/ath9k/xmit.c 	dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
bf                366 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = NULL;
bf                375 drivers/net/wireless/ath/ath9k/xmit.c 	bf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
bf                376 drivers/net/wireless/ath/ath9k/xmit.c 	list_del(&bf->list);
bf                380 drivers/net/wireless/ath/ath9k/xmit.c 	return bf;
bf                383 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf)
bf                386 drivers/net/wireless/ath/ath9k/xmit.c 	list_add_tail(&bf->list, &sc->tx.txbuf);
bf                390 drivers/net/wireless/ath/ath9k/xmit.c static struct ath_buf* ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf)
bf                400 drivers/net/wireless/ath/ath9k/xmit.c 	tbf->bf_mpdu = bf->bf_mpdu;
bf                401 drivers/net/wireless/ath/ath9k/xmit.c 	tbf->bf_buf_addr = bf->bf_buf_addr;
bf                402 drivers/net/wireless/ath/ath9k/xmit.c 	memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len);
bf                403 drivers/net/wireless/ath/ath9k/xmit.c 	tbf->bf_state = bf->bf_state;
bf                409 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf,
bf                421 drivers/net/wireless/ath/ath9k/xmit.c 	isaggr = bf_isaggr(bf);
bf                427 drivers/net/wireless/ath/ath9k/xmit.c 	while (bf) {
bf                428 drivers/net/wireless/ath/ath9k/xmit.c 		ba_index = ATH_BA_INDEX(seq_st, bf->bf_state.seqno);
bf                434 drivers/net/wireless/ath/ath9k/xmit.c 		bf = bf->bf_next;
bf                440 drivers/net/wireless/ath/ath9k/xmit.c 				 struct ath_buf *bf, struct list_head *bf_q,
bf                448 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf_next, *bf_last = bf->bf_lastbf;
bf                462 drivers/net/wireless/ath/ath9k/xmit.c 	skb = bf->bf_mpdu;
bf                465 drivers/net/wireless/ath/ath9k/xmit.c 	memcpy(rates, bf->rates, sizeof(rates));
bf                473 drivers/net/wireless/ath/ath9k/xmit.c 		while (bf) {
bf                474 drivers/net/wireless/ath/ath9k/xmit.c 			bf_next = bf->bf_next;
bf                476 drivers/net/wireless/ath/ath9k/xmit.c 			if (!bf->bf_state.stale || bf_next != NULL)
bf                477 drivers/net/wireless/ath/ath9k/xmit.c 				list_move_tail(&bf->list, &bf_head);
bf                479 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_complete_buf(sc, bf, txq, &bf_head, NULL, ts, 0);
bf                481 drivers/net/wireless/ath/ath9k/xmit.c 			bf = bf_next;
bf                501 drivers/net/wireless/ath/ath9k/xmit.c 	isaggr = bf_isaggr(bf);
bf                523 drivers/net/wireless/ath/ath9k/xmit.c 	ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad);
bf                524 drivers/net/wireless/ath/ath9k/xmit.c 	while (bf) {
bf                525 drivers/net/wireless/ath/ath9k/xmit.c 		u16 seqno = bf->bf_state.seqno;
bf                528 drivers/net/wireless/ath/ath9k/xmit.c 		bf_next = bf->bf_next;
bf                530 drivers/net/wireless/ath/ath9k/xmit.c 		skb = bf->bf_mpdu;
bf                552 drivers/net/wireless/ath/ath9k/xmit.c 				ath_tx_set_retry(sc, txq, bf->bf_mpdu,
bf                569 drivers/net/wireless/ath/ath9k/xmit.c 			list_move_tail(&bf->list, &bf_head);
bf                576 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_update_baw(sc, tid, bf);
bf                580 drivers/net/wireless/ath/ath9k/xmit.c 				ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok);
bf                582 drivers/net/wireless/ath/ath9k/xmit.c 				if (bf == bf->bf_lastbf)
bf                584 drivers/net/wireless/ath/ath9k/xmit.c 								bf->bf_mpdu,
bf                588 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_complete_buf(sc, bf, txq, &bf_head, sta, ts,
bf                596 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf->bf_next == NULL && bf_last->bf_state.stale) {
bf                606 drivers/net/wireless/ath/ath9k/xmit.c 					ath_tx_update_baw(sc, tid, bf);
bf                608 drivers/net/wireless/ath/ath9k/xmit.c 					ath_tx_complete_buf(sc, bf, txq,
bf                616 drivers/net/wireless/ath/ath9k/xmit.c 				fi->bf = tbf;
bf                626 drivers/net/wireless/ath/ath9k/xmit.c 		bf = bf_next;
bf                657 drivers/net/wireless/ath/ath9k/xmit.c static bool bf_is_ampdu_not_probing(struct ath_buf *bf)
bf                659 drivers/net/wireless/ath/ath9k/xmit.c     struct ieee80211_tx_info *info = IEEE80211_SKB_CB(bf->bf_mpdu);
bf                660 drivers/net/wireless/ath/ath9k/xmit.c     return bf_isampdu(bf) && !(info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE);
bf                665 drivers/net/wireless/ath/ath9k/xmit.c 				 struct ath_buf *bf,
bf                674 drivers/net/wireless/ath/ath9k/xmit.c 		int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i);
bf                675 drivers/net/wireless/ath/ath9k/xmit.c 		airtime += rate_dur * bf->rates[i].count;
bf                682 drivers/net/wireless/ath/ath9k/xmit.c 				  struct ath_tx_status *ts, struct ath_buf *bf,
bf                697 drivers/net/wireless/ath/ath9k/xmit.c 	if (bf_is_ampdu_not_probing(bf))
bf                700 drivers/net/wireless/ath/ath9k/xmit.c 	ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc,
bf                703 drivers/net/wireless/ath/ath9k/xmit.c 	hdr = (struct ieee80211_hdr *) bf->bf_mpdu->data;
bf                707 drivers/net/wireless/ath/ath9k/xmit.c 		tid = ath_get_skb_tid(sc, an, bf->bf_mpdu);
bf                708 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_count_airtime(sc, sta, bf, ts, tid->tidno);
bf                713 drivers/net/wireless/ath/ath9k/xmit.c 	if (!bf_isampdu(bf)) {
bf                715 drivers/net/wireless/ath/ath9k/xmit.c 			info = IEEE80211_SKB_CB(bf->bf_mpdu);
bf                716 drivers/net/wireless/ath/ath9k/xmit.c 			memcpy(info->control.rates, bf->rates,
bf                718 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_rc_status(sc, bf, ts, 1, txok ? 0 : 1, txok);
bf                719 drivers/net/wireless/ath/ath9k/xmit.c 			ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts,
bf                722 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_buf(sc, bf, txq, bf_head, sta, ts, txok);
bf                724 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_aggr(sc, txq, bf, bf_head, sta, tid, ts, txok);
bf                730 drivers/net/wireless/ath/ath9k/xmit.c static bool ath_lookup_legacy(struct ath_buf *bf)
bf                737 drivers/net/wireless/ath/ath9k/xmit.c 	skb = bf->bf_mpdu;
bf                752 drivers/net/wireless/ath/ath9k/xmit.c static u32 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf,
bf                763 drivers/net/wireless/ath/ath9k/xmit.c 	skb = bf->bf_mpdu;
bf                765 drivers/net/wireless/ath/ath9k/xmit.c 	rates = bf->rates;
bf                824 drivers/net/wireless/ath/ath9k/xmit.c 				  struct ath_buf *bf, u16 frmlen,
bf                832 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu);
bf                868 drivers/net/wireless/ath/ath9k/xmit.c 	rix = bf->rates[0].idx;
bf                869 drivers/net/wireless/ath/ath9k/xmit.c 	flags = bf->rates[0].flags;
bf                899 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf                910 drivers/net/wireless/ath/ath9k/xmit.c 		bf = fi->bf;
bf                911 drivers/net/wireless/ath/ath9k/xmit.c 		if (!fi->bf)
bf                912 drivers/net/wireless/ath/ath9k/xmit.c 			bf = ath_tx_setup_buffer(sc, txq, tid, skb);
bf                914 drivers/net/wireless/ath/ath9k/xmit.c 			bf->bf_state.stale = false;
bf                916 drivers/net/wireless/ath/ath9k/xmit.c 		if (!bf) {
bf                922 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_next = NULL;
bf                923 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_lastbf = bf;
bf                938 drivers/net/wireless/ath/ath9k/xmit.c 			bf->bf_state.bf_type = 0;
bf                942 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.bf_type = BUF_AMPDU | BUF_AGGR;
bf                943 drivers/net/wireless/ath/ath9k/xmit.c 		seqno = bf->bf_state.seqno;
bf                966 drivers/net/wireless/ath/ath9k/xmit.c 			list_add(&bf->list, &bf_head);
bf                967 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_update_baw(sc, tid, bf);
bf                968 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_complete_buf(sc, bf, txq, &bf_head, NULL, &ts, 0);
bf                972 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf_isampdu(bf))
bf                973 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_addto_baw(sc, tid, bf);
bf                978 drivers/net/wireless/ath/ath9k/xmit.c 	*buf = bf;
bf                988 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = bf_first, *bf_prev = NULL;
bf                997 drivers/net/wireless/ath/ath9k/xmit.c 	bf = bf_first;
bf                998 drivers/net/wireless/ath/ath9k/xmit.c 	aggr_limit = ath_lookup_rate(sc, bf, tid);
bf               1000 drivers/net/wireless/ath/ath9k/xmit.c 	while (bf)
bf               1002 drivers/net/wireless/ath/ath9k/xmit.c 		skb = bf->bf_mpdu;
bf               1009 drivers/net/wireless/ath/ath9k/xmit.c 			    ath_lookup_legacy(bf) || nframes >= h_baw)
bf               1012 drivers/net/wireless/ath/ath9k/xmit.c 			tx_info = IEEE80211_SKB_CB(bf->bf_mpdu);
bf               1030 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_next = NULL;
bf               1033 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.ndelim = ndelim;
bf               1035 drivers/net/wireless/ath/ath9k/xmit.c 		list_add_tail(&bf->list, bf_q);
bf               1037 drivers/net/wireless/ath/ath9k/xmit.c 			bf_prev->bf_next = bf;
bf               1039 drivers/net/wireless/ath/ath9k/xmit.c 		bf_prev = bf;
bf               1041 drivers/net/wireless/ath/ath9k/xmit.c 		ret = ath_tx_get_tid_subframe(sc, txq, tid, &bf);
bf               1047 drivers/net/wireless/ath/ath9k/xmit.c 	__skb_queue_tail(&tid->retry_q, bf->bf_mpdu);
bf               1049 drivers/net/wireless/ath/ath9k/xmit.c 	bf = bf_first;
bf               1050 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_lastbf = bf_prev;
bf               1052 drivers/net/wireless/ath/ath9k/xmit.c 	if (bf == bf_prev) {
bf               1053 drivers/net/wireless/ath/ath9k/xmit.c 		al = get_frame_info(bf->bf_mpdu)->framelen;
bf               1054 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.bf_type = BUF_AMPDU;
bf               1130 drivers/net/wireless/ath/ath9k/xmit.c static u8 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf,
bf               1142 drivers/net/wireless/ath/ath9k/xmit.c 	skb = bf->bf_mpdu;
bf               1190 drivers/net/wireless/ath/ath9k/xmit.c 	} else if (!bf->bf_state.bfs_paprd) {
bf               1204 drivers/net/wireless/ath/ath9k/xmit.c static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf,
bf               1214 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_frame_info *fi = get_frame_info(bf->bf_mpdu);
bf               1219 drivers/net/wireless/ath/ath9k/xmit.c 	skb = bf->bf_mpdu;
bf               1221 drivers/net/wireless/ath/ath9k/xmit.c 	rates = bf->rates;
bf               1228 drivers/net/wireless/ath/ath9k/xmit.c 	for (i = 0; i < ARRAY_SIZE(bf->rates); i++) {
bf               1241 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf_isampdu(bf) && !bf_isaggr(bf) &&
bf               1275 drivers/net/wireless/ath/ath9k/xmit.c 			info->txpower[i] = ath_get_rate_txpower(sc, bf, rix,
bf               1296 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf->bf_state.bfs_paprd)
bf               1306 drivers/net/wireless/ath/ath9k/xmit.c 		info->txpower[i] = ath_get_rate_txpower(sc, bf, rix, false,
bf               1311 drivers/net/wireless/ath/ath9k/xmit.c 	if (bf_isaggr(bf) && (len > sc->sc_ah->caps.rts_aggr_limit))
bf               1342 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf,
bf               1356 drivers/net/wireless/ath/ath9k/xmit.c 	while (bf) {
bf               1357 drivers/net/wireless/ath/ath9k/xmit.c 		struct sk_buff *skb = bf->bf_mpdu;
bf               1360 drivers/net/wireless/ath/ath9k/xmit.c 		bool aggr = !!(bf->bf_state.bf_type & BUF_AGGR);
bf               1363 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf->bf_next)
bf               1364 drivers/net/wireless/ath/ath9k/xmit.c 			info.link = bf->bf_next->bf_daddr;
bf               1366 drivers/net/wireless/ath/ath9k/xmit.c 			info.link = (sc->tx99_state) ? bf->bf_daddr : 0;
bf               1369 drivers/net/wireless/ath/ath9k/xmit.c 			bf_first = bf;
bf               1382 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf->bf_state.bfs_paprd)
bf               1383 drivers/net/wireless/ath/ath9k/xmit.c 				info.flags |= (u32) bf->bf_state.bfs_paprd <<
bf               1393 drivers/net/wireless/ath/ath9k/xmit.c 			if (aggr && (bf == bf_first) &&
bf               1405 drivers/net/wireless/ath/ath9k/xmit.c 			ath_buf_set_rate(sc, bf, &info, len, rts);
bf               1408 drivers/net/wireless/ath/ath9k/xmit.c 		info.buf_addr[0] = bf->bf_buf_addr;
bf               1415 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf == bf_first)
bf               1417 drivers/net/wireless/ath/ath9k/xmit.c 			else if (bf == bf_first->bf_lastbf)
bf               1422 drivers/net/wireless/ath/ath9k/xmit.c 			info.ndelim = bf->bf_state.ndelim;
bf               1426 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf == bf_first->bf_lastbf)
bf               1429 drivers/net/wireless/ath/ath9k/xmit.c 		ath9k_hw_set_txdesc(ah, bf->bf_desc, &info);
bf               1430 drivers/net/wireless/ath/ath9k/xmit.c 		bf = bf->bf_next;
bf               1439 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = bf_first, *bf_prev = NULL;
bf               1446 drivers/net/wireless/ath/ath9k/xmit.c 		list_add_tail(&bf->list, bf_q);
bf               1448 drivers/net/wireless/ath/ath9k/xmit.c 			bf_prev->bf_next = bf;
bf               1449 drivers/net/wireless/ath/ath9k/xmit.c 		bf_prev = bf;
bf               1454 drivers/net/wireless/ath/ath9k/xmit.c 		ret = ath_tx_get_tid_subframe(sc, txq, tid, &bf);
bf               1458 drivers/net/wireless/ath/ath9k/xmit.c 		tx_info = IEEE80211_SKB_CB(bf->bf_mpdu);
bf               1460 drivers/net/wireless/ath/ath9k/xmit.c 			__skb_queue_tail(&tid->retry_q, bf->bf_mpdu);
bf               1464 drivers/net/wireless/ath/ath9k/xmit.c 		ath_set_rates(tid->an->vif, tid->an->sta, bf);
bf               1471 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = NULL;
bf               1479 drivers/net/wireless/ath/ath9k/xmit.c 	ret = ath_tx_get_tid_subframe(sc, txq, tid, &bf);
bf               1483 drivers/net/wireless/ath/ath9k/xmit.c 	tx_info = IEEE80211_SKB_CB(bf->bf_mpdu);
bf               1487 drivers/net/wireless/ath/ath9k/xmit.c 		__skb_queue_tail(&tid->retry_q, bf->bf_mpdu);
bf               1491 drivers/net/wireless/ath/ath9k/xmit.c 	ath_set_rates(tid->an->vif, tid->an->sta, bf);
bf               1493 drivers/net/wireless/ath/ath9k/xmit.c 		aggr_len = ath_tx_form_aggr(sc, txq, tid, &bf_q, bf);
bf               1495 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_form_burst(sc, txq, tid, &bf_q, bf);
bf               1505 drivers/net/wireless/ath/ath9k/xmit.c 	ath_tx_fill_desc(sc, bf, txq, aggr_len);
bf               1609 drivers/net/wireless/ath/ath9k/xmit.c ath9k_set_moredata(struct ath_softc *sc, struct ath_buf *bf, bool val)
bf               1615 drivers/net/wireless/ath/ath9k/xmit.c 	hdr = (struct ieee80211_hdr *) bf->bf_mpdu->data;
bf               1618 drivers/net/wireless/ath/ath9k/xmit.c 		dma_sync_single_for_device(sc->dev, bf->bf_buf_addr,
bf               1634 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf_tail = NULL, *bf = NULL;
bf               1650 drivers/net/wireless/ath/ath9k/xmit.c 						      tid, &bf);
bf               1654 drivers/net/wireless/ath/ath9k/xmit.c 			ath9k_set_moredata(sc, bf, true);
bf               1655 drivers/net/wireless/ath/ath9k/xmit.c 			list_add_tail(&bf->list, &bf_q);
bf               1656 drivers/net/wireless/ath/ath9k/xmit.c 			ath_set_rates(tid->an->vif, tid->an->sta, bf);
bf               1657 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf_isampdu(bf))
bf               1658 drivers/net/wireless/ath/ath9k/xmit.c 				bf->bf_state.bf_type &= ~BUF_AGGR;
bf               1660 drivers/net/wireless/ath/ath9k/xmit.c 				bf_tail->bf_next = bf;
bf               1662 drivers/net/wireless/ath/ath9k/xmit.c 			bf_tail = bf;
bf               1682 drivers/net/wireless/ath/ath9k/xmit.c 	bf = list_first_entry(&bf_q, struct ath_buf, list);
bf               1684 drivers/net/wireless/ath/ath9k/xmit.c 	ath_tx_fill_desc(sc, bf, txq, 0);
bf               1810 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf, *lastbf;
bf               1819 drivers/net/wireless/ath/ath9k/xmit.c 		bf = list_first_entry(list, struct ath_buf, list);
bf               1821 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf->bf_state.stale) {
bf               1822 drivers/net/wireless/ath/ath9k/xmit.c 			list_del(&bf->list);
bf               1824 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_return_buffer(sc, bf);
bf               1828 drivers/net/wireless/ath/ath9k/xmit.c 		lastbf = bf->bf_lastbf;
bf               1830 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head);
bf               1981 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf, *bf_last;
bf               1994 drivers/net/wireless/ath/ath9k/xmit.c 	bf = list_first_entry(head, struct ath_buf, list);
bf               2008 drivers/net/wireless/ath/ath9k/xmit.c 			ath9k_hw_set_desc_link(ah, txq->axq_link, bf->bf_daddr);
bf               2011 drivers/net/wireless/ath/ath9k/xmit.c 				ito64(bf->bf_daddr), bf->bf_desc);
bf               2020 drivers/net/wireless/ath/ath9k/xmit.c 		ath9k_hw_puttxbuf(ah, txq->axq_qnum, bf->bf_daddr);
bf               2022 drivers/net/wireless/ath/ath9k/xmit.c 			txq->axq_qnum, ito64(bf->bf_daddr), bf->bf_desc);
bf               2031 drivers/net/wireless/ath/ath9k/xmit.c 		while (bf) {
bf               2033 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf_is_ampdu_not_probing(bf))
bf               2036 drivers/net/wireless/ath/ath9k/xmit.c 			bf_last = bf->bf_lastbf;
bf               2037 drivers/net/wireless/ath/ath9k/xmit.c 			bf = bf_last->bf_next;
bf               2049 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf = fi->bf;
bf               2052 drivers/net/wireless/ath/ath9k/xmit.c 	list_add_tail(&bf->list, &bf_head);
bf               2053 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_state.bf_type = 0;
bf               2055 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.bf_type = BUF_AMPDU;
bf               2056 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_addto_baw(sc, tid, bf);
bf               2059 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_next = NULL;
bf               2060 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_lastbf = bf;
bf               2061 drivers/net/wireless/ath/ath9k/xmit.c 	ath_tx_fill_desc(sc, bf, txq, fi->framelen);
bf               2152 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf               2156 drivers/net/wireless/ath/ath9k/xmit.c 	bf = ath_tx_get_buffer(sc);
bf               2157 drivers/net/wireless/ath/ath9k/xmit.c 	if (!bf) {
bf               2162 drivers/net/wireless/ath/ath9k/xmit.c 	ATH_TXBUF_RESET(bf);
bf               2175 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.seqno = seqno;
bf               2178 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_mpdu = skb;
bf               2180 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_buf_addr = dma_map_single(sc->dev, skb->data,
bf               2182 drivers/net/wireless/ath/ath9k/xmit.c 	if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) {
bf               2183 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_mpdu = NULL;
bf               2184 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_buf_addr = 0;
bf               2187 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_return_buffer(sc, bf);
bf               2191 drivers/net/wireless/ath/ath9k/xmit.c 	fi->bf = bf;
bf               2193 drivers/net/wireless/ath/ath9k/xmit.c 	return bf;
bf               2276 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf               2307 drivers/net/wireless/ath/ath9k/xmit.c 	bf = ath_tx_setup_buffer(sc, txq, tid, skb);
bf               2308 drivers/net/wireless/ath/ath9k/xmit.c 	if (!bf) {
bf               2317 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_state.bfs_paprd = txctl->paprd;
bf               2320 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_state.bfs_paprd_timestamp = jiffies;
bf               2322 drivers/net/wireless/ath/ath9k/xmit.c 	ath_set_rates(vif, sta, bf);
bf               2340 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf               2355 drivers/net/wireless/ath/ath9k/xmit.c 		bf = ath_tx_setup_buffer(sc, txctl.txq, NULL, skb);
bf               2356 drivers/net/wireless/ath/ath9k/xmit.c 		if (!bf)
bf               2359 drivers/net/wireless/ath/ath9k/xmit.c 		bf->bf_lastbf = bf;
bf               2360 drivers/net/wireless/ath/ath9k/xmit.c 		ath_set_rates(vif, NULL, bf);
bf               2361 drivers/net/wireless/ath/ath9k/xmit.c 		ath_buf_set_rate(sc, bf, &info, fi->framelen, false);
bf               2364 drivers/net/wireless/ath/ath9k/xmit.c 			bf_tail->bf_next = bf;
bf               2366 drivers/net/wireless/ath/ath9k/xmit.c 		list_add_tail(&bf->list, &bf_q);
bf               2367 drivers/net/wireless/ath/ath9k/xmit.c 		bf_tail = bf;
bf               2382 drivers/net/wireless/ath/ath9k/xmit.c 	bf = list_last_entry(&bf_q, struct ath_buf, list);
bf               2383 drivers/net/wireless/ath/ath9k/xmit.c 	ath9k_set_moredata(sc, bf, false);
bf               2385 drivers/net/wireless/ath/ath9k/xmit.c 	bf = list_first_entry(&bf_q, struct ath_buf, list);
bf               2387 drivers/net/wireless/ath/ath9k/xmit.c 	ath_tx_fill_desc(sc, bf, txctl.txq, 0);
bf               2449 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
bf               2454 drivers/net/wireless/ath/ath9k/xmit.c 	struct sk_buff *skb = bf->bf_mpdu;
bf               2465 drivers/net/wireless/ath/ath9k/xmit.c 	dma_unmap_single(sc->dev, bf->bf_buf_addr, skb->len, DMA_TO_DEVICE);
bf               2466 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_buf_addr = 0;
bf               2470 drivers/net/wireless/ath/ath9k/xmit.c 	if (bf->bf_state.bfs_paprd) {
bf               2472 drivers/net/wireless/ath/ath9k/xmit.c 				bf->bf_state.bfs_paprd_timestamp +
bf               2478 drivers/net/wireless/ath/ath9k/xmit.c 		ath_debug_stat_tx(sc, bf, ts, txq, tx_flags);
bf               2485 drivers/net/wireless/ath/ath9k/xmit.c 	bf->bf_mpdu = NULL;
bf               2495 drivers/net/wireless/ath/ath9k/xmit.c static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf,
bf               2499 drivers/net/wireless/ath/ath9k/xmit.c 	struct sk_buff *skb = bf->bf_mpdu;
bf               2557 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf, *lastbf, *bf_held = NULL;
bf               2577 drivers/net/wireless/ath/ath9k/xmit.c 		bf = list_first_entry(&txq->axq_q, struct ath_buf, list);
bf               2588 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf->bf_state.stale) {
bf               2589 drivers/net/wireless/ath/ath9k/xmit.c 			bf_held = bf;
bf               2593 drivers/net/wireless/ath/ath9k/xmit.c 			bf = list_entry(bf_held->list.next, struct ath_buf,
bf               2597 drivers/net/wireless/ath/ath9k/xmit.c 		lastbf = bf->bf_lastbf;
bf               2623 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head);
bf               2648 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf, *lastbf;
bf               2692 drivers/net/wireless/ath/ath9k/xmit.c 		bf = list_first_entry(fifo_list, struct ath_buf, list);
bf               2693 drivers/net/wireless/ath/ath9k/xmit.c 		if (bf->bf_state.stale) {
bf               2694 drivers/net/wireless/ath/ath9k/xmit.c 			list_del(&bf->list);
bf               2695 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_return_buffer(sc, bf);
bf               2696 drivers/net/wireless/ath/ath9k/xmit.c 			bf = list_first_entry(fifo_list, struct ath_buf, list);
bf               2699 drivers/net/wireless/ath/ath9k/xmit.c 		lastbf = bf->bf_lastbf;
bf               2716 drivers/net/wireless/ath/ath9k/xmit.c 			if (bf != lastbf)
bf               2721 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head);
bf               2848 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_buf *bf;
bf               2869 drivers/net/wireless/ath/ath9k/xmit.c 	bf = ath_tx_setup_buffer(sc, txctl->txq, NULL, skb);
bf               2870 drivers/net/wireless/ath/ath9k/xmit.c 	if (!bf) {
bf               2875 drivers/net/wireless/ath/ath9k/xmit.c 	ath_set_rates(sc->tx99_vif, NULL, bf);
bf               2877 drivers/net/wireless/ath/ath9k/xmit.c 	ath9k_hw_set_desc_link(sc->sc_ah, bf->bf_desc, bf->bf_daddr);
bf               1344 drivers/net/wireless/ath/wil6210/debugfs.c DEFINE_SHOW_ATTRIBUTE(bf);
bf                382 drivers/net/wireless/wl3501_cs.c static int wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf)
bf                407 drivers/net/wireless/wl3501_cs.c 				void *bf, int size)
bf                411 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_request_mib(this, index, bf);
bf                420 drivers/net/wireless/wl3501_cs.c 	memcpy(bf, this->sig_get_confirm.mib_value, size);
bf                468 drivers/net/wireless/wl3501_cs.c 	u16 bf, sig_bf, next, tmplen, pktlen;
bf                480 drivers/net/wireless/wl3501_cs.c 		bf = wl3501_get_tx_buffer(this, len + 26 + 24);
bf                481 drivers/net/wireless/wl3501_cs.c 		if (!bf) {
bf                490 drivers/net/wireless/wl3501_cs.c 		sig.data = bf;
bf                496 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2 +
bf                508 drivers/net/wireless/wl3501_cs.c 					  bf + 2 + sizeof(struct wl3501_tx_hdr),
bf                511 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
bf                512 drivers/net/wireless/wl3501_cs.c 			bf = next;
bf                524 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2 +
bf                528 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
bf                529 drivers/net/wireless/wl3501_cs.c 			bf = next;
bf                539 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2, pdata, tmplen);
bf                541 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
bf                542 drivers/net/wireless/wl3501_cs.c 			bf = next;
bf                764 drivers/net/wireless/wl3501_cs.c static u16 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size)
bf                767 drivers/net/wireless/wl3501_cs.c 	u8 *data = bf + 12;
bf                429 drivers/staging/fbtft/fbtft-core.c static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf)
bf                432 drivers/staging/fbtft/fbtft-core.c 	chan >>= 16 - bf->length;
bf                433 drivers/staging/fbtft/fbtft-core.c 	return chan << bf->offset;
bf                382 drivers/staging/sm750fb/sm750.c 					 struct fb_bitfield *bf)
bf                385 drivers/staging/sm750fb/sm750.c 	chan >>= 16 - bf->length;
bf                386 drivers/staging/sm750fb/sm750.c 	return chan << bf->offset;
bf                252 drivers/staging/uwb/beacon.c 				  struct uwb_beacon_frame *bf,
bf                301 drivers/staging/uwb/beacon.c 			     struct uwb_beacon_frame *bf)
bf                307 drivers/staging/uwb/beacon.c 	uwb_mac_addr_print(macbuf, sizeof(macbuf), &bf->Device_Identifier);
bf                308 drivers/staging/uwb/beacon.c 	uwb_dev_addr_print(devbuf, sizeof(devbuf), &bf->hdr.SrcAddr);
bf                309 drivers/staging/uwb/beacon.c 	uwb_dev_addr_print(dstbuf, sizeof(dstbuf), &bf->hdr.DestAddr);
bf                313 drivers/staging/uwb/beacon.c 		 bf->Beacon_Slot_Number, macbuf);
bf                324 drivers/staging/uwb/beacon.c 	struct uwb_beacon_frame *bf;
bf                332 drivers/staging/uwb/beacon.c 		bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo;
bf                334 drivers/staging/uwb/beacon.c 		ies = (struct uwb_ie_hdr *)bf->IEData;
bf                351 drivers/staging/uwb/beacon.c 	struct uwb_beacon_frame *bf;
bf                355 drivers/staging/uwb/beacon.c 	if (evt->notif.size < sizeof(*be) + sizeof(*bf)) {
bf                358 drivers/staging/uwb/beacon.c 			sizeof(*be) + sizeof(*bf));
bf                384 drivers/staging/uwb/beacon.c 	struct uwb_beacon_frame *bf;
bf                399 drivers/staging/uwb/beacon.c 	bf = (struct uwb_beacon_frame *) be->BeaconInfo;
bf                409 drivers/staging/uwb/beacon.c 	if (uwb_mac_addr_bcast(&bf->Device_Identifier))
bf                413 drivers/staging/uwb/beacon.c 	bce = __uwb_beca_find_bymac(rc, &bf->Device_Identifier);
bf                416 drivers/staging/uwb/beacon.c 		uwb_beacon_print(evt->rc, be, bf);
bf                417 drivers/staging/uwb/beacon.c 		bce = __uwb_beca_add(rc, be, bf, evt->ts_jiffies);
bf                432 drivers/staging/uwb/beacon.c 	bce->dev_addr = bf->hdr.SrcAddr;
bf                433 drivers/staging/uwb/beacon.c 	bce->mac_addr = &bf->Device_Identifier;
bf                137 drivers/staging/uwb/lc-dev.c 	struct uwb_beacon_frame *bf;
bf                142 drivers/staging/uwb/lc-dev.c 	bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo;
bf                144 drivers/staging/uwb/lc-dev.c 		- (u16)(bf->Beacon_Slot_Number * UWB_BEACON_SLOT_LENGTH_US);
bf                519 drivers/usb/host/ehci-dbg.c 	u16			*bf;
bf                554 drivers/usb/host/ehci-dbg.c 		bf = tt->bandwidth;
bf                557 drivers/usb/host/ehci-dbg.c 				bf[0], bf[1], bf[2], bf[3],
bf                558 drivers/usb/host/ehci-dbg.c 					bf[4], bf[5], bf[6], bf[7]);
bf                336 drivers/video/fbdev/amba-clcd.c static inline u32 convert_bitfield(int val, struct fb_bitfield *bf)
bf                338 drivers/video/fbdev/amba-clcd.c 	unsigned int mask = (1 << bf->length) - 1;
bf                340 drivers/video/fbdev/amba-clcd.c 	return (val >> (16 - bf->length) & mask) << bf->offset;
bf                691 drivers/video/fbdev/atmel_lcdfb.c static inline unsigned int chan_to_field(unsigned int chan, const struct fb_bitfield *bf)
bf                694 drivers/video/fbdev/atmel_lcdfb.c 	chan >>= 16 - bf->length;
bf                695 drivers/video/fbdev/atmel_lcdfb.c 	return chan << bf->offset;
bf                261 drivers/video/fbdev/cyber2000fb.c static inline u32 convert_bitfield(u_int val, struct fb_bitfield *bf)
bf                263 drivers/video/fbdev/cyber2000fb.c 	u_int mask = (1 << bf->length) - 1;
bf                265 drivers/video/fbdev/cyber2000fb.c 	return (val >> (16 - bf->length) & mask) << bf->offset;
bf                146 drivers/video/fbdev/geode/gx1fb_core.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                149 drivers/video/fbdev/geode/gx1fb_core.c 	chan >>= 16 - bf->length;
bf                150 drivers/video/fbdev/geode/gx1fb_core.c 	return chan << bf->offset;
bf                171 drivers/video/fbdev/geode/gxfb_core.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                174 drivers/video/fbdev/geode/gxfb_core.c 	chan >>= 16 - bf->length;
bf                175 drivers/video/fbdev/geode/gxfb_core.c 	return chan << bf->offset;
bf                279 drivers/video/fbdev/geode/lxfb_core.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                282 drivers/video/fbdev/geode/lxfb_core.c 	chan >>= 16 - bf->length;
bf                283 drivers/video/fbdev/geode/lxfb_core.c 	return chan << bf->offset;
bf                 64 drivers/video/fbdev/goldfishfb.c static inline u32 convert_bitfield(int val, struct fb_bitfield *bf)
bf                 66 drivers/video/fbdev/goldfishfb.c 	unsigned int mask = (1 << bf->length) - 1;
bf                 68 drivers/video/fbdev/goldfishfb.c 	return (val >> (16 - bf->length) & mask) << bf->offset;
bf                570 drivers/video/fbdev/hyperv_fb.c static inline u32 chan_to_field(u32 chan, struct fb_bitfield *bf)
bf                572 drivers/video/fbdev/hyperv_fb.c 	return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset;
bf                251 drivers/video/fbdev/imxfb.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                254 drivers/video/fbdev/imxfb.c 	chan >>= 16 - bf->length;
bf                255 drivers/video/fbdev/imxfb.c 	return chan << bf->offset;
bf                 70 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 					 struct fb_bitfield *bf)
bf                 73 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	chan >>= 16 - bf->length;
bf                 74 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c 	return chan << bf->offset;
bf                299 drivers/video/fbdev/mmp/fb/mmpfb.c static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf)
bf                301 drivers/video/fbdev/mmp/fb/mmpfb.c 	return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset;
bf               1018 drivers/video/fbdev/mx3fb.c static u32 chan_to_field(unsigned int chan, struct fb_bitfield *bf)
bf               1021 drivers/video/fbdev/mx3fb.c 	chan >>= 16 - bf->length;
bf               1022 drivers/video/fbdev/mx3fb.c 	return chan << bf->offset;
bf                474 drivers/video/fbdev/pxa168fb.c static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf)
bf                476 drivers/video/fbdev/pxa168fb.c 	return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset;
bf                134 drivers/video/fbdev/pxafb.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                137 drivers/video/fbdev/pxafb.c 	chan >>= 16 - bf->length;
bf                138 drivers/video/fbdev/pxafb.c 	return chan << bf->offset;
bf                723 drivers/video/fbdev/s3c-fb.c 					 struct fb_bitfield *bf)
bf                726 drivers/video/fbdev/s3c-fb.c 	chan >>= 16 - bf->length;
bf                727 drivers/video/fbdev/s3c-fb.c 	return chan << bf->offset;
bf                479 drivers/video/fbdev/s3c2410fb.c 					 struct fb_bitfield *bf)
bf                482 drivers/video/fbdev/s3c2410fb.c 	chan >>= 16 - bf->length;
bf                483 drivers/video/fbdev/s3c2410fb.c 	return chan << bf->offset;
bf                247 drivers/video/fbdev/sa1100fb.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                250 drivers/video/fbdev/sa1100fb.c 	chan >>= 16 - bf->length;
bf                251 drivers/video/fbdev/sa1100fb.c 	return chan << bf->offset;
bf                899 drivers/video/fbdev/sm501fb.c 					 struct fb_bitfield *bf)
bf                902 drivers/video/fbdev/sm501fb.c 	chan >>= 16 - bf->length;
bf                903 drivers/video/fbdev/sm501fb.c 	return chan << bf->offset;
bf                880 drivers/video/fbdev/sm712fb.c 					 struct fb_bitfield *bf)
bf                883 drivers/video/fbdev/sm712fb.c 	chan >>= 16 - bf->length;
bf                884 drivers/video/fbdev/sm712fb.c 	return chan << bf->offset;
bf                132 drivers/video/fbdev/vt8500lcdfb.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                135 drivers/video/fbdev/vt8500lcdfb.c 	chan >>= 16 - bf->length;
bf                136 drivers/video/fbdev/vt8500lcdfb.c 	return chan << bf->offset;
bf                185 drivers/video/fbdev/wm8505fb.c static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
bf                188 drivers/video/fbdev/wm8505fb.c 	chan >>= 16 - bf->length;
bf                189 drivers/video/fbdev/wm8505fb.c 	return chan << bf->offset;
bf               6660 fs/ocfs2/alloc.c 	struct ocfs2_cached_block_free *bf;
bf               6688 fs/ocfs2/alloc.c 		bf = fl->f_first;
bf               6689 fs/ocfs2/alloc.c 		fl->f_first = bf->free_next;
bf               6691 fs/ocfs2/alloc.c 		new_eb_bh[i] = sb_getblk(osb->sb, bf->free_blk);
bf               6700 fs/ocfs2/alloc.c 		     bf->free_blk, osb->slot_num, real_slot);
bf               6719 fs/ocfs2/alloc.c 		eb->h_blkno = cpu_to_le64(bf->free_blk);
bf               6722 fs/ocfs2/alloc.c 		eb->h_suballoc_loc = cpu_to_le64(bf->free_bg);
bf               6723 fs/ocfs2/alloc.c 		eb->h_suballoc_bit = cpu_to_le16(bf->free_bit);
bf               6736 fs/ocfs2/alloc.c 		kfree(bf);
bf                166 fs/xfs/libxfs/xfs_dir2.h 		struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
bf                169 fs/xfs/libxfs/xfs_dir2_block.c 	struct xfs_dir2_data_free	*bf;
bf                175 fs/xfs/libxfs/xfs_dir2_block.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf                181 fs/xfs/libxfs/xfs_dir2_block.c 		if (be16_to_cpu(bf[0].length) >= len) {
bf                186 fs/xfs/libxfs/xfs_dir2_block.c 			      ((char *)hdr + be16_to_cpu(bf[0].offset));
bf                234 fs/xfs/libxfs/xfs_dir2_block.c 		      ((char *)hdr + be16_to_cpu(bf[0].offset));
bf                251 fs/xfs/libxfs/xfs_dir2_block.c 			if (be16_to_cpu(bf[1].length) >= len)
bf                253 fs/xfs/libxfs/xfs_dir2_block.c 				      ((char *)hdr + be16_to_cpu(bf[1].offset));
bf                 22 fs/xfs/libxfs/xfs_dir2_data.c 		struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
bf                 37 fs/xfs/libxfs/xfs_dir2_data.c 	xfs_dir2_data_free_t	*bf;		/* bestfree table */
bf                106 fs/xfs/libxfs/xfs_dir2_data.c 	bf = ops->data_bestfree_p(hdr);
bf                108 fs/xfs/libxfs/xfs_dir2_data.c 	if (!bf[0].length) {
bf                109 fs/xfs/libxfs/xfs_dir2_data.c 		if (bf[0].offset)
bf                113 fs/xfs/libxfs/xfs_dir2_data.c 	if (!bf[1].length) {
bf                114 fs/xfs/libxfs/xfs_dir2_data.c 		if (bf[1].offset)
bf                118 fs/xfs/libxfs/xfs_dir2_data.c 	if (!bf[2].length) {
bf                119 fs/xfs/libxfs/xfs_dir2_data.c 		if (bf[2].offset)
bf                124 fs/xfs/libxfs/xfs_dir2_data.c 	if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length))
bf                126 fs/xfs/libxfs/xfs_dir2_data.c 	if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length))
bf                148 fs/xfs/libxfs/xfs_dir2_data.c 			fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp);
bf                152 fs/xfs/libxfs/xfs_dir2_data.c 				i = (int)(dfp - bf);
bf                158 fs/xfs/libxfs/xfs_dir2_data.c 				    be16_to_cpu(bf[2].length))
bf                386 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free	*bf,
bf                403 fs/xfs/libxfs/xfs_dir2_data.c 	for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) {
bf                428 fs/xfs/libxfs/xfs_dir2_data.c 		if (dfp > &bf[0] &&
bf                434 fs/xfs/libxfs/xfs_dir2_data.c 	*bf_ent = xfs_dir2_data_freefind(hdr, bf, dup);
bf                445 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf,		/* bestfree table pointer */
bf                458 fs/xfs/libxfs/xfs_dir2_data.c 	    be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length))
bf                463 fs/xfs/libxfs/xfs_dir2_data.c 	for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) {
bf                525 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf,		/* bestfree table pointer */
bf                538 fs/xfs/libxfs/xfs_dir2_data.c 	if (dfp == &bf[0]) {
bf                539 fs/xfs/libxfs/xfs_dir2_data.c 		bf[0] = bf[1];
bf                540 fs/xfs/libxfs/xfs_dir2_data.c 		bf[1] = bf[2];
bf                545 fs/xfs/libxfs/xfs_dir2_data.c 	else if (dfp == &bf[1])
bf                546 fs/xfs/libxfs/xfs_dir2_data.c 		bf[1] = bf[2];
bf                551 fs/xfs/libxfs/xfs_dir2_data.c 		ASSERT(dfp == &bf[2]);
bf                555 fs/xfs/libxfs/xfs_dir2_data.c 	bf[2].length = 0;
bf                556 fs/xfs/libxfs/xfs_dir2_data.c 	bf[2].offset = 0;
bf                572 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf;
bf                584 fs/xfs/libxfs/xfs_dir2_data.c 	bf = ops->data_bestfree_p(hdr);
bf                585 fs/xfs/libxfs/xfs_dir2_data.c 	memset(bf, 0, sizeof(*bf) * XFS_DIR2_DATA_FD_COUNT);
bf                603 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeinsert(hdr, bf, dup, loghead);
bf                642 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf;
bf                678 fs/xfs/libxfs/xfs_dir2_data.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf                679 fs/xfs/libxfs/xfs_dir2_data.c 	bf[0].offset = cpu_to_be16(dp->d_ops->data_entry_offset);
bf                681 fs/xfs/libxfs/xfs_dir2_data.c 		bf[i].length = 0;
bf                682 fs/xfs/libxfs/xfs_dir2_data.c 		bf[i].offset = 0;
bf                692 fs/xfs/libxfs/xfs_dir2_data.c 	bf[0].length = cpu_to_be16(t);
bf                797 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf;
bf                837 fs/xfs/libxfs/xfs_dir2_data.c 	bf = args->dp->d_ops->data_bestfree_p(hdr);
bf                844 fs/xfs/libxfs/xfs_dir2_data.c 		dfp = xfs_dir2_data_freefind(hdr, bf, prevdup);
bf                845 fs/xfs/libxfs/xfs_dir2_data.c 		dfp2 = xfs_dir2_data_freefind(hdr, bf, postdup);
bf                852 fs/xfs/libxfs/xfs_dir2_data.c 		needscan = (bf[2].length != 0);
bf                868 fs/xfs/libxfs/xfs_dir2_data.c 			if (dfp == &bf[1]) {
bf                869 fs/xfs/libxfs/xfs_dir2_data.c 				dfp = &bf[0];
bf                871 fs/xfs/libxfs/xfs_dir2_data.c 				dfp2 = &bf[1];
bf                873 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp2, needlogp);
bf                874 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp, needlogp);
bf                878 fs/xfs/libxfs/xfs_dir2_data.c 			dfp = xfs_dir2_data_freeinsert(hdr, bf, prevdup,
bf                880 fs/xfs/libxfs/xfs_dir2_data.c 			ASSERT(dfp == &bf[0]);
bf                890 fs/xfs/libxfs/xfs_dir2_data.c 		dfp = xfs_dir2_data_freefind(hdr, bf, prevdup);
bf                901 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp, needlogp);
bf                902 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeinsert(hdr, bf, prevdup, needlogp);
bf                909 fs/xfs/libxfs/xfs_dir2_data.c 				   be16_to_cpu(bf[2].length);
bf                916 fs/xfs/libxfs/xfs_dir2_data.c 		dfp = xfs_dir2_data_freefind(hdr, bf, postdup);
bf                929 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp, needlogp);
bf                930 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeinsert(hdr, bf, newdup, needlogp);
bf                937 fs/xfs/libxfs/xfs_dir2_data.c 				   be16_to_cpu(bf[2].length);
bf                950 fs/xfs/libxfs/xfs_dir2_data.c 		xfs_dir2_data_freeinsert(hdr, bf, newdup, needlogp);
bf               1013 fs/xfs/libxfs/xfs_dir2_data.c 	struct xfs_dir2_data_free *bf;
bf               1028 fs/xfs/libxfs/xfs_dir2_data.c 	bf = args->dp->d_ops->data_bestfree_p(hdr);
bf               1029 fs/xfs/libxfs/xfs_dir2_data.c 	dfp = xfs_dir2_data_freefind(hdr, bf, dup);
bf               1030 fs/xfs/libxfs/xfs_dir2_data.c 	ASSERT(dfp || oldlen <= be16_to_cpu(bf[2].length));
bf               1044 fs/xfs/libxfs/xfs_dir2_data.c 			needscan = (bf[2].offset != 0);
bf               1046 fs/xfs/libxfs/xfs_dir2_data.c 				xfs_dir2_data_freeremove(hdr, bf, dfp,
bf               1065 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp, needlogp);
bf               1066 fs/xfs/libxfs/xfs_dir2_data.c 			dfp = xfs_dir2_data_freeinsert(hdr, bf, newdup,
bf               1076 fs/xfs/libxfs/xfs_dir2_data.c 			needscan = dfp == &bf[2];
bf               1093 fs/xfs/libxfs/xfs_dir2_data.c 			xfs_dir2_data_freeremove(hdr, bf, dfp, needlogp);
bf               1094 fs/xfs/libxfs/xfs_dir2_data.c 			dfp = xfs_dir2_data_freeinsert(hdr, bf, newdup,
bf               1104 fs/xfs/libxfs/xfs_dir2_data.c 			needscan = dfp == &bf[2];
bf               1132 fs/xfs/libxfs/xfs_dir2_data.c 			needscan = (bf[2].length != 0);
bf               1134 fs/xfs/libxfs/xfs_dir2_data.c 				xfs_dir2_data_freeremove(hdr, bf, dfp,
bf               1136 fs/xfs/libxfs/xfs_dir2_data.c 				xfs_dir2_data_freeinsert(hdr, bf, newdup,
bf               1138 fs/xfs/libxfs/xfs_dir2_data.c 				xfs_dir2_data_freeinsert(hdr, bf, newdup2,
bf                348 fs/xfs/libxfs/xfs_dir2_leaf.c 	struct xfs_dir2_data_free *bf;
bf                378 fs/xfs/libxfs/xfs_dir2_leaf.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf                425 fs/xfs/libxfs/xfs_dir2_leaf.c 	bestsp[0] =  bf[0].length;
bf                579 fs/xfs/libxfs/xfs_dir2_leaf.c 	struct xfs_dir2_data_free *bf;		/* bestfree table */
bf                776 fs/xfs/libxfs/xfs_dir2_leaf.c 		bf = dp->d_ops->data_bestfree_p(hdr);
bf                777 fs/xfs/libxfs/xfs_dir2_leaf.c 		bestsp[use_block] = bf[0].length;
bf                792 fs/xfs/libxfs/xfs_dir2_leaf.c 		bf = dp->d_ops->data_bestfree_p(hdr);
bf                799 fs/xfs/libxfs/xfs_dir2_leaf.c 	      ((char *)hdr + be16_to_cpu(bf[0].offset));
bf                836 fs/xfs/libxfs/xfs_dir2_leaf.c 	if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) {
bf                837 fs/xfs/libxfs/xfs_dir2_leaf.c 		bestsp[use_block] = bf[0].length;
bf               1316 fs/xfs/libxfs/xfs_dir2_leaf.c 	struct xfs_dir2_data_free *bf;		/* bestfree table */
bf               1332 fs/xfs/libxfs/xfs_dir2_leaf.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf               1343 fs/xfs/libxfs/xfs_dir2_leaf.c 	oldbest = be16_to_cpu(bf[0].length);
bf               1376 fs/xfs/libxfs/xfs_dir2_leaf.c 	if (be16_to_cpu(bf[0].length) != oldbest) {
bf               1377 fs/xfs/libxfs/xfs_dir2_leaf.c 		bestsp[db] = bf[0].length;
bf               1384 fs/xfs/libxfs/xfs_dir2_leaf.c 	if (be16_to_cpu(bf[0].length) ==
bf               1579 fs/xfs/libxfs/xfs_dir2_leaf.c 	struct xfs_dir2_data_free *bf = dp->d_ops->data_bestfree_p(hdr);
bf               1583 fs/xfs/libxfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(bf[0].length) ==
bf               1216 fs/xfs/libxfs/xfs_dir2_node.c 	struct xfs_dir2_data_free *bf;		/* bestfree table */
bf               1259 fs/xfs/libxfs/xfs_dir2_node.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf               1260 fs/xfs/libxfs/xfs_dir2_node.c 	longest = be16_to_cpu(bf[0].length);
bf               1277 fs/xfs/libxfs/xfs_dir2_node.c 	if (longest < be16_to_cpu(bf[0].length)) {
bf               1308 fs/xfs/libxfs/xfs_dir2_node.c 		longest = be16_to_cpu(bf[0].length);
bf               1628 fs/xfs/libxfs/xfs_dir2_node.c 	struct xfs_dir2_data_free *bf;
bf               1726 fs/xfs/libxfs/xfs_dir2_node.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf               1727 fs/xfs/libxfs/xfs_dir2_node.c 	bests[*findex] = bf[0].length;
bf               1855 fs/xfs/libxfs/xfs_dir2_node.c 	struct xfs_dir2_data_free *bf;
bf               1908 fs/xfs/libxfs/xfs_dir2_node.c 	bf = dp->d_ops->data_bestfree_p(hdr);
bf               1909 fs/xfs/libxfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(bf[0].length) >= length);
bf               1913 fs/xfs/libxfs/xfs_dir2_node.c 	      ((char *)hdr + be16_to_cpu(bf[0].offset));
bf               1943 fs/xfs/libxfs/xfs_dir2_node.c 	if (bests[findex] != bf[0].length) {
bf               1944 fs/xfs/libxfs/xfs_dir2_node.c 		bests[findex] = bf[0].length;
bf                 44 fs/xfs/libxfs/xfs_dir2_priv.h 		struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
bf                290 fs/xfs/scrub/dir.c 	struct xfs_dir2_data_free	*bf,
bf                299 fs/xfs/scrub/dir.c 	if (dup_length < be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length))
bf                302 fs/xfs/scrub/dir.c 	for (dfp = &bf[XFS_DIR2_DATA_FD_COUNT - 1]; dfp >= bf; dfp--)
bf                320 fs/xfs/scrub/dir.c 	struct xfs_dir2_data_free	*bf;
bf                354 fs/xfs/scrub/dir.c 	bf = d_ops->data_bestfree_p(bp->b_addr);
bf                356 fs/xfs/scrub/dir.c 	for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) {
bf                418 fs/xfs/scrub/dir.c 		xchk_directory_check_free_entry(sc, lblk, bf, dup);
bf                594 fs/xfs/xfs_ioctl.c 	xfs_flock64_t		*bf)
bf                626 fs/xfs/xfs_ioctl.c 	switch (bf->l_whence) {
bf                630 fs/xfs/xfs_ioctl.c 		bf->l_start += filp->f_pos;
bf                633 fs/xfs/xfs_ioctl.c 		bf->l_start += XFS_ISIZE(ip);
bf                652 fs/xfs/xfs_ioctl.c 		if (bf->l_len <= 0) {
bf                658 fs/xfs/xfs_ioctl.c 		bf->l_len = 0;
bf                662 fs/xfs/xfs_ioctl.c 	if (bf->l_start < 0 ||
bf                663 fs/xfs/xfs_ioctl.c 	    bf->l_start > inode->i_sb->s_maxbytes ||
bf                664 fs/xfs/xfs_ioctl.c 	    bf->l_start + bf->l_len < 0 ||
bf                665 fs/xfs/xfs_ioctl.c 	    bf->l_start + bf->l_len >= inode->i_sb->s_maxbytes) {
bf                673 fs/xfs/xfs_ioctl.c 		error = xfs_zero_file_space(ip, bf->l_start, bf->l_len);
bf                678 fs/xfs/xfs_ioctl.c 		error = xfs_alloc_file_space(ip, bf->l_start, bf->l_len,
bf                683 fs/xfs/xfs_ioctl.c 		error = xfs_free_file_space(ip, bf->l_start, bf->l_len);
bf                690 fs/xfs/xfs_ioctl.c 		if (bf->l_start > XFS_ISIZE(ip)) {
bf                692 fs/xfs/xfs_ioctl.c 					bf->l_start - XFS_ISIZE(ip), 0);
bf                698 fs/xfs/xfs_ioctl.c 		iattr.ia_size = bf->l_start;
bf               2134 fs/xfs/xfs_ioctl.c 		xfs_flock64_t		bf;
bf               2136 fs/xfs/xfs_ioctl.c 		if (copy_from_user(&bf, arg, sizeof(bf)))
bf               2138 fs/xfs/xfs_ioctl.c 		return xfs_ioc_space(filp, cmd, &bf);
bf                 13 fs/xfs/xfs_ioctl.h 	xfs_flock64_t		*bf);
bf                 32 fs/xfs/xfs_ioctl32.c 	xfs_flock64_t		*bf,
bf                 35 fs/xfs/xfs_ioctl32.c 	if (get_user(bf->l_type,	&arg32->l_type) ||
bf                 36 fs/xfs/xfs_ioctl32.c 	    get_user(bf->l_whence,	&arg32->l_whence) ||
bf                 37 fs/xfs/xfs_ioctl32.c 	    get_user(bf->l_start,	&arg32->l_start) ||
bf                 38 fs/xfs/xfs_ioctl32.c 	    get_user(bf->l_len,		&arg32->l_len) ||
bf                 39 fs/xfs/xfs_ioctl32.c 	    get_user(bf->l_sysid,	&arg32->l_sysid) ||
bf                 40 fs/xfs/xfs_ioctl32.c 	    get_user(bf->l_pid,		&arg32->l_pid) ||
bf                 41 fs/xfs/xfs_ioctl32.c 	    copy_from_user(bf->l_pad,	&arg32->l_pad,	4*sizeof(u32)))
bf                568 fs/xfs/xfs_ioctl32.c 		struct xfs_flock64	bf;
bf                570 fs/xfs/xfs_ioctl32.c 		if (xfs_compat_flock64_copyin(&bf, arg))
bf                573 fs/xfs/xfs_ioctl32.c 		return xfs_ioc_space(filp, cmd, &bf);
bf               1109 include/linux/mlx4/device.h int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node);
bf               1110 include/linux/mlx4/device.h void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf);
bf               1327 include/linux/mlx5/mlx5_ifc.h 	u8         bf[0x1];
bf                508 kernel/trace/trace_probe.c static int __parse_bitfield_probe_arg(const char *bf,
bf                516 kernel/trace/trace_probe.c 	if (*bf != 'b')
bf                519 kernel/trace/trace_probe.c 	bw = simple_strtoul(bf + 1, &tail, 0);	/* Use simple one */
bf                524 kernel/trace/trace_probe.c 	bf = tail + 1;
bf                525 kernel/trace/trace_probe.c 	bo = simple_strtoul(bf, &tail, 0);
bf                527 kernel/trace/trace_probe.c 	if (tail == bf || *tail != '/')
bf                 50 lib/nlattr.c   	const struct nla_bitfield32 *bf = nla_data(nla);
bf                 56 lib/nlattr.c   	if (bf->selector & ~*valid_flags_mask)
bf                 60 lib/nlattr.c   	if (bf->value & ~*valid_flags_mask)
bf                 64 lib/nlattr.c   	if (bf->value & ~bf->selector)
bf                128 net/dccp/feat.h u64 dccp_decode_value_var(const u8 *bf, const u8 len);
bf                 22 net/dccp/options.c u64 dccp_decode_value_var(const u8 *bf, const u8 len)
bf                 27 net/dccp/options.c 		value += ((u64)*bf++) << 40;
bf                 29 net/dccp/options.c 		value += ((u64)*bf++) << 32;
bf                 31 net/dccp/options.c 		value += ((u64)*bf++) << 24;
bf                 33 net/dccp/options.c 		value += ((u64)*bf++) << 16;
bf                 35 net/dccp/options.c 		value += ((u64)*bf++) << 8;
bf                 37 net/dccp/options.c 		value += *bf;
bf               1468 net/sched/act_api.c 	struct nla_bitfield32 bf;
bf               1489 net/sched/act_api.c 		bf = nla_get_bitfield32(tb[TCA_ROOT_FLAGS]);
bf               1490 net/sched/act_api.c 		cb->args[2] = bf.value;
bf                269 net/smc/smc_pnet.c 	char *bf = skip_spaces(pnet_name);
bf                270 net/smc/smc_pnet.c 	size_t len = strlen(bf);
bf                271 net/smc/smc_pnet.c 	char *end = bf + len;
bf                275 net/smc/smc_pnet.c 	while (--end >= bf && isspace(*end))
bf                277 net/smc/smc_pnet.c 	if (end - bf >= SMC_MAX_PNETID_LEN)
bf                279 net/smc/smc_pnet.c 	while (bf <= end) {
bf                280 net/smc/smc_pnet.c 		if (!isalnum(*bf))
bf                282 net/smc/smc_pnet.c 		*pnetid++ = islower(*bf) ? toupper(*bf) : *bf;
bf                283 net/smc/smc_pnet.c 		bf++;
bf                 90 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                117 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                142 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                181 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                190 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                199 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                208 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                217 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                226 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                235 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                244 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                253 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                262 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                271 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                280 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ctl = 1;
bf                289 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ccr = 1;
bf                298 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ca = 1;
bf                307 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.sa = 1;
bf                316 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.la = 1;
bf                325 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.mpr = 1;
bf                331 sound/pci/ctxfi/cthw20k1.c 	((struct src_rsc_ctrl_blk *)blk)->dirty.bf.czbfs = (clear ? 1 : 0);
bf                364 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.czbfs) {
bf                375 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.czbfs = 0;
bf                377 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.mpr) {
bf                386 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.mpr = 0;
bf                388 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.sa) {
bf                390 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.sa = 0;
bf                392 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.la) {
bf                394 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.la = 0;
bf                396 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.ca) {
bf                398 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.ca = 0;
bf                404 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.ccr) {
bf                406 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.ccr = 0;
bf                408 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.ctl) {
bf                410 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.ctl = 0;
bf                421 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.ca = 0;
bf                439 sound/pci/ctxfi/cthw20k1.c 	((struct src_mgr_ctrl_blk *)blk)->dirty.bf.enbsa = 1;
bf                464 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.enbsa) {
bf                469 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.enbsa = 0;
bf                528 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srcimap = 1;
bf                537 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srcimap = 1;
bf                546 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srcimap = 1;
bf                555 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srcimap = 1;
bf                563 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.srcimap) {
bf                566 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.srcimap = 0;
bf                589 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                605 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.amoplo = 1;
bf                620 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.amoplo = 1;
bf                629 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.amoplo = 1;
bf                638 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.amophi = 1;
bf                647 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.amophi = 1;
bf                667 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) {
bf                669 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.amoplo = 0;
bf                671 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.amophi = 0;
bf                750 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                765 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                811 sound/pci/ctxfi/cthw20k1.c 	} bf;
bf                829 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                838 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                847 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                856 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                865 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                874 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.srtctl = 1;
bf                882 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.srtctl) {
bf                890 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.srtctl = 0;
bf                920 sound/pci/ctxfi/cthw20k1.c 	((struct dao_ctrl_blk *)blk)->dirty.bf.spos = 1;
bf                928 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.spos) {
bf                933 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spos = 0;
bf                973 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spictl |= (0x1 << idx);
bf                978 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.i2sictl |= (0x1 << idx);
bf                990 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spictl |= (0x1 << idx);
bf                995 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.i2sictl |= (0x1 << idx);
bf               1007 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spoctl |= (0x1 << idx);
bf               1012 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.i2soctl |= (0x1 << idx);
bf               1024 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spoctl |= (0x1 << idx);
bf               1029 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.i2soctl |= (0x1 << idx);
bf               1063 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.spoctl |= (0x1 << idx);
bf               1076 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.daoimap = 1;
bf               1085 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.daoimap = 1;
bf               1094 sound/pci/ctxfi/cthw20k1.c 	ctl->dirty.bf.daoimap = 1;
bf               1103 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.i2sictl || ctl->dirty.bf.i2soctl) {
bf               1105 sound/pci/ctxfi/cthw20k1.c 			if ((ctl->dirty.bf.i2sictl & (0x1 << i)))
bf               1106 sound/pci/ctxfi/cthw20k1.c 				ctl->dirty.bf.i2sictl &= ~(0x1 << i);
bf               1108 sound/pci/ctxfi/cthw20k1.c 			if ((ctl->dirty.bf.i2soctl & (0x1 << i)))
bf               1109 sound/pci/ctxfi/cthw20k1.c 				ctl->dirty.bf.i2soctl &= ~(0x1 << i);
bf               1114 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.spoctl) {
bf               1116 sound/pci/ctxfi/cthw20k1.c 			if ((ctl->dirty.bf.spoctl & (0x1 << i)))
bf               1117 sound/pci/ctxfi/cthw20k1.c 				ctl->dirty.bf.spoctl &= ~(0x1 << i);
bf               1122 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.spictl) {
bf               1124 sound/pci/ctxfi/cthw20k1.c 			if ((ctl->dirty.bf.spictl & (0x1 << i)))
bf               1125 sound/pci/ctxfi/cthw20k1.c 				ctl->dirty.bf.spictl &= ~(0x1 << i);
bf               1130 sound/pci/ctxfi/cthw20k1.c 	if (ctl->dirty.bf.daoimap) {
bf               1133 sound/pci/ctxfi/cthw20k1.c 		ctl->dirty.bf.daoimap = 0;
bf                 90 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                117 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                142 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                181 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                190 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                199 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                208 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                217 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                226 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                235 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                244 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                253 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                262 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                271 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                280 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ctl = 1;
bf                289 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ccr = 1;
bf                298 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ca = 1;
bf                307 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.sa = 1;
bf                316 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.la = 1;
bf                325 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.mpr = 1;
bf                331 sound/pci/ctxfi/cthw20k2.c 	((struct src_rsc_ctrl_blk *)blk)->dirty.bf.czbfs = (clear ? 1 : 0);
bf                364 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.czbfs) {
bf                375 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.czbfs = 0;
bf                377 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.mpr) {
bf                386 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.mpr = 0;
bf                388 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.sa) {
bf                390 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.sa = 0;
bf                392 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.la) {
bf                394 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.la = 0;
bf                396 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.ca) {
bf                398 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.ca = 0;
bf                404 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.ccr) {
bf                406 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.ccr = 0;
bf                408 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.ctl) {
bf                410 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.ctl = 0;
bf                421 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.ca = 0;
bf                439 sound/pci/ctxfi/cthw20k2.c 	((struct src_mgr_ctrl_blk *)blk)->dirty.bf.enbsa = 1;
bf                464 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.enbsa) {
bf                469 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.enbsa = 0;
bf                528 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srcimap = 1;
bf                537 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srcimap = 1;
bf                546 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srcimap = 1;
bf                553 sound/pci/ctxfi/cthw20k2.c 	((struct srcimp_mgr_ctrl_blk *)blk)->dirty.bf.srcimap = 1;
bf                561 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.srcimap) {
bf                564 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.srcimap = 0;
bf                588 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                604 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amoplo = 1;
bf                613 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amoplo = 1;
bf                622 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amoplo = 1;
bf                631 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amoplo = 1;
bf                640 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amophi = 1;
bf                649 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.amophi = 1;
bf                669 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) {
bf                671 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.amoplo = 0;
bf                673 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.amophi = 0;
bf                741 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                781 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                802 sound/pci/ctxfi/cthw20k2.c 	} bf;
bf                819 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                828 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                837 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                846 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                855 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                864 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.srt = 1;
bf                872 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.srt) {
bf                874 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.srt = 0;
bf                904 sound/pci/ctxfi/cthw20k2.c 	((struct dao_ctrl_blk *)blk)->dirty.bf.atxcsl = 1;
bf                912 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.atxcsl) {
bf                918 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.atxcsl = 0;
bf                956 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.arxctl |= (0x1 << idx);
bf                966 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.arxctl |= (0x1 << idx);
bf                975 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.atxctl |= (0x1 << idx);
bf                984 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.atxctl |= (0x1 << idx);
bf               1018 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.atxctl |= (0x1 << idx);
bf               1031 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.daoimap = 1;
bf               1040 sound/pci/ctxfi/cthw20k2.c 	ctl->dirty.bf.daoimap = 1;
bf               1047 sound/pci/ctxfi/cthw20k2.c 	((struct daio_mgr_ctrl_blk *)blk)->dirty.bf.daoimap = 1;
bf               1058 sound/pci/ctxfi/cthw20k2.c 		if ((ctl->dirty.bf.atxctl & (0x1 << i))) {
bf               1061 sound/pci/ctxfi/cthw20k2.c 			ctl->dirty.bf.atxctl &= ~(0x1 << i);
bf               1064 sound/pci/ctxfi/cthw20k2.c 		if ((ctl->dirty.bf.arxctl & (0x1 << i))) {
bf               1067 sound/pci/ctxfi/cthw20k2.c 			ctl->dirty.bf.arxctl &= ~(0x1 << i);
bf               1071 sound/pci/ctxfi/cthw20k2.c 	if (ctl->dirty.bf.daoimap) {
bf               1074 sound/pci/ctxfi/cthw20k2.c 		ctl->dirty.bf.daoimap = 0;
bf                363 tools/lib/api/fs/fs.c 	void *bf = NULL, *nbf;
bf                374 tools/lib/api/fs/fs.c 			nbf = realloc(bf, alloc_size);
bf                380 tools/lib/api/fs/fs.c 			bf = nbf;
bf                383 tools/lib/api/fs/fs.c 		n = read(fd, bf + size, alloc_size - size);
bf                400 tools/lib/api/fs/fs.c 		*buf   = bf;
bf                402 tools/lib/api/fs/fs.c 		free(bf);
bf                 61 tools/perf/arch/arm64/annotate/instructions.c static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
bf                 48 tools/perf/arch/s390/annotate/instructions.c static int call__scnprintf(struct ins *ins, char *bf, size_t size,
bf               2192 tools/perf/builtin-c2c.c 	char bf[1000];
bf               2194 tools/perf/builtin-c2c.c 		.buf            = bf,
bf               2208 tools/perf/builtin-c2c.c 	fprintf(out, "%s\n", bf);
bf               2322 tools/perf/builtin-c2c.c 				  char *bf, size_t size)
bf               2334 tools/perf/builtin-c2c.c 	scnprintf(bf, size, "Cacheline 0x%lx", addr);
bf               2415 tools/perf/builtin-c2c.c 				   char *bf, size_t size)
bf               2417 tools/perf/builtin-c2c.c 	scnprintf(bf, size,
bf                124 tools/perf/builtin-record.c 			 void *bf, size_t size)
bf                128 tools/perf/builtin-record.c 	if (perf_data_file__write(file, bf, size) < 0) {
bf                486 tools/perf/builtin-record.c static int record__pushfn(struct mmap *map, void *to, void *bf, size_t size)
bf                491 tools/perf/builtin-record.c 		size = zstd_compress(rec->session, map->data, perf_mmap__mmap_len(map), bf, size);
bf                492 tools/perf/builtin-record.c 		bf   = map->data;
bf                496 tools/perf/builtin-record.c 	return record__write(rec, map, bf, size);
bf               2750 tools/perf/builtin-sched.c 	char bf[1024];
bf               2765 tools/perf/builtin-sched.c 			       callchain_list__sym_name(chain, bf, sizeof(bf),
bf                315 tools/perf/builtin-top.c 	char bf[160];
bf                323 tools/perf/builtin-top.c 	perf_top__header_snprintf(top, bf, sizeof(bf));
bf                324 tools/perf/builtin-top.c 	printf("%s\n", bf);
bf                395 tools/perf/builtin-trace.c size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val)
bf                400 tools/perf/builtin-trace.c 		size_t printed = scnprintf(bf, size, intfmt, val);
bf                402 tools/perf/builtin-trace.c 			printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sa->prefix);
bf                406 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]);
bf                409 tools/perf/builtin-trace.c static size_t __syscall_arg__scnprintf_strarray(char *bf, size_t size,
bf                413 tools/perf/builtin-trace.c 	return strarray__scnprintf(arg->parm, bf, size, intfmt, arg->show_string_prefix, arg->val);
bf                416 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_strarray(char *bf, size_t size,
bf                419 tools/perf/builtin-trace.c 	return __syscall_arg__scnprintf_strarray(bf, size, "%d", arg);
bf                424 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                426 tools/perf/builtin-trace.c 	return strarray__scnprintf_flags(arg->parm, bf, size, arg->show_string_prefix, arg->val);
bf                429 tools/perf/builtin-trace.c size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val)
bf                441 tools/perf/builtin-trace.c 			return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]);
bf                445 tools/perf/builtin-trace.c 	printed = scnprintf(bf, size, intfmt, val);
bf                447 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sas->entries[0]->prefix);
bf                451 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_strarrays(char *bf, size_t size,
bf                454 tools/perf/builtin-trace.c 	return strarrays__scnprintf(arg->parm, bf, size, "%d", arg->show_string_prefix, arg->val);
bf                461 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_fd_at(char *bf, size_t size,
bf                468 tools/perf/builtin-trace.c 		return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "CWD");
bf                470 tools/perf/builtin-trace.c 	return syscall_arg__scnprintf_fd(bf, size, arg);
bf                475 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_close_fd(char *bf, size_t size,
bf                480 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg)
bf                482 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "%#lx", arg->val);
bf                485 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_ptr(char *bf, size_t size, struct syscall_arg *arg)
bf                488 tools/perf/builtin-trace.c 		return scnprintf(bf, size, "NULL");
bf                489 tools/perf/builtin-trace.c 	return syscall_arg__scnprintf_hex(bf, size, arg);
bf                492 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg)
bf                494 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "%d", arg->val);
bf                497 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_long(char *bf, size_t size, struct syscall_arg *arg)
bf                499 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "%ld", arg->val);
bf                582 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_access_mode(char *bf, size_t size,
bf                591 tools/perf/builtin-trace.c 		return scnprintf(bf, size, "F%s", show_prefix ? suffix : "");
bf                594 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "%s%s", #n, show_prefix ? suffix : ""); \
bf                604 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "|%#x", mode);
bf                611 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_filename(char *bf, size_t size,
bf                616 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_pipe_flags(char *bf, size_t size,
bf                625 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                634 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                648 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_getrandom_flags(char *bf, size_t size,
bf                657 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                666 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                698 tools/perf/builtin-trace.c 	size_t	   (*scnprintf)(char *bf, size_t size, struct syscall_arg *arg);
bf               1055 tools/perf/builtin-trace.c 	size_t		  (*ret_scnprintf)(char *bf, size_t size, struct syscall_arg *arg);
bf               1108 tools/perf/builtin-trace.c 				    size_t (*ret_scnprintf)(char *bf, size_t size, struct syscall_arg *arg))
bf               1215 tools/perf/builtin-trace.c size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg)
bf               1218 tools/perf/builtin-trace.c 	size_t printed = scnprintf(bf, size, "%d", fd);
bf               1222 tools/perf/builtin-trace.c 		printed += scnprintf(bf + printed, size - printed, "<%s>", path);
bf               1227 tools/perf/builtin-trace.c size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size)
bf               1229 tools/perf/builtin-trace.c         size_t printed = scnprintf(bf, size, "%d", fd);
bf               1236 tools/perf/builtin-trace.c 			printed += scnprintf(bf + printed, size - printed, "<%s>", path);
bf               1244 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_close_fd(char *bf, size_t size,
bf               1248 tools/perf/builtin-trace.c 	size_t printed = syscall_arg__scnprintf_fd(bf, size, arg);
bf               1257 tools/perf/builtin-trace.c static void thread__set_filename_pos(struct thread *thread, const char *bf,
bf               1263 tools/perf/builtin-trace.c 	ttrace->filename.entry_str_pos = bf - ttrace->entry_str;
bf               1266 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_augmented_string(struct syscall_arg *arg, char *bf, size_t size)
bf               1269 tools/perf/builtin-trace.c 	size_t printed = scnprintf(bf, size, "\"%.*s\"", augmented_arg->size, augmented_arg->value);
bf               1282 tools/perf/builtin-trace.c static size_t syscall_arg__scnprintf_filename(char *bf, size_t size,
bf               1288 tools/perf/builtin-trace.c 		return syscall_arg__scnprintf_augmented_string(arg, bf, size);
bf               1291 tools/perf/builtin-trace.c 		return scnprintf(bf, size, "%#x", ptr);
bf               1293 tools/perf/builtin-trace.c 	thread__set_filename_pos(arg->thread, bf, ptr);
bf               1669 tools/perf/builtin-trace.c static size_t syscall__scnprintf_name(struct syscall *sc, char *bf, size_t size,
bf               1673 tools/perf/builtin-trace.c 		return scnprintf(bf, size, "%s: ", sc->arg_fmt[arg->idx].name);
bf               1675 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "arg%d: ", arg->idx);
bf               1691 tools/perf/builtin-trace.c static size_t syscall__scnprintf_val(struct syscall *sc, char *bf, size_t size,
bf               1698 tools/perf/builtin-trace.c 		return sc->arg_fmt[arg->idx].scnprintf(bf, size, arg);
bf               1700 tools/perf/builtin-trace.c 	return scnprintf(bf, size, "%ld", val);
bf               1703 tools/perf/builtin-trace.c static size_t syscall__scnprintf_args(struct syscall *sc, char *bf, size_t size,
bf               1760 tools/perf/builtin-trace.c 			printed += scnprintf(bf + printed, size - printed, "%s", printed ? ", " : "");
bf               1763 tools/perf/builtin-trace.c 				printed += scnprintf(bf + printed, size - printed, "%s: ", field->name);
bf               1765 tools/perf/builtin-trace.c 			printed += syscall__scnprintf_val(sc, bf + printed, size - printed, &arg, val);
bf               1778 tools/perf/builtin-trace.c 				printed += scnprintf(bf + printed, size - printed, ", ");
bf               1779 tools/perf/builtin-trace.c 			printed += syscall__scnprintf_name(sc, bf + printed, size - printed, &arg);
bf               1780 tools/perf/builtin-trace.c 			printed += syscall__scnprintf_val(sc, bf + printed, size - printed, &arg, val);
bf               2173 tools/perf/builtin-trace.c 		char bf[STRERR_BUFSIZE];
bf               2174 tools/perf/builtin-trace.c 		const char *emsg = str_error_r(-ret, bf, sizeof(bf)),
bf               2182 tools/perf/builtin-trace.c 		char bf[1024];
bf               2188 tools/perf/builtin-trace.c 		ttrace->ret_scnprintf(bf, sizeof(bf), &arg);
bf               2190 tools/perf/builtin-trace.c 		fprintf(trace->output, "%s", bf);
bf               4183 tools/perf/builtin-trace.c 	char bf[BUFSIZ];
bf               4220 tools/perf/builtin-trace.c 		bpf__strerror_setup_output_event(trace.evlist, PTR_ERR(evsel), bf, sizeof(bf));
bf               4221 tools/perf/builtin-trace.c 		pr_err("ERROR: Setup trace syscalls enter failed: %s\n", bf);
bf               4248 tools/perf/builtin-trace.c 		bpf__strerror_setup_stdout(trace.evlist, err, bf, sizeof(bf));
bf               4249 tools/perf/builtin-trace.c 		pr_err("ERROR: Setup BPF stdout failed: %s\n", bf);
bf               4405 tools/perf/builtin-trace.c 		target__strerror(&trace.opts.target, err, bf, sizeof(bf));
bf               4406 tools/perf/builtin-trace.c 		fprintf(trace.output, "%s", bf);
bf               4412 tools/perf/builtin-trace.c 		target__strerror(&trace.opts.target, err, bf, sizeof(bf));
bf               4413 tools/perf/builtin-trace.c 		fprintf(trace.output, "%s", bf);
bf                489 tools/perf/tests/builtin-test.c 		char bf[256];
bf                490 tools/perf/tests/builtin-test.c 		const char *desc = shell_test__description(bf, sizeof(bf), path, ent->d_name);
bf                652 tools/perf/tests/builtin-test.c 		char bf[256];
bf                654 tools/perf/tests/builtin-test.c 			.desc = shell_test__description(bf, sizeof(bf), path, ent->d_name),
bf                 23 tools/perf/trace/beauty/arch_prctl.c static size_t x86_arch_prctl__scnprintf_code(int option, char *bf, size_t size, bool show_prefix)
bf                 25 tools/perf/trace/beauty/arch_prctl.c 	return strarrays__scnprintf(&strarrays__x86_arch_prctl_codes, bf, size, "%#x", show_prefix, option);
bf                 28 tools/perf/trace/beauty/arch_prctl.c size_t syscall_arg__scnprintf_x86_arch_prctl_code(char *bf, size_t size, struct syscall_arg *arg)
bf                 32 tools/perf/trace/beauty/arch_prctl.c 	return x86_arch_prctl__scnprintf_code(code, bf, size, arg->show_string_prefix);
bf                 29 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val);
bf                 30 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags);
bf                 52 tools/perf/trace/beauty/beauty.h size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val);
bf                 54 tools/perf/trace/beauty/beauty.h size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size);
bf                111 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                114 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_strarrays(char *bf, size_t size, struct syscall_arg *arg);
bf                117 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg);
bf                120 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg);
bf                123 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_ptr(char *bf, size_t size, struct syscall_arg *arg);
bf                126 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg);
bf                129 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_long(char *bf, size_t size, struct syscall_arg *arg);
bf                132 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg);
bf                135 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_clone_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                138 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg);
bf                141 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg);
bf                144 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_flock(char *bf, size_t size, struct syscall_arg *arg);
bf                147 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                150 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_fspick_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                153 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg);
bf                156 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg);
bf                159 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg);
bf                165 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_mount_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                168 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_move_mount_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                171 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *arg);
bf                174 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_open_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                177 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_x86_arch_prctl_code(char *bf, size_t size, struct syscall_arg *arg);
bf                180 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg);
bf                183 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg);
bf                186 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg);
bf                189 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_renameat2_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                192 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg);
bf                195 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_socket_protocol(char *bf, size_t size, struct syscall_arg *arg);
bf                198 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_statx_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                201 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_statx_mask(char *bf, size_t size, struct syscall_arg *arg);
bf                204 tools/perf/trace/beauty/beauty.h size_t syscall_arg__scnprintf_sync_file_range_flags(char *bf, size_t size, struct syscall_arg *arg);
bf                207 tools/perf/trace/beauty/beauty.h size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix);
bf                210 tools/perf/trace/beauty/beauty.h 				    size_t (*ret_scnprintf)(char *bf, size_t size, struct syscall_arg *arg));
bf                 13 tools/perf/trace/beauty/clone.c static size_t clone__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 20 tools/perf/trace/beauty/clone.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 51 tools/perf/trace/beauty/clone.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 56 tools/perf/trace/beauty/clone.c size_t syscall_arg__scnprintf_clone_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 75 tools/perf/trace/beauty/clone.c 	return clone__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 14 tools/perf/trace/beauty/eventfd.c static size_t syscall_arg__scnprintf_eventfd_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 21 tools/perf/trace/beauty/eventfd.c 		return scnprintf(bf, size, "NONE");
bf                 24 tools/perf/trace/beauty/eventfd.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 34 tools/perf/trace/beauty/eventfd.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 12 tools/perf/trace/beauty/fcntl.c static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix)
bf                 14 tools/perf/trace/beauty/fcntl.c 	return val ? scnprintf(bf, size, "%s", "0") :
bf                 15 tools/perf/trace/beauty/fcntl.c 		     scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC");
bf                 18 tools/perf/trace/beauty/fcntl.c static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg)
bf                 20 tools/perf/trace/beauty/fcntl.c 	return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix);
bf                 23 tools/perf/trace/beauty/fcntl.c static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix)
bf                 28 tools/perf/trace/beauty/fcntl.c 	return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val);
bf                 31 tools/perf/trace/beauty/fcntl.c static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg)
bf                 33 tools/perf/trace/beauty/fcntl.c 	return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix);
bf                 36 tools/perf/trace/beauty/fcntl.c size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg)
bf                 67 tools/perf/trace/beauty/fcntl.c 	return syscall_arg__scnprintf_strarrays(bf, size, arg);
bf                 70 tools/perf/trace/beauty/fcntl.c size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg)
bf                 76 tools/perf/trace/beauty/fcntl.c 		return syscall_arg__scnprintf_fd(bf, size, arg);
bf                 79 tools/perf/trace/beauty/fcntl.c 		return fcntl__scnprintf_getfd(arg->val, bf, size, show_prefix);
bf                 82 tools/perf/trace/beauty/fcntl.c 		return open__scnprintf_flags(arg->val, bf, size, show_prefix);
bf                 85 tools/perf/trace/beauty/fcntl.c 		return syscall_arg__scnprintf_pid(bf, size, arg);
bf                 88 tools/perf/trace/beauty/fcntl.c 		return fcntl__scnprintf_getlease(arg->val, bf, size, show_prefix);
bf                 98 tools/perf/trace/beauty/fcntl.c 		return syscall_arg__scnprintf_hex(bf, size, arg);
bf                100 tools/perf/trace/beauty/fcntl.c 	return syscall_arg__scnprintf_long(bf, size, arg);
bf                 23 tools/perf/trace/beauty/flock.c size_t syscall_arg__scnprintf_flock(char *bf, size_t size, struct syscall_arg *arg)
bf                 30 tools/perf/trace/beauty/flock.c 		return scnprintf(bf, size, "NONE");
bf                 33 tools/perf/trace/beauty/flock.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #cmd); \
bf                 48 tools/perf/trace/beauty/flock.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", op);
bf                 12 tools/perf/trace/beauty/fsmount.c static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 19 tools/perf/trace/beauty/fsmount.c 	       printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags);
bf                 22 tools/perf/trace/beauty/fsmount.c 	       printed += scnprintf(bf + printed, size - printed, "%s%s%s",
bf                 29 tools/perf/trace/beauty/fsmount.c size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 33 tools/perf/trace/beauty/fsmount.c 	return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix);
bf                 11 tools/perf/trace/beauty/fspick.c static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 16 tools/perf/trace/beauty/fspick.c        return strarray__scnprintf_flags(&strarray__fspick_flags, bf, size, show_prefix, flags);
bf                 19 tools/perf/trace/beauty/fspick.c size_t syscall_arg__scnprintf_fspick_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 23 tools/perf/trace/beauty/fspick.c 	return fspick__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 20 tools/perf/trace/beauty/futex_op.c static size_t syscall_arg__scnprintf_futex_op(char *bf, size_t size, struct syscall_arg *arg)
bf                 37 tools/perf/trace/beauty/futex_op.c #define	P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n);
bf                 51 tools/perf/trace/beauty/futex_op.c 	default: printed = scnprintf(bf, size, "%#x", cmd);			  break;
bf                 55 tools/perf/trace/beauty/futex_op.c 		printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FLAG");
bf                 58 tools/perf/trace/beauty/futex_op.c 		printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REALTIME");
bf                  8 tools/perf/trace/beauty/futex_val3.c static size_t syscall_arg__scnprintf_futex_val3(char *bf, size_t size, struct syscall_arg *arg)
bf                 14 tools/perf/trace/beauty/futex_val3.c 		return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "MATCH_ANY");
bf                 16 tools/perf/trace/beauty/futex_val3.c 	return scnprintf(bf, size, "%#xd", bitset);
bf                 21 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size)
bf                 42 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]);
bf                 44 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir);
bf                 47 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size)
bf                 53 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]);
bf                 55 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir);
bf                 58 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size)
bf                 64 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]);
bf                 66 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir);
bf                 69 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size)
bf                 75 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "SNDRV_CTL_%s", strarray__sndrv_ctl_ioctl_cmds.entries[nr]);
bf                 77 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 'U', nr, dir);
bf                 80 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size)
bf                 86 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "KVM_%s", strarray__kvm_ioctl_cmds.entries[nr]);
bf                 88 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAE, nr, dir);
bf                 91 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size)
bf                 99 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "VHOST_%s", s->entries[nr]);
bf                101 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAF, nr, dir);
bf                104 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size)
bf                110 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "PERF_%s", strarray__perf_ioctl_cmds.entries[nr]);
bf                112 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAE, nr, dir);
bf                115 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size)
bf                121 tools/perf/trace/beauty/ioctl.c 		return scnprintf(bf, size, "USBDEVFS_%s", strarray__usbdevfs_ioctl_cmds.entries[nr]);
bf                123 tools/perf/trace/beauty/ioctl.c 	return scnprintf(bf, size, "(%c, %#x, %#x)", 'U', nr, dir);
bf                126 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix)
bf                136 tools/perf/trace/beauty/ioctl.c 		size_t	(*scnprintf)(int nr, int dir, char *bf, size_t size);
bf                152 tools/perf/trace/beauty/ioctl.c 			return ioctl_types[index].scnprintf(nr, dir, bf, size);
bf                155 tools/perf/trace/beauty/ioctl.c 	printed += scnprintf(bf + printed, size - printed, "%c", '(');
bf                158 tools/perf/trace/beauty/ioctl.c 		printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "NONE");
bf                161 tools/perf/trace/beauty/ioctl.c 			printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "READ");
bf                163 tools/perf/trace/beauty/ioctl.c 			printed += scnprintf(bf + printed, size - printed, "%s%s%s", dir & _IOC_READ ? "|" : "",
bf                168 tools/perf/trace/beauty/ioctl.c 	return printed + scnprintf(bf + printed, size - printed, ", %#x, %#x, %#x)", type, nr, sz);
bf                175 tools/perf/trace/beauty/ioctl.c size_t syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg)
bf                183 tools/perf/trace/beauty/ioctl.c 			return ioctl__scnprintf_usbdevfs_cmd(_IOC_NR(cmd), _IOC_DIR(cmd), bf, size);
bf                186 tools/perf/trace/beauty/ioctl.c 	return ioctl__scnprintf_cmd(cmd, bf, size, arg->show_string_prefix);
bf                 16 tools/perf/trace/beauty/kcmp.c size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg)
bf                 23 tools/perf/trace/beauty/kcmp.c 		return syscall_arg__scnprintf_long(bf, size, arg);
bf                 26 tools/perf/trace/beauty/kcmp.c 	return pid__scnprintf_fd(arg->trace, pid, fd, bf, size);
bf                 29 tools/perf/trace/beauty/kcmp.c static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix)
bf                 32 tools/perf/trace/beauty/kcmp.c 	return strarray__scnprintf(&strarray__kcmp_types, bf, size, "%d", show_prefix, type);
bf                 35 tools/perf/trace/beauty/kcmp.c size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg)
bf                 42 tools/perf/trace/beauty/kcmp.c 	return kcmp__scnprintf_type(type, bf, size, arg->show_string_prefix);
bf                  5 tools/perf/trace/beauty/mmap.c static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size,
bf                 13 tools/perf/trace/beauty/mmap.c 		return scnprintf(bf, size, "%sNONE", show_prefix ? prot_prefix : "");
bf                 16 tools/perf/trace/beauty/mmap.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prot_prefix :"", #n); \
bf                 29 tools/perf/trace/beauty/mmap.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", prot);
bf                 36 tools/perf/trace/beauty/mmap.c static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 41 tools/perf/trace/beauty/mmap.c        return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags);
bf                 44 tools/perf/trace/beauty/mmap.c static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size,
bf                 52 tools/perf/trace/beauty/mmap.c 	return mmap__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 57 tools/perf/trace/beauty/mmap.c static size_t syscall_arg__scnprintf_mremap_flags(char *bf, size_t size,
bf                 66 tools/perf/trace/beauty/mmap.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? flags_prefix : "", #n); \
bf                 75 tools/perf/trace/beauty/mmap.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 82 tools/perf/trace/beauty/mmap.c static size_t madvise__scnprintf_behavior(int behavior, char *bf, size_t size)
bf                 88 tools/perf/trace/beauty/mmap.c                return scnprintf(bf, size, "MADV_%s", strarray__madvise_advices.entries[behavior]);
bf                 90 tools/perf/trace/beauty/mmap.c        return scnprintf(bf, size, "%#", behavior);
bf                 93 tools/perf/trace/beauty/mmap.c static size_t syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size,
bf                 96 tools/perf/trace/beauty/mmap.c 	return madvise__scnprintf_behavior(arg->val, bf, size);
bf                 23 tools/perf/trace/beauty/mode_t.c static size_t syscall_arg__scnprintf_mode_t(char *bf, size_t size, struct syscall_arg *arg)
bf                 31 tools/perf/trace/beauty/mode_t.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 66 tools/perf/trace/beauty/mode_t.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", mode);
bf                 14 tools/perf/trace/beauty/mount_flags.c static size_t mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 19 tools/perf/trace/beauty/mount_flags.c 	return strarray__scnprintf_flags(&strarray__mount_flags, bf, size, show_prefix, flags);
bf                 38 tools/perf/trace/beauty/mount_flags.c size_t syscall_arg__scnprintf_mount_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 42 tools/perf/trace/beauty/mount_flags.c 	return mount__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 11 tools/perf/trace/beauty/move_mount.c static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 16 tools/perf/trace/beauty/move_mount.c        return strarray__scnprintf_flags(&strarray__move_mount_flags, bf, size, show_prefix, flags);
bf                 19 tools/perf/trace/beauty/move_mount.c size_t syscall_arg__scnprintf_move_mount_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 23 tools/perf/trace/beauty/move_mount.c 	return move_mount__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 21 tools/perf/trace/beauty/msg_flags.c static size_t syscall_arg__scnprintf_msg_flags(char *bf, size_t size,
bf                 29 tools/perf/trace/beauty/msg_flags.c 		return scnprintf(bf, size, "NONE");
bf                 32 tools/perf/trace/beauty/msg_flags.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 59 tools/perf/trace/beauty/msg_flags.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 25 tools/perf/trace/beauty/open_flags.c size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 31 tools/perf/trace/beauty/open_flags.c 		printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY");
bf                 36 tools/perf/trace/beauty/open_flags.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 63 tools/perf/trace/beauty/open_flags.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", "SYNC");
bf                 75 tools/perf/trace/beauty/open_flags.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 80 tools/perf/trace/beauty/open_flags.c size_t syscall_arg__scnprintf_open_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 87 tools/perf/trace/beauty/open_flags.c 	return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 18 tools/perf/trace/beauty/perf_event_open.c static size_t syscall_arg__scnprintf_perf_flags(char *bf, size_t size,
bf                 30 tools/perf/trace/beauty/perf_event_open.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 41 tools/perf/trace/beauty/perf_event_open.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                  3 tools/perf/trace/beauty/pid.c size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
bf                  7 tools/perf/trace/beauty/pid.c 	size_t printed = scnprintf(bf, size, "%d", pid);
bf                 15 tools/perf/trace/beauty/pid.c 			printed += scnprintf(bf + printed, size - printed,
bf                 12 tools/perf/trace/beauty/pkey_alloc.c size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags)
bf                 19 tools/perf/trace/beauty/pkey_alloc.c 			return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s);
bf                 20 tools/perf/trace/beauty/pkey_alloc.c 		return scnprintf(bf, size, "%d", 0);
bf                 30 tools/perf/trace/beauty/pkey_alloc.c 			printed += scnprintf(bf + printed, size - printed, "|");
bf                 33 tools/perf/trace/beauty/pkey_alloc.c 			printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]);
bf                 35 tools/perf/trace/beauty/pkey_alloc.c 			printed += scnprintf(bf + printed, size - printed, "0x%#", bit);
bf                 41 tools/perf/trace/beauty/pkey_alloc.c static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix)
bf                 46 tools/perf/trace/beauty/pkey_alloc.c 	return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, access_rights);
bf                 49 tools/perf/trace/beauty/pkey_alloc.c size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *arg)
bf                 53 tools/perf/trace/beauty/pkey_alloc.c 	return pkey_alloc__scnprintf_access_rights(cmd, bf, size, arg->show_string_prefix);
bf                 14 tools/perf/trace/beauty/prctl.c static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix)
bf                 17 tools/perf/trace/beauty/prctl.c 	return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option);
bf                 20 tools/perf/trace/beauty/prctl.c static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix)
bf                 23 tools/perf/trace/beauty/prctl.c 	return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option);
bf                 26 tools/perf/trace/beauty/prctl.c size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg)
bf                 31 tools/perf/trace/beauty/prctl.c 		return prctl__scnprintf_set_mm(arg->val, bf, size, arg->show_string_prefix);
bf                 37 tools/perf/trace/beauty/prctl.c 		return syscall_arg__scnprintf_hex(bf, size, arg);
bf                 39 tools/perf/trace/beauty/prctl.c 	return syscall_arg__scnprintf_long(bf, size, arg);
bf                 42 tools/perf/trace/beauty/prctl.c size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg)
bf                 47 tools/perf/trace/beauty/prctl.c 		return syscall_arg__scnprintf_hex(bf, size, arg);
bf                 49 tools/perf/trace/beauty/prctl.c 	return syscall_arg__scnprintf_long(bf, size, arg);
bf                 52 tools/perf/trace/beauty/prctl.c size_t syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg)
bf                 80 tools/perf/trace/beauty/prctl.c 	return prctl__scnprintf_option(option, bf, size, arg->show_string_prefix);
bf                  6 tools/perf/trace/beauty/renameat.c static size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 11 tools/perf/trace/beauty/renameat.c        return strarray__scnprintf_flags(&strarray__rename_flags, bf, size, show_prefix, flags);
bf                 14 tools/perf/trace/beauty/renameat.c size_t syscall_arg__scnprintf_renameat2_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 17 tools/perf/trace/beauty/renameat.c 	return renameat2__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                 17 tools/perf/trace/beauty/sched_policy.c static size_t syscall_arg__scnprintf_sched_policy(char *bf, size_t size,
bf                 31 tools/perf/trace/beauty/sched_policy.c 		printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]);
bf                 33 tools/perf/trace/beauty/sched_policy.c 		printed = scnprintf(bf, size, "%#x", policy);
bf                 37 tools/perf/trace/beauty/sched_policy.c 		printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "",  #n); \
bf                 45 tools/perf/trace/beauty/sched_policy.c 		printed += scnprintf(bf + printed, size - printed, "|%#x", flags);
bf                  9 tools/perf/trace/beauty/seccomp.c static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg)
bf                 17 tools/perf/trace/beauty/seccomp.c #define	P_SECCOMP_SET_MODE_OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break
bf                 21 tools/perf/trace/beauty/seccomp.c 	default: printed = scnprintf(bf, size, "%#x", op);			  break;
bf                 33 tools/perf/trace/beauty/seccomp.c static size_t syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size,
bf                 42 tools/perf/trace/beauty/seccomp.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 50 tools/perf/trace/beauty/seccomp.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                  4 tools/perf/trace/beauty/signum.c static size_t syscall_arg__scnprintf_signum(char *bf, size_t size, struct syscall_arg *arg)
bf                 11 tools/perf/trace/beauty/signum.c #define	P_SIGNUM(n) case SIG##n: return scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n)
bf                 54 tools/perf/trace/beauty/signum.c 	return scnprintf(bf, size, "%#x", sig);
bf                 20 tools/perf/trace/beauty/sockaddr.c static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size)
bf                 24 tools/perf/trace/beauty/sockaddr.c 	return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port),
bf                 28 tools/perf/trace/beauty/sockaddr.c static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size)
bf                 33 tools/perf/trace/beauty/sockaddr.c 	size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port),
bf                 36 tools/perf/trace/beauty/sockaddr.c 		printed += scnprintf(bf + printed, size - printed, ", flowinfo: %lu", flowinfo);
bf                 38 tools/perf/trace/beauty/sockaddr.c 		printed += scnprintf(bf + printed, size - printed, ", scope_id: %lu", sin6->sin6_scope_id);
bf                 43 tools/perf/trace/beauty/sockaddr.c static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size)
bf                 46 tools/perf/trace/beauty/sockaddr.c 	return scnprintf(bf, size, ", path: %s", sun->sun_path);
bf                 49 tools/perf/trace/beauty/sockaddr.c static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = {
bf                 55 tools/perf/trace/beauty/sockaddr.c static size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_t size)
bf                 62 tools/perf/trace/beauty/sockaddr.c 	printed = scnprintf(bf, size, "{ .family: %s", family);
bf                 65 tools/perf/trace/beauty/sockaddr.c 		printed += af_scnprintfs[sa->sa_family](sa, bf + printed, size - printed);
bf                 67 tools/perf/trace/beauty/sockaddr.c 	return printed + scnprintf(bf + printed, size - printed, " }");
bf                 70 tools/perf/trace/beauty/sockaddr.c size_t syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg)
bf                 73 tools/perf/trace/beauty/sockaddr.c 		return syscall_arg__scnprintf_augmented_sockaddr(arg, bf, size);
bf                 75 tools/perf/trace/beauty/sockaddr.c 	return scnprintf(bf, size, "%#x", arg->val);
bf                 12 tools/perf/trace/beauty/socket.c static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix)
bf                 17 tools/perf/trace/beauty/socket.c 	return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol);
bf                 20 tools/perf/trace/beauty/socket.c size_t syscall_arg__scnprintf_socket_protocol(char *bf, size_t size, struct syscall_arg *arg)
bf                 25 tools/perf/trace/beauty/socket.c 		return socket__scnprintf_ipproto(arg->val, bf, size, arg->show_string_prefix);
bf                 27 tools/perf/trace/beauty/socket.c 	return syscall_arg__scnprintf_int(bf, size, arg);
bf                 21 tools/perf/trace/beauty/socket_type.c static size_t syscall_arg__scnprintf_socket_type(char *bf, size_t size, struct syscall_arg *arg)
bf                 34 tools/perf/trace/beauty/socket_type.c #define	P_SK_TYPE(n) case SOCK_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break;
bf                 44 tools/perf/trace/beauty/socket_type.c 		printed = scnprintf(bf, size, "%#x", type);
bf                 49 tools/perf/trace/beauty/socket_type.c 		printed += scnprintf(bf + printed, size - printed, "|%s", #n); \
bf                 58 tools/perf/trace/beauty/socket_type.c 		printed += scnprintf(bf + printed, size - printed, "|%#x", flags);
bf                 14 tools/perf/trace/beauty/statx.c size_t syscall_arg__scnprintf_statx_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 21 tools/perf/trace/beauty/statx.c 		return scnprintf(bf, size, "%s%s", show_prefix ? "AT_STATX_" : "", "SYNC_AS_STAT");
bf                 24 tools/perf/trace/beauty/statx.c 		printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 39 tools/perf/trace/beauty/statx.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 44 tools/perf/trace/beauty/statx.c size_t syscall_arg__scnprintf_statx_mask(char *bf, size_t size, struct syscall_arg *arg)
bf                 52 tools/perf/trace/beauty/statx.c 		printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \
bf                 72 tools/perf/trace/beauty/statx.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
bf                 12 tools/perf/trace/beauty/sync_file_range.c static size_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix)
bf                 19 tools/perf/trace/beauty/sync_file_range.c                printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? "SYNC_FILE_RANGE_" : "", "WRITE_AND_WAIT");
bf                 23 tools/perf/trace/beauty/sync_file_range.c        return printed + strarray__scnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - printed, show_prefix, flags);
bf                 26 tools/perf/trace/beauty/sync_file_range.c size_t syscall_arg__scnprintf_sync_file_range_flags(char *bf, size_t size, struct syscall_arg *arg)
bf                 30 tools/perf/trace/beauty/sync_file_range.c 	return sync_file_range__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
bf                  5 tools/perf/trace/beauty/waitid_options.c static size_t syscall_arg__scnprintf_waitid_options(char *bf, size_t size,
bf                 14 tools/perf/trace/beauty/waitid_options.c 		printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "",  #n); \
bf                 24 tools/perf/trace/beauty/waitid_options.c 		printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options);
bf                 47 tools/perf/ui/browsers/hists.c static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size);
bf                621 tools/perf/ui/browsers/hists.c static int hist_browser__title(struct hist_browser *browser, char *bf, size_t size)
bf                623 tools/perf/ui/browsers/hists.c 	return browser->title ? browser->title(browser, bf, size) : 0;
bf                800 tools/perf/ui/browsers/hists.c 	char bf[1024], *alloc_str;
bf                813 tools/perf/ui/browsers/hists.c 	str = callchain_list__sym_name(chain, bf, sizeof(bf),
bf                939 tools/perf/ui/browsers/hists.c 	char bf[1024];
bf                943 tools/perf/ui/browsers/hists.c 	str = callchain_list__sym_name(chain, bf, sizeof(bf),
bf               2139 tools/perf/ui/browsers/hists.c 		char bf[64];
bf               2140 tools/perf/ui/browsers/hists.c 		const char *err = str_error_r(errno, bf, sizeof(bf));
bf               2233 tools/perf/ui/browsers/hists.c static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size)
bf               2236 tools/perf/ui/browsers/hists.c 	int printed = __hists__scnprintf_title(browser->hists, bf, size, !is_report_browser(hbt));
bf               2241 tools/perf/ui/browsers/hists.c 		printed += scnprintf(bf + printed, size - printed,
bf               2245 tools/perf/ui/browsers/hists.c 		printed += scnprintf(bf + printed, size - printed,
bf               2250 tools/perf/ui/browsers/hists.c 			printed += scnprintf(bf + printed, size - printed, " [z]");
bf               3230 tools/perf/ui/browsers/hists.c 	char bf[256], unit;
bf               3249 tools/perf/ui/browsers/hists.c 	printed = scnprintf(bf, sizeof(bf), "%lu%c%s%s", nr_events,
bf               3251 tools/perf/ui/browsers/hists.c 	ui_browser__printf(browser, "%s", bf);
bf               3259 tools/perf/ui/browsers/hists.c 		printed += scnprintf(bf, sizeof(bf), ": %ld%c%schunks LOST!",
bf               3261 tools/perf/ui/browsers/hists.c 		warn = bf;
bf                 29 tools/perf/ui/browsers/hists.h 			     char *bf, size_t size);
bf                423 tools/perf/ui/gtk/hists.c 		char *bf;
bf                449 tools/perf/ui/gtk/hists.c 		bf = hpp->buf;
bf                463 tools/perf/ui/gtk/hists.c 		gtk_tree_store_set(store, &iter, col_idx, strim(bf), -1);
bf                466 tools/perf/ui/gtk/hists.c 			hpp->buf = bf;
bf                 56 tools/perf/ui/stdio/hist.c 	char bf[1024], *alloc_str = NULL;
bf                 74 tools/perf/ui/stdio/hist.c 	str = callchain_list__sym_name(chain, bf, sizeof(bf), false);
bf                227 tools/perf/ui/stdio/hist.c 	char bf[1024];
bf                253 tools/perf/ui/stdio/hist.c 				       callchain_list__sym_name(chain, bf,
bf                254 tools/perf/ui/stdio/hist.c 								sizeof(bf),
bf                286 tools/perf/ui/stdio/hist.c 	char bf[1024];
bf                298 tools/perf/ui/stdio/hist.c 					bf, sizeof(bf), false));
bf                334 tools/perf/ui/stdio/hist.c 	char bf[1024];
bf                348 tools/perf/ui/stdio/hist.c 						bf, sizeof(bf), false));
bf                538 tools/perf/ui/stdio/hist.c 				     char *bf, size_t size,
bf                546 tools/perf/ui/stdio/hist.c 			.buf		= bf,
bf                555 tools/perf/ui/stdio/hist.c 			ret += fprintf(fp, "%s\n", bf);
bf                562 tools/perf/ui/stdio/hist.c 			       char *bf, size_t bfsz, FILE *fp,
bf                568 tools/perf/ui/stdio/hist.c 		.buf		= bf,
bf                581 tools/perf/ui/stdio/hist.c 		return hist_entry__block_fprintf(he, bf, size, fp);
bf                585 tools/perf/ui/stdio/hist.c 	ret = fprintf(fp, "%s\n", bf);
bf                779 tools/perf/ui/stdio/hist.c 	char bf[1024];
bf                781 tools/perf/ui/stdio/hist.c 		.buf	= bf,
bf                782 tools/perf/ui/stdio/hist.c 		.size	= sizeof(bf),
bf                217 tools/perf/util/annotate.c static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size,
bf                220 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, ops->raw);
bf                223 tools/perf/util/annotate.c int ins__scnprintf(struct ins *ins, char *bf, size_t size,
bf                227 tools/perf/util/annotate.c 		return ins->ops->scnprintf(ins, bf, size, ops, max_ins_name);
bf                229 tools/perf/util/annotate.c 	return ins__raw_scnprintf(ins, bf, size, ops, max_ins_name);
bf                292 tools/perf/util/annotate.c static int call__scnprintf(struct ins *ins, char *bf, size_t size,
bf                296 tools/perf/util/annotate.c 		return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, ops->target.sym->name);
bf                299 tools/perf/util/annotate.c 		return ins__raw_scnprintf(ins, bf, size, ops, max_ins_name);
bf                302 tools/perf/util/annotate.c 		return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, ops->target.name);
bf                304 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s *%" PRIx64, max_ins_name, ins->name, ops->target.addr);
bf                407 tools/perf/util/annotate.c static int jump__scnprintf(struct ins *ins, char *bf, size_t size,
bf                413 tools/perf/util/annotate.c 		return ins__raw_scnprintf(ins, bf, size, ops, max_ins_name);
bf                416 tools/perf/util/annotate.c 		return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, ops->target.sym->name);
bf                435 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s %.*s%" PRIx64, max_ins_name,
bf                502 tools/perf/util/annotate.c static int lock__scnprintf(struct ins *ins, char *bf, size_t size,
bf                508 tools/perf/util/annotate.c 		return ins__raw_scnprintf(ins, bf, size, ops, max_ins_name);
bf                510 tools/perf/util/annotate.c 	printed = scnprintf(bf, size, "%-*s ", max_ins_name, ins->name);
bf                511 tools/perf/util/annotate.c 	return printed + ins__scnprintf(&ops->locked.ins, bf + printed,
bf                583 tools/perf/util/annotate.c static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
bf                586 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s %s,%s", max_ins_name, ins->name,
bf                623 tools/perf/util/annotate.c static int dec__scnprintf(struct ins *ins, char *bf, size_t size,
bf                626 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name,
bf                635 tools/perf/util/annotate.c static int nop__scnprintf(struct ins *ins __maybe_unused, char *bf, size_t size,
bf                638 tools/perf/util/annotate.c 	return scnprintf(bf, size, "%-*s", max_ins_name, "nop");
bf               1248 tools/perf/util/annotate.c int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw, int max_ins_name)
bf               1251 tools/perf/util/annotate.c 		return scnprintf(bf, size, "%-*s %s", max_ins_name, dl->ins.name, dl->ops.raw);
bf               1253 tools/perf/util/annotate.c 	return ins__scnprintf(&dl->ins, bf, size, &dl->ops, max_ins_name);
bf               1614 tools/perf/util/annotate.c 		char bf[SBUILD_ID_SIZE + 15] = " with build id ";
bf               1619 tools/perf/util/annotate.c 					  sizeof(dso->build_id), bf + 15);
bf               1620 tools/perf/util/annotate.c 			build_id_msg = bf;
bf               2255 tools/perf/util/annotate.c 	char bf[32];
bf               2260 tools/perf/util/annotate.c 			return scnprintf(bf, sizeof(bf), "%" PRIx64, start + line->offset);
bf               2762 tools/perf/util/annotate.c 			       void *obj, char *bf, size_t size,
bf               2789 tools/perf/util/annotate.c 	disasm_line__scnprintf(dl, bf, size, !notes->options->use_offset, notes->widths.max_ins_name);
bf               2792 tools/perf/util/annotate.c static void ipc_coverage_string(char *bf, int size, struct annotation *notes)
bf               2804 tools/perf/util/annotate.c 	scnprintf(bf, size, "(Average IPC: %.2f, IPC Coverage: %.1f%%)",
bf               2822 tools/perf/util/annotate.c 	char bf[256];
bf               2905 tools/perf/util/annotate.c 			ipc_coverage_string(bf, sizeof(bf), notes);
bf               2906 tools/perf/util/annotate.c 			obj__printf(obj, "%*s", ANNOTATION__AVG_IPC_WIDTH, bf);
bf               2916 tools/perf/util/annotate.c 			printed = scnprintf(bf, sizeof(bf), "%-*d ", notes->widths.addr + 1, al->line_nr);
bf               2918 tools/perf/util/annotate.c 			printed = scnprintf(bf, sizeof(bf), "%-*s  ", notes->widths.addr, " ");
bf               2919 tools/perf/util/annotate.c 		obj__printf(obj, bf);
bf               2929 tools/perf/util/annotate.c 			printed = scnprintf(bf, sizeof(bf), "%" PRIx64 ": ", addr);
bf               2935 tools/perf/util/annotate.c 					printed = scnprintf(bf, sizeof(bf), "%*d ",
bf               2940 tools/perf/util/annotate.c 					obj__printf(obj, bf);
bf               2944 tools/perf/util/annotate.c 				printed = scnprintf(bf, sizeof(bf), "%*" PRIx64 ": ",
bf               2952 tools/perf/util/annotate.c 				printed = scnprintf(bf, sizeof(bf), "%-*s  ",
bf               2959 tools/perf/util/annotate.c 		obj__printf(obj, bf);
bf               2963 tools/perf/util/annotate.c 		disasm_line__write(disasm_line(al), notes, obj, bf, sizeof(bf), obj__printf, obj__write_graph);
bf               2965 tools/perf/util/annotate.c 		obj__printf(obj, "%-*s", width - pcnt_width - cycles_width - 3 - printed, bf);
bf                 61 tools/perf/util/annotate.h 	int (*scnprintf)(struct ins *ins, char *bf, size_t size,
bf                 69 tools/perf/util/annotate.h int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops, int max_ins_name);
bf                218 tools/perf/util/annotate.h 					   char *bf, size_t size,
bf                222 tools/perf/util/annotate.h int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw, int max_ins_name);
bf                741 tools/perf/util/bpf-loader.c 		char bf[128];
bf                742 tools/perf/util/bpf-loader.c 		libbpf_strerror(err, bf, sizeof(bf));
bf                743 tools/perf/util/bpf-loader.c 		pr_debug("bpf: load objects failed: err=%d: (%s)\n", err, bf);
bf                109 tools/perf/util/branch.c static int count_str_scnprintf(int idx, const char *str, char *bf, int size)
bf                111 tools/perf/util/branch.c 	return scnprintf(bf, size, "%s%s", (idx) ? " " : " (", str);
bf                114 tools/perf/util/branch.c int branch_type_str(struct branch_type_stat *st, char *bf, int size)
bf                126 tools/perf/util/branch.c 		printed += count_str_scnprintf(j++, "COND_FWD", bf + printed, size - printed);
bf                129 tools/perf/util/branch.c 		printed += count_str_scnprintf(j++, "COND_BWD", bf + printed, size - printed);
bf                136 tools/perf/util/branch.c 			printed += count_str_scnprintf(j++, branch_type_name(i), bf + printed, size - printed);
bf                140 tools/perf/util/branch.c 		printed += count_str_scnprintf(j++, "CROSS_4K", bf + printed, size - printed);
bf                143 tools/perf/util/branch.c 		printed += count_str_scnprintf(j++, "CROSS_2M", bf + printed, size - printed);
bf                 59 tools/perf/util/branch.h int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);
bf                 94 tools/perf/util/build-id.c int build_id__sprintf(const u8 *build_id, int len, char *bf)
bf                 96 tools/perf/util/build-id.c 	char *bid = bf;
bf                106 tools/perf/util/build-id.c 	return (bid - bf) + 1;
bf                160 tools/perf/util/build-id.c char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf,
bf                165 tools/perf/util/build-id.c 	snprintf(bf, size, "%s/%s/%s/kallsyms",
bf                168 tools/perf/util/build-id.c 	if (!access(bf, F_OK))
bf                169 tools/perf/util/build-id.c 		return bf;
bf                172 tools/perf/util/build-id.c 		snprintf(bf, size, "%s/%s/%s",
bf                181 tools/perf/util/build-id.c char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size)
bf                183 tools/perf/util/build-id.c 	char *tmp = bf;
bf                184 tools/perf/util/build-id.c 	int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir,
bf                188 tools/perf/util/build-id.c 	return bf;
bf                258 tools/perf/util/build-id.c char *dso__build_id_filename(const struct dso *dso, char *bf, size_t size,
bf                265 tools/perf/util/build-id.c 	bool alloc = (bf == NULL);
bf                278 tools/perf/util/build-id.c 		ret = asnprintf(&bf, size, "%s", linkname);
bf                280 tools/perf/util/build-id.c 		ret = asnprintf(&bf, size, "%s/%s", linkname,
bf                284 tools/perf/util/build-id.c 		bf = NULL;
bf                287 tools/perf/util/build-id.c 	return bf;
bf                 17 tools/perf/util/build-id.h int build_id__sprintf(const u8 *build_id, int len, char *bf);
bf                 20 tools/perf/util/build-id.h char *build_id_cache__kallsyms_path(const char *sbuild_id, char *bf,
bf                 23 tools/perf/util/build-id.h char *dso__build_id_filename(const struct dso *dso, char *bf, size_t size,
bf                 38 tools/perf/util/build-id.h char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size);
bf               1148 tools/perf/util/callchain.c 			       char *bf, size_t bfsize, bool show_dso)
bf               1158 tools/perf/util/callchain.c 			printed = scnprintf(bf, bfsize, "%s %s%s",
bf               1162 tools/perf/util/callchain.c 			printed = scnprintf(bf, bfsize, "%s%s",
bf               1165 tools/perf/util/callchain.c 		printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip);
bf               1168 tools/perf/util/callchain.c 		scnprintf(bf + printed, bfsize - printed, " %s",
bf               1173 tools/perf/util/callchain.c 	return bf;
bf               1177 tools/perf/util/callchain.c 				      char *bf, size_t bfsize, u64 total)
bf               1190 tools/perf/util/callchain.c 		scnprintf(bf, bfsize, "%"PRIu64, period);
bf               1193 tools/perf/util/callchain.c 		scnprintf(bf, bfsize, "%u", count);
bf               1199 tools/perf/util/callchain.c 		scnprintf(bf, bfsize, "%.2f%%", percent);
bf               1202 tools/perf/util/callchain.c 	return bf;
bf               1302 tools/perf/util/callchain.c static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize)
bf               1306 tools/perf/util/callchain.c 	printed = scnprintf(bf, bfsize, "%s%s:%" PRId64 "", (idx) ? " " : " (", str, value);
bf               1312 tools/perf/util/callchain.c 			      char *bf, int bfsize, float threshold)
bf               1319 tools/perf/util/callchain.c 	printed = scnprintf(bf, bfsize, "%s%s:%.1f%%", (idx) ? " " : " (", str, value);
bf               1324 tools/perf/util/callchain.c static int branch_to_str(char *bf, int bfsize,
bf               1331 tools/perf/util/callchain.c 	printed = branch_type_str(brtype_stat, bf, bfsize);
bf               1338 tools/perf/util/callchain.c 				bf + printed, bfsize - printed, 0.0);
bf               1344 tools/perf/util/callchain.c 				bf + printed, bfsize - printed, 0.1);
bf               1348 tools/perf/util/callchain.c 		printed += scnprintf(bf + printed, bfsize - printed, ")");
bf               1353 tools/perf/util/callchain.c static int branch_from_str(char *bf, int bfsize,
bf               1365 tools/perf/util/callchain.c 				bf + printed, bfsize - printed);
bf               1372 tools/perf/util/callchain.c 					v, bf + printed, bfsize - printed);
bf               1376 tools/perf/util/callchain.c 					bf + printed, bfsize - printed);
bf               1381 tools/perf/util/callchain.c 		printed += scnprintf(bf + printed, bfsize - printed, ")");
bf               1386 tools/perf/util/callchain.c static int counts_str_build(char *bf, int bfsize,
bf               1396 tools/perf/util/callchain.c 		return scnprintf(bf, bfsize, " (calltrace)");
bf               1399 tools/perf/util/callchain.c 		printed = branch_to_str(bf, bfsize, branch_count,
bf               1402 tools/perf/util/callchain.c 		printed = branch_from_str(bf, bfsize, branch_count,
bf               1408 tools/perf/util/callchain.c 		bf[0] = 0;
bf               1413 tools/perf/util/callchain.c static int callchain_counts_printf(FILE *fp, char *bf, int bfsize,
bf               1429 tools/perf/util/callchain.c 	return scnprintf(bf, bfsize, "%s", str);
bf               1433 tools/perf/util/callchain.c 					FILE *fp, char *bf, int bfsize)
bf               1448 tools/perf/util/callchain.c 	return callchain_counts_printf(fp, bf, bfsize, branch_count,
bf                276 tools/perf/util/callchain.h 			       char *bf, size_t bfsize, bool show_dso);
bf                278 tools/perf/util/callchain.h 				      char *bf, size_t bfsize, u64 total);
bf                283 tools/perf/util/callchain.h 					FILE *fp, char *bf, int bfsize);
bf                 13 tools/perf/util/color.c static int __color_vsnprintf(char *bf, size_t size, const char *color,
bf                 29 tools/perf/util/color.c 		r += scnprintf(bf, size, "%s", color);
bf                 30 tools/perf/util/color.c 	r += vscnprintf(bf + r, size - r, fmt, args);
bf                 32 tools/perf/util/color.c 		r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET);
bf                 34 tools/perf/util/color.c 		r += scnprintf(bf + r, size - r, "%s", trail);
bf                 62 tools/perf/util/color.c int color_vsnprintf(char *bf, size_t size, const char *color,
bf                 65 tools/perf/util/color.c 	return __color_vsnprintf(bf, size, color, fmt, args, NULL);
bf                 73 tools/perf/util/color.c int color_snprintf(char *bf, size_t size, const char *color,
bf                 80 tools/perf/util/color.c 	r = color_vsnprintf(bf, size, color, fmt, args);
bf                153 tools/perf/util/color.c int value_color_snprintf(char *bf, size_t size, const char *fmt, double value)
bf                156 tools/perf/util/color.c 	return color_snprintf(bf, size, color, fmt, value);
bf                159 tools/perf/util/color.c int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...)
bf                167 tools/perf/util/color.c 	return value_color_snprintf(bf, size, fmt, percent);
bf                170 tools/perf/util/color.c int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...)
bf                183 tools/perf/util/color.c 	return color_snprintf(bf, size, color, fmt, len, percent);
bf                 37 tools/perf/util/color.h int color_vsnprintf(char *bf, size_t size, const char *color,
bf                 41 tools/perf/util/color.h int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...);
bf                 43 tools/perf/util/color.h int value_color_snprintf(char *bf, size_t size, const char *fmt, double value);
bf                 44 tools/perf/util/color.h int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...);
bf                 45 tools/perf/util/color.h int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...);
bf               1275 tools/perf/util/evlist.c 	char bf;
bf               1313 tools/perf/util/evlist.c 		ret = read(go_pipe[0], &bf, 1);
bf               1365 tools/perf/util/evlist.c 	if (read(child_ready_pipe[0], &bf, 1) == -1) {
bf               1387 tools/perf/util/evlist.c 		char bf = 0;
bf               1392 tools/perf/util/evlist.c 		ret = write(evlist->workload.cork_fd, &bf, 1);
bf                396 tools/perf/util/evsel.c static int perf_evsel__add_modifiers(struct evsel *evsel, char *bf, size_t size)
bf                405 tools/perf/util/evsel.c 			r += scnprintf(bf + r, size - r, "%c", mod);	\
bf                418 tools/perf/util/evsel.c 		r += scnprintf(bf + r, size - r, "%.*s", attr->precise_ip, "ppp");
bf                428 tools/perf/util/evsel.c 		bf[colon - 1] = ':';
bf                432 tools/perf/util/evsel.c static int perf_evsel__hw_name(struct evsel *evsel, char *bf, size_t size)
bf                434 tools/perf/util/evsel.c 	int r = scnprintf(bf, size, "%s", __perf_evsel__hw_name(evsel->core.attr.config));
bf                435 tools/perf/util/evsel.c 	return r + perf_evsel__add_modifiers(evsel, bf + r, size - r);
bf                458 tools/perf/util/evsel.c static int perf_evsel__sw_name(struct evsel *evsel, char *bf, size_t size)
bf                460 tools/perf/util/evsel.c 	int r = scnprintf(bf, size, "%s", __perf_evsel__sw_name(evsel->core.attr.config));
bf                461 tools/perf/util/evsel.c 	return r + perf_evsel__add_modifiers(evsel, bf + r, size - r);
bf                464 tools/perf/util/evsel.c static int __perf_evsel__bp_name(char *bf, size_t size, u64 addr, u64 type)
bf                468 tools/perf/util/evsel.c 	r = scnprintf(bf, size, "mem:0x%" PRIx64 ":", addr);
bf                471 tools/perf/util/evsel.c 		r += scnprintf(bf + r, size - r, "r");
bf                474 tools/perf/util/evsel.c 		r += scnprintf(bf + r, size - r, "w");
bf                477 tools/perf/util/evsel.c 		r += scnprintf(bf + r, size - r, "x");
bf                482 tools/perf/util/evsel.c static int perf_evsel__bp_name(struct evsel *evsel, char *bf, size_t size)
bf                485 tools/perf/util/evsel.c 	int r = __perf_evsel__bp_name(bf, size, attr->bp_addr, attr->bp_type);
bf                486 tools/perf/util/evsel.c 	return r + perf_evsel__add_modifiers(evsel, bf + r, size - r);
bf                543 tools/perf/util/evsel.c 					    char *bf, size_t size)
bf                546 tools/perf/util/evsel.c 		return scnprintf(bf, size, "%s-%s-%s", perf_evsel__hw_cache[type][0],
bf                551 tools/perf/util/evsel.c 	return scnprintf(bf, size, "%s-%s", perf_evsel__hw_cache[type][0],
bf                555 tools/perf/util/evsel.c static int __perf_evsel__hw_cache_name(u64 config, char *bf, size_t size)
bf                577 tools/perf/util/evsel.c 	return __perf_evsel__hw_cache_type_op_res_name(type, op, result, bf, size);
bf                579 tools/perf/util/evsel.c 	return scnprintf(bf, size, "%s", err);
bf                582 tools/perf/util/evsel.c static int perf_evsel__hw_cache_name(struct evsel *evsel, char *bf, size_t size)
bf                584 tools/perf/util/evsel.c 	int ret = __perf_evsel__hw_cache_name(evsel->core.attr.config, bf, size);
bf                585 tools/perf/util/evsel.c 	return ret + perf_evsel__add_modifiers(evsel, bf + ret, size - ret);
bf                588 tools/perf/util/evsel.c static int perf_evsel__raw_name(struct evsel *evsel, char *bf, size_t size)
bf                590 tools/perf/util/evsel.c 	int ret = scnprintf(bf, size, "raw 0x%" PRIx64, evsel->core.attr.config);
bf                591 tools/perf/util/evsel.c 	return ret + perf_evsel__add_modifiers(evsel, bf + ret, size - ret);
bf                594 tools/perf/util/evsel.c static int perf_evsel__tool_name(char *bf, size_t size)
bf                596 tools/perf/util/evsel.c 	int ret = scnprintf(bf, size, "duration_time");
bf                602 tools/perf/util/evsel.c 	char bf[128];
bf                612 tools/perf/util/evsel.c 		perf_evsel__raw_name(evsel, bf, sizeof(bf));
bf                616 tools/perf/util/evsel.c 		perf_evsel__hw_name(evsel, bf, sizeof(bf));
bf                620 tools/perf/util/evsel.c 		perf_evsel__hw_cache_name(evsel, bf, sizeof(bf));
bf                625 tools/perf/util/evsel.c 			perf_evsel__tool_name(bf, sizeof(bf));
bf                627 tools/perf/util/evsel.c 			perf_evsel__sw_name(evsel, bf, sizeof(bf));
bf                631 tools/perf/util/evsel.c 		scnprintf(bf, sizeof(bf), "%s", "unknown tracepoint");
bf                635 tools/perf/util/evsel.c 		perf_evsel__bp_name(evsel, bf, sizeof(bf));
bf                639 tools/perf/util/evsel.c 		scnprintf(bf, sizeof(bf), "unknown attr type: %d",
bf                644 tools/perf/util/evsel.c 	evsel->name = strdup(bf);
bf                197 tools/perf/util/evsel.h 					    char *bf, size_t size);
bf                155 tools/perf/util/header.c int write_padded(struct feat_fd *ff, const void *bf,
bf                159 tools/perf/util/header.c 	int err = do_write(ff, bf, count);
bf               3488 tools/perf/util/header.c 	char bf[128];
bf               3506 tools/perf/util/header.c 		snprintf(bf, sizeof(bf), "%s:%s", event->system, event->name);
bf               3507 tools/perf/util/header.c 		evsel->name = strdup(bf);
bf                158 tools/perf/util/header.h int write_padded(struct feat_fd *fd, const void *bf,
bf               2625 tools/perf/util/hist.c int __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq)
bf               2673 tools/perf/util/hist.c 	printed = scnprintf(bf, size,
bf               2680 tools/perf/util/hist.c 		printed += snprintf(bf + printed, size - printed,
bf               2684 tools/perf/util/hist.c 			printed += scnprintf(bf + printed, size - printed,
bf               2689 tools/perf/util/hist.c 			printed += scnprintf(bf + printed, size - printed,
bf               2695 tools/perf/util/hist.c 		printed += scnprintf(bf + printed, size - printed,
bf               2698 tools/perf/util/hist.c 		printed += scnprintf(bf + printed, size - printed,
bf                167 tools/perf/util/hist.h int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
bf                562 tools/perf/util/hist.h int __hists__scnprintf_title(struct hists *hists, char *bf, size_t size, bool show_freq);
bf                564 tools/perf/util/hist.h static inline int hists__scnprintf_title(struct hists *hists, char *bf, size_t size)
bf                566 tools/perf/util/hist.h 	return __hists__scnprintf_title(hists, bf, size, true);
bf                 48 tools/perf/util/mem-events.h int perf_script__meminfo_scnprintf(char *bf, size_t size, struct mem_info *mem_info);
bf                 62 tools/perf/util/path.c int path__join(char *bf, size_t size, const char *path1, const char *path2)
bf                 64 tools/perf/util/path.c 	return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2);
bf                 67 tools/perf/util/path.c int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3)
bf                 69 tools/perf/util/path.c 	return scnprintf(bf, size, "%s%s%s%s%s", path1, path1[0] ? "/" : "",
bf                 10 tools/perf/util/path.h int path__join(char *bf, size_t size, const char *path1, const char *path2);
bf                 11 tools/perf/util/path.h int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
bf                534 tools/perf/util/scripting-engines/trace-event-python.c 		      bool print_off, char *bf, int size)
bf                539 tools/perf/util/scripting-engines/trace-event-python.c 		return scnprintf(bf, size, "%s", "[unknown]");
bf                542 tools/perf/util/scripting-engines/trace-event-python.c 		return scnprintf(bf, size, "%s", sym->name);
bf                546 tools/perf/util/scripting-engines/trace-event-python.c 	return scnprintf(bf, size, "%s+0x%x", sym->name, offset);
bf                549 tools/perf/util/scripting-engines/trace-event-python.c static int get_br_mspred(struct branch_flags *flags, char *bf, int size)
bf                552 tools/perf/util/scripting-engines/trace-event-python.c 		return scnprintf(bf, size, "%s", "-");
bf                555 tools/perf/util/scripting-engines/trace-event-python.c 		return scnprintf(bf, size, "%s", "M");
bf                557 tools/perf/util/scripting-engines/trace-event-python.c 	return scnprintf(bf, size, "%s", "P");
bf                566 tools/perf/util/scripting-engines/trace-event-python.c 	char bf[512];
bf                585 tools/perf/util/scripting-engines/trace-event-python.c 		get_symoff(al.sym, &al, true, bf, sizeof(bf));
bf                587 tools/perf/util/scripting-engines/trace-event-python.c 					      _PyUnicode_FromString(bf));
bf                591 tools/perf/util/scripting-engines/trace-event-python.c 		get_symoff(al.sym, &al, true, bf, sizeof(bf));
bf                593 tools/perf/util/scripting-engines/trace-event-python.c 					      _PyUnicode_FromString(bf));
bf                595 tools/perf/util/scripting-engines/trace-event-python.c 		get_br_mspred(&br->entries[i].flags, bf, sizeof(bf));
bf                597 tools/perf/util/scripting-engines/trace-event-python.c 					      _PyUnicode_FromString(bf));
bf                688 tools/perf/util/scripting-engines/trace-event-python.c static int regs_map(struct regs_dump *regs, uint64_t mask, char *bf, int size)
bf                693 tools/perf/util/scripting-engines/trace-event-python.c 	bf[0] = 0;
bf                698 tools/perf/util/scripting-engines/trace-event-python.c 		printed += scnprintf(bf + printed, size - printed,
bf                711 tools/perf/util/scripting-engines/trace-event-python.c 	char bf[512];
bf                713 tools/perf/util/scripting-engines/trace-event-python.c 	regs_map(&sample->intr_regs, attr->sample_regs_intr, bf, sizeof(bf));
bf                716 tools/perf/util/scripting-engines/trace-event-python.c 			_PyUnicode_FromString(bf));
bf                718 tools/perf/util/scripting-engines/trace-event-python.c 	regs_map(&sample->user_regs, attr->sample_regs_user, bf, sizeof(bf));
bf                721 tools/perf/util/scripting-engines/trace-event-python.c 			_PyUnicode_FromString(bf));
bf                 55 tools/perf/util/sort.c static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...)
bf                 61 tools/perf/util/sort.c 	n = vsnprintf(bf, size, fmt, ap);
bf                 63 tools/perf/util/sort.c 		char *sep = bf;
bf                 97 tools/perf/util/sort.c static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf,
bf                103 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%7d:%-*.*s", he->thread->tid,
bf                150 tools/perf/util/sort.c static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf,
bf                153 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm));
bf                194 tools/perf/util/sort.c static int _hist_entry__dso_snprintf(struct map *map, char *bf,
bf                200 tools/perf/util/sort.c 		return repsep_snprintf(bf, size, "%-*.*s", width, width, dso_name);
bf                203 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, "[unknown]");
bf                206 tools/perf/util/sort.c static int hist_entry__dso_snprintf(struct hist_entry *he, char *bf,
bf                209 tools/perf/util/sort.c 	return _hist_entry__dso_snprintf(he->ms.map, bf, size, width);
bf                291 tools/perf/util/sort.c 				     u64 ip, char level, char *bf, size_t size,
bf                298 tools/perf/util/sort.c 		ret += repsep_snprintf(bf, size, "%-#*llx %c ",
bf                302 tools/perf/util/sort.c 	ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", level);
bf                305 tools/perf/util/sort.c 			ret += repsep_snprintf(bf + ret, size - ret, "%s", sym->name);
bf                306 tools/perf/util/sort.c 			ret += repsep_snprintf(bf + ret, size - ret, "+0x%llx",
bf                309 tools/perf/util/sort.c 			ret += repsep_snprintf(bf + ret, size - ret, "%.*s",
bf                313 tools/perf/util/sort.c 				ret += repsep_snprintf(bf + ret, size - ret,
bf                318 tools/perf/util/sort.c 		ret += repsep_snprintf(bf + ret, size - ret, "%-#.*llx",
bf                325 tools/perf/util/sort.c static int hist_entry__sym_snprintf(struct hist_entry *he, char *bf,
bf                329 tools/perf/util/sort.c 					 he->level, bf, size, width);
bf                369 tools/perf/util/sort.c static int hist_entry__srcline_snprintf(struct hist_entry *he, char *bf,
bf                375 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-.*s", width, he->srcline);
bf                404 tools/perf/util/sort.c static int hist_entry__srcline_from_snprintf(struct hist_entry *he, char *bf,
bf                407 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_from);
bf                431 tools/perf/util/sort.c static int hist_entry__srcline_to_snprintf(struct hist_entry *he, char *bf,
bf                434 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_to);
bf                444 tools/perf/util/sort.c static int hist_entry__sym_ipc_snprintf(struct hist_entry *he, char *bf,
bf                454 tools/perf/util/sort.c 		return repsep_snprintf(bf, size, "%-*s", width, "-");
bf                467 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, tmp);
bf                479 tools/perf/util/sort.c 					     char *bf, size_t size,
bf                485 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, tmp);
bf                531 tools/perf/util/sort.c static int hist_entry__srcfile_snprintf(struct hist_entry *he, char *bf,
bf                537 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile);
bf                561 tools/perf/util/sort.c static int hist_entry__parent_snprintf(struct hist_entry *he, char *bf,
bf                564 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width,
bf                583 tools/perf/util/sort.c static int hist_entry__cpu_snprintf(struct hist_entry *he, char *bf,
bf                586 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%*.*d", width, width, he->cpu);
bf                622 tools/perf/util/sort.c 					  char *bf, size_t size,
bf                625 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%lu/0x%lx", he->cgroup_id.dev,
bf                644 tools/perf/util/sort.c static int hist_entry__socket_snprintf(struct hist_entry *he, char *bf,
bf                647 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%*.*d", width, width-3, he->socket);
bf                676 tools/perf/util/sort.c static int hist_entry__time_snprintf(struct hist_entry *he, char *bf,
bf                688 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-.*s", width, he_time);
bf                743 tools/perf/util/sort.c static int hist_entry__trace_snprintf(struct hist_entry *he, char *bf,
bf                750 tools/perf/util/sort.c 		return scnprintf(bf, size, "%-.*s", width, "N/A");
bf                754 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-.*s", width, he->trace_output);
bf                776 tools/perf/util/sort.c static int hist_entry__dso_from_snprintf(struct hist_entry *he, char *bf,
bf                781 tools/perf/util/sort.c 						 bf, size, width);
bf                783 tools/perf/util/sort.c 		return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A");
bf                808 tools/perf/util/sort.c static int hist_entry__dso_to_snprintf(struct hist_entry *he, char *bf,
bf                813 tools/perf/util/sort.c 						 bf, size, width);
bf                815 tools/perf/util/sort.c 		return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A");
bf                865 tools/perf/util/sort.c static int hist_entry__sym_from_snprintf(struct hist_entry *he, char *bf,
bf                872 tools/perf/util/sort.c 						 he->level, bf, size, width);
bf                875 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A");
bf                878 tools/perf/util/sort.c static int hist_entry__sym_to_snprintf(struct hist_entry *he, char *bf,
bf                885 tools/perf/util/sort.c 						 he->level, bf, size, width);
bf                888 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A");
bf                960 tools/perf/util/sort.c static int hist_entry__mispredict_snprintf(struct hist_entry *he, char *bf,
bf                971 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*.*s", width, width, out);
bf                984 tools/perf/util/sort.c static int hist_entry__cycles_snprintf(struct hist_entry *he, char *bf,
bf                988 tools/perf/util/sort.c 		return scnprintf(bf, size, "%-.*s", width, "N/A");
bf                990 tools/perf/util/sort.c 		return repsep_snprintf(bf, size, "%-*s", width, "-");
bf                991 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*hd", width,
bf               1016 tools/perf/util/sort.c static int hist_entry__daddr_snprintf(struct hist_entry *he, char *bf,
bf               1028 tools/perf/util/sort.c 	return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size,
bf               1045 tools/perf/util/sort.c static int hist_entry__iaddr_snprintf(struct hist_entry *he, char *bf,
bf               1057 tools/perf/util/sort.c 	return _hist_entry__sym_snprintf(map, sym, addr, he->level, bf, size,
bf               1075 tools/perf/util/sort.c static int hist_entry__dso_daddr_snprintf(struct hist_entry *he, char *bf,
bf               1083 tools/perf/util/sort.c 	return _hist_entry__dso_snprintf(map, bf, size, width);
bf               1105 tools/perf/util/sort.c static int hist_entry__locked_snprintf(struct hist_entry *he, char *bf,
bf               1111 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%.*s", width, out);
bf               1133 tools/perf/util/sort.c static int hist_entry__tlb_snprintf(struct hist_entry *he, char *bf,
bf               1139 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, out);
bf               1161 tools/perf/util/sort.c static int hist_entry__lvl_snprintf(struct hist_entry *he, char *bf,
bf               1167 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, out);
bf               1189 tools/perf/util/sort.c static int hist_entry__snoop_snprintf(struct hist_entry *he, char *bf,
bf               1195 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, out);
bf               1262 tools/perf/util/sort.c static int hist_entry__dcacheline_snprintf(struct hist_entry *he, char *bf,
bf               1286 tools/perf/util/sort.c 	return _hist_entry__sym_snprintf(map, sym, addr, level, bf, size,
bf               1308 tools/perf/util/sort.c static int hist_entry__local_weight_snprintf(struct hist_entry *he, char *bf,
bf               1311 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*llu", width, he_weight(he));
bf               1327 tools/perf/util/sort.c static int hist_entry__global_weight_snprintf(struct hist_entry *he, char *bf,
bf               1330 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*llu", width, he->stat.weight);
bf               1409 tools/perf/util/sort.c static int hist_entry__phys_daddr_snprintf(struct hist_entry *he, char *bf,
bf               1418 tools/perf/util/sort.c 	ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", he->level);
bf               1420 tools/perf/util/sort.c 	ret += repsep_snprintf(bf + ret, size - ret, "%-#.*llx", len, addr);
bf               1422 tools/perf/util/sort.c 	ret += repsep_snprintf(bf + ret, size - ret, "%-*s", width - ret, "");
bf               1425 tools/perf/util/sort.c 		bf[width] = '\0';
bf               1447 tools/perf/util/sort.c static int hist_entry__abort_snprintf(struct hist_entry *he, char *bf,
bf               1459 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, out);
bf               1479 tools/perf/util/sort.c static int hist_entry__in_tx_snprintf(struct hist_entry *he, char *bf,
bf               1491 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, out);
bf               1542 tools/perf/util/sort.c static int hist_entry__transaction_snprintf(struct hist_entry *he, char *bf,
bf               1563 tools/perf/util/sort.c 	return repsep_snprintf(bf, size, "%-*s", width, buf);
bf               1590 tools/perf/util/sort.c static int _hist_entry__sym_size_snprintf(struct symbol *sym, char *bf,
bf               1594 tools/perf/util/sort.c 		return repsep_snprintf(bf, bf_size, "%*d", width, symbol__size(sym));
bf               1596 tools/perf/util/sort.c 	return repsep_snprintf(bf, bf_size, "%*s", width, "unknown");
bf               1599 tools/perf/util/sort.c static int hist_entry__sym_size_snprintf(struct hist_entry *he, char *bf,
bf               1602 tools/perf/util/sort.c 	return _hist_entry__sym_size_snprintf(he->ms.sym, bf, size, width);
bf               1629 tools/perf/util/sort.c static int _hist_entry__dso_size_snprintf(struct map *map, char *bf,
bf               1633 tools/perf/util/sort.c 		return repsep_snprintf(bf, bf_size, "%*d", width,
bf               1636 tools/perf/util/sort.c 	return repsep_snprintf(bf, bf_size, "%*s", width, "unknown");
bf               1639 tools/perf/util/sort.c static int hist_entry__dso_size_snprintf(struct hist_entry *he, char *bf,
bf               1642 tools/perf/util/sort.c 	return _hist_entry__dso_size_snprintf(he->ms.map, bf, size, width);
bf                262 tools/perf/util/sort.h 	int	(*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
bf                454 tools/perf/util/symbol-elf.c static int elf_read_build_id(Elf *elf, void *bf, size_t size)
bf                520 tools/perf/util/symbol-elf.c 				memcpy(bf, ptr, sz);
bf                521 tools/perf/util/symbol-elf.c 				memset(bf + sz, 0, size - sz);
bf                533 tools/perf/util/symbol-elf.c int filename__read_build_id(const char *filename, void *bf, size_t size)
bf                551 tools/perf/util/symbol-elf.c 	err = elf_read_build_id(elf, bf, size);
bf                572 tools/perf/util/symbol-elf.c 		char bf[BUFSIZ];
bf                583 tools/perf/util/symbol-elf.c 			if (read(fd, bf, namesz) != (ssize_t)namesz)
bf                585 tools/perf/util/symbol-elf.c 			if (memcmp(bf, "GNU", sizeof("GNU")) == 0) {
bf                592 tools/perf/util/symbol-elf.c 			} else if (read(fd, bf, descsz) != (ssize_t)descsz)
bf                597 tools/perf/util/symbol-elf.c 			if (n > (int)sizeof(bf)) {
bf                598 tools/perf/util/symbol-elf.c 				n = sizeof(bf);
bf                602 tools/perf/util/symbol-elf.c 			if (read(fd, bf, n) != n)
bf                 34 tools/perf/util/symbol-minimal.c static int read_build_id(void *note_data, size_t note_len, void *bf,
bf                 66 tools/perf/util/symbol-minimal.c 				memcpy(bf, ptr, sz);
bf                 67 tools/perf/util/symbol-minimal.c 				memset(bf + sz, 0, size - sz);
bf                 87 tools/perf/util/symbol-minimal.c int filename__read_build_id(const char *filename, void *bf, size_t size)
bf                159 tools/perf/util/symbol-minimal.c 			ret = read_build_id(buf, buf_size, bf, size, need_swap);
bf                210 tools/perf/util/symbol-minimal.c 			ret = read_build_id(buf, buf_size, bf, size, need_swap);
bf               2128 tools/perf/util/symbol.c 	char bf[PATH_MAX];
bf               2155 tools/perf/util/symbol.c 		snprintf(bf, sizeof(bf), vmlinux_paths_upd[i], kernel_version);
bf               2156 tools/perf/util/symbol.c 		if (vmlinux_path__add(bf) < 0)
bf               2333 tools/perf/util/symbol.c 	char *bf = NULL;
bf               2343 tools/perf/util/symbol.c 	ret = asprintf(&bf, "%s/%s", dir, ".debug");
bf               2347 tools/perf/util/symbol.c 	set_buildid_dir(bf);
bf               2349 tools/perf/util/symbol.c 	free(bf);
bf                 87 tools/perf/util/symbol.h static inline int __symbol__join_symfs(char *bf, size_t size, const char *path)
bf                 89 tools/perf/util/symbol.h 	return path__join(bf, size, symbol_conf.symfs, path);
bf                 92 tools/perf/util/symbol.h #define symbol__join_symfs(bf, path) __symbol__join_symfs(bf, sizeof(bf), path)
bf                155 tools/perf/util/symbol.h int filename__read_build_id(const char *filename, void *bf, size_t size);
bf                156 tools/perf/util/symbol.h int sysfs__read_build_id(const char *filename, void *bf, size_t size);
bf                 74 tools/perf/util/synthetic-events.c 	char bf[4096];
bf                 91 tools/perf/util/synthetic-events.c 	n = read(fd, bf, sizeof(bf) - 1);
bf                 98 tools/perf/util/synthetic-events.c 	bf[n] = '\0';
bf                100 tools/perf/util/synthetic-events.c 	name = strstr(bf, "Name:");
bf                101 tools/perf/util/synthetic-events.c 	tgids = strstr(bf, "Tgid:");
bf                102 tools/perf/util/synthetic-events.c 	ppids = strstr(bf, "PPid:");
bf                311 tools/perf/util/synthetic-events.c 		char bf[BUFSIZ];
bf                319 tools/perf/util/synthetic-events.c 		if (fgets(bf, sizeof(bf), fp) == NULL)
bf                335 tools/perf/util/synthetic-events.c 		n = sscanf(bf, "%"PRI_lx64"-%"PRI_lx64" %s %"PRI_lx64" %x:%x %u %[^\n]\n",
bf                 23 tools/perf/util/top.c size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size)
bf                 46 tools/perf/util/top.c 		ret = SNPRINTF(bf, size,
bf                 56 tools/perf/util/top.c 		ret = SNPRINTF(bf, size,
bf                 75 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ",
bf                 80 tools/perf/util/top.c 	ret += SNPRINTF(bf + ret, size - ret, "%s", perf_evsel__name(top->sym_evsel));
bf                 82 tools/perf/util/top.c 	ret += SNPRINTF(bf + ret, size - ret, "], ");
bf                 85 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s",
bf                 88 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s",
bf                 91 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, " (uid: %s",
bf                 94 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, " (all");
bf                 97 tools/perf/util/top.c 		ret += SNPRINTF(bf + ret, size - ret, ", CPU%s: %s)",
bf                102 tools/perf/util/top.c 			ret += SNPRINTF(bf + ret, size - ret, ")");
bf                104 tools/perf/util/top.c 			ret += SNPRINTF(bf + ret, size - ret, ", %d CPU%s)",
bf                 59 tools/perf/util/top.h size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);