total             470 arch/arm/crypto/aes-ce-glue.c 	if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
total             492 arch/arm/crypto/aes-ce-glue.c 		if (walk.nbytes < walk.total)
total             542 arch/arm/crypto/aes-ce-glue.c 	if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
total             564 arch/arm/crypto/aes-ce-glue.c 		if (walk.nbytes < walk.total)
total             100 arch/arm/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total)
total             169 arch/arm/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total)
total             232 arch/arm/crypto/aes-neonbs-glue.c 		u8 *final = (walk.total % AES_BLOCK_SIZE) ? buf : NULL;
total             234 arch/arm/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total) {
total             250 arch/arm/crypto/aes-neonbs-glue.c 				       walk.total % AES_BLOCK_SIZE);
total             364 arch/arm/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total) {
total              79 arch/arm/crypto/chacha-neon-glue.c 		if (nbytes < walk.total)
total             975 arch/arm/kernel/setup.c 	unsigned long total;
total             977 arch/arm/kernel/setup.c 	total = max_low_pfn - min_low_pfn;
total             978 arch/arm/kernel/setup.c 	return total << PAGE_SHIFT;
total            1331 arch/arm/kvm/coproc.c 	unsigned int total = 0;
total            1351 arch/arm/kvm/coproc.c 				total++;
total            1358 arch/arm/kvm/coproc.c 				total++;
total            1367 arch/arm/kvm/coproc.c 	return total;
total              85 arch/arm/mach-imx/mmdc.c PMU_EVENT_ATTR_STRING(total-cycles, mmdc_pmu_total_cycles, "event=0x00")
total             193 arch/arm64/crypto/aes-ce-ccm-glue.c 		if (nbytes == walk->total && tail > 0) {
total             254 arch/arm64/crypto/aes-ce-ccm-glue.c 			if (walk.nbytes == walk.total)
total             312 arch/arm64/crypto/aes-ce-ccm-glue.c 			if (walk.nbytes == walk.total)
total             541 arch/arm64/crypto/aes-glue.c 	if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
total             563 arch/arm64/crypto/aes-glue.c 		if (walk.nbytes < walk.total)
total             613 arch/arm64/crypto/aes-glue.c 	if (unlikely(tail > 0 && walk.nbytes < walk.total)) {
total             635 arch/arm64/crypto/aes-glue.c 		if (walk.nbytes < walk.total)
total             111 arch/arm64/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total)
total             193 arch/arm64/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total)
total             240 arch/arm64/crypto/aes-neonbs-glue.c 		u8 *final = (walk.total % AES_BLOCK_SIZE) ? buf : NULL;
total             242 arch/arm64/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total) {
total             258 arch/arm64/crypto/aes-neonbs-glue.c 				       walk.total % AES_BLOCK_SIZE);
total             359 arch/arm64/crypto/aes-neonbs-glue.c 		if (walk.nbytes < walk.total || walk.nbytes % AES_BLOCK_SIZE)
total             383 arch/arm64/crypto/aes-neonbs-glue.c 		if (walk.nbytes == walk.total && nbytes > 0)
total              76 arch/arm64/crypto/chacha-neon-glue.c 		if (nbytes < walk.total)
total             439 arch/arm64/crypto/ghash-ce-glue.c 	if (likely(crypto_simd_usable() && walk.total >= 2 * AES_BLOCK_SIZE)) {
total             559 arch/arm64/crypto/ghash-ce-glue.c 	if (likely(crypto_simd_usable() && walk.total >= 2 * AES_BLOCK_SIZE)) {
total             568 arch/arm64/crypto/ghash-ce-glue.c 			int rem = walk.total - blocks * AES_BLOCK_SIZE;
total            2653 arch/arm64/kvm/sys_regs.c 			    unsigned int *total)
total            2668 arch/arm64/kvm/sys_regs.c 	(*total)++;
total            2676 arch/arm64/kvm/sys_regs.c 	unsigned int total = 0;
total            2693 arch/arm64/kvm/sys_regs.c 			err = walk_one_sys_reg(vcpu, i1, &uind, &total);
total            2695 arch/arm64/kvm/sys_regs.c 			err = walk_one_sys_reg(vcpu, i2, &uind, &total);
total            2705 arch/arm64/kvm/sys_regs.c 	return total;
total             276 arch/ia64/kernel/setup.c static void __init setup_crashkernel(unsigned long total, int *n)
total             281 arch/ia64/kernel/setup.c 	ret = parse_crashkernel(boot_command_line, total,
total             305 arch/ia64/kernel/setup.c 					(unsigned long)(total >> 20));
total             323 arch/ia64/kernel/setup.c static inline void __init setup_crashkernel(unsigned long total, int *n)
total             971 arch/mips/cavium-octeon/setup.c 	uint64_t total;
total             979 arch/mips/cavium-octeon/setup.c 	total = 0;
total             996 arch/mips/cavium-octeon/setup.c 	total += max_memory;
total            1010 arch/mips/cavium-octeon/setup.c 	while (total < max_memory) {
total            1045 arch/mips/cavium-octeon/setup.c 				total += crashk_base - memory;
total            1049 arch/mips/cavium-octeon/setup.c 				total += end - crashk_end;
total            1077 arch/mips/cavium-octeon/setup.c 			total += mem_alloc_size;
total            1104 arch/mips/cavium-octeon/setup.c 	if (total == 0)
total              67 arch/mips/pci/ops-pmcmsp.c 	unsigned int intcount, total = 0;
total              73 arch/mips/pci/ops-pmcmsp.c 			total += intcount;
total              77 arch/mips/pci/ops-pmcmsp.c 	seq_printf(m, "total = %u\n", total);
total              69 arch/mips/txx9/generic/mem_tx4927.c 	unsigned int total = 0;
total              73 arch/mips/txx9/generic/mem_tx4927.c 		total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]);
total              74 arch/mips/txx9/generic/mem_tx4927.c 	return total;
total              42 arch/powerpc/platforms/cell/spufs/coredump.c 	int i, sz, total = 0;
total              52 arch/powerpc/platforms/cell/spufs/coredump.c 		total += sizeof(struct elf_note);
total              53 arch/powerpc/platforms/cell/spufs/coredump.c 		total += roundup(strlen(fullname) + 1, 4);
total              54 arch/powerpc/platforms/cell/spufs/coredump.c 		total += roundup(sz, 4);
total              57 arch/powerpc/platforms/cell/spufs/coredump.c 	return total;
total             122 arch/powerpc/platforms/cell/spufs/coredump.c 	int sz, rc, total = 0;
total             155 arch/powerpc/platforms/cell/spufs/coredump.c 			total += rc;
total             157 arch/powerpc/platforms/cell/spufs/coredump.c 	} while (rc == bufsz && total < sz);
total             162 arch/powerpc/platforms/cell/spufs/coredump.c 	skip = roundup(cprm->pos - total + sz, 4) - cprm->pos;
total             213 arch/powerpc/platforms/powernv/ocxl.c static u16 assign_fn_actags(u16 desired, u16 total)
total             217 arch/powerpc/platforms/powernv/ocxl.c 	if (total <= PNV_OCXL_ACTAG_MAX)
total             220 arch/powerpc/platforms/powernv/ocxl.c 		count = PNV_OCXL_ACTAG_MAX * desired / total;
total              98 arch/powerpc/platforms/ps3/mm.c 	u64 total;
total             109 arch/powerpc/platforms/ps3/mm.c 	DBG("%s:%d: map.total     = %llxh\n", func, line, m->total);
total             128 arch/powerpc/platforms/ps3/mm.c 	return (phys_addr < map.rm.size || phys_addr >= map.total)
total             318 arch/powerpc/platforms/ps3/mm.c 		map.total = map.rm.size;
total            1128 arch/powerpc/platforms/ps3/mm.c 	r->len = len ? len : _ALIGN_UP(map.total, 1 << r->page_size);
total            1193 arch/powerpc/platforms/ps3/mm.c 		&map.total);
total            1209 arch/powerpc/platforms/ps3/mm.c 		result = ps3_mm_region_create(&map.r1, map.total - map.rm.size);
total            1216 arch/powerpc/platforms/ps3/mm.c 	map.total = map.rm.size + map.r1.size;
total            1223 arch/powerpc/platforms/ps3/mm.c 			map.total - map.rm.size);
total            1224 arch/powerpc/platforms/ps3/mm.c 		memblock_add(map.rm.size, map.total - map.rm.size);
total             166 arch/powerpc/platforms/pseries/msi.c static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total)
total             177 arch/powerpc/platforms/pseries/msi.c 			*total = be32_to_cpup(p);
total             187 arch/powerpc/platforms/pseries/msi.c static struct device_node *find_pe_dn(struct pci_dev *dev, int *total)
total             213 arch/powerpc/platforms/pseries/msi.c 	*total = 8;
total             278 arch/powerpc/platforms/pseries/msi.c 	int total;
total             283 arch/powerpc/platforms/pseries/msi.c 	pe_dn = find_pe_total_msi(dev, &total);
total             285 arch/powerpc/platforms/pseries/msi.c 		pe_dn = find_pe_dn(dev, &total);
total             305 arch/powerpc/platforms/pseries/msi.c 	counts.quota = total / counts.num_devices;
total             316 arch/powerpc/platforms/pseries/msi.c 	counts.spare += total % counts.num_devices;
total              64 arch/s390/numa/mode_emu.c 	int total;			/* Total number of pinned cores */
total              77 arch/s390/numa/mode_emu.c 		emu_cores->total++;
total             333 arch/s390/numa/mode_emu.c 	cores_total = emu_cores->total + cores_free(phys);
total             260 arch/sparc/mm/srmmu.c 	unsigned long total = 0;
total             264 arch/sparc/mm/srmmu.c 		total += sp_banks[i].num_bytes;
total             266 arch/sparc/mm/srmmu.c 	return total;
total             126 arch/um/drivers/mconsole_user.c int mconsole_reply_len(struct mc_request *req, const char *str, int total,
total             143 arch/um/drivers/mconsole_user.c 		len = MIN(total, MCONSOLE_MAX_DATA - 1);
total             145 arch/um/drivers/mconsole_user.c 		if (len == total) reply.more = more;
total             150 arch/um/drivers/mconsole_user.c 		total -= len;
total             161 arch/um/drivers/mconsole_user.c 	} while (total > 0);
total             141 arch/x86/crypto/chacha_glue.c 		if (nbytes < walk->total) {
total             296 arch/x86/events/intel/core.c EVENT_ATTR_STR_HT(topdown-total-slots, td_total_slots,
total             299 arch/x86/events/intel/core.c EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2");
total            1436 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots, td_total_slots_slm, "event=0x3c");
total            1437 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots.scale, td_total_slots_scale_slm, "2");
total            1592 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots, td_total_slots_glm, "event=0x3c");
total            1593 arch/x86/events/intel/core.c EVENT_ATTR_STR(topdown-total-slots.scale, td_total_slots_scale_glm, "3");
total             527 block/blk-cgroup.c 	u64 total = 0;
total             533 block/blk-cgroup.c 			total += prfill(sf, blkg->pd[pol->plid], data);
total             539 block/blk-cgroup.c 		seq_printf(sf, "Total %llu\n", (unsigned long long)total);
total             122 block/blk-iolatency.c 	u64 total;
total             196 block/blk-iolatency.c 		stat->ps.total = 0;
total             207 block/blk-iolatency.c 		sum->ps.total += stat->ps.total;
total             220 block/blk-iolatency.c 		stat->ps.total++;
total             230 block/blk-iolatency.c 		u64 thresh = div64_u64(stat->ps.total, 10);
total             241 block/blk-iolatency.c 		return stat->ps.total;
total             906 block/blk-iolatency.c 				 (unsigned long long)stat.ps.total);
total             909 block/blk-iolatency.c 			 (unsigned long long)stat.ps.total,
total             403 block/blk-merge.c 	unsigned nsegs = 0, total = 0;
total             406 block/blk-merge.c 		unsigned offset = bvec->bv_offset + total;
total             424 block/blk-merge.c 		total += len;
total             852 block/sed-opal.c 	int total;
total             885 block/sed-opal.c 	total = slen;
total             886 block/sed-opal.c 	print_buffer(pos, total);
total             887 block/sed-opal.c 	while (total > 0) {
total             903 block/sed-opal.c 		total -= token_length;
total             106 crypto/ablkcipher.c 	walk->total -= n;
total             107 crypto/ablkcipher.c 	more = (walk->total != 0);
total             222 crypto/ablkcipher.c 	n = walk->total;
total             269 crypto/ablkcipher.c 	walk->nbytes = walk->total;
total             270 crypto/ablkcipher.c 	if (unlikely(!walk->total))
total             337 crypto/aegis128-core.c 		if (nbytes < walk.total)
total              74 crypto/ahash.c 	if (walk->entrylen > walk->total)
total              75 crypto/ahash.c 		walk->entrylen = walk->total;
total              76 crypto/ahash.c 	walk->total -= walk->entrylen;
total             120 crypto/ahash.c 	if (!walk->total)
total             132 crypto/ahash.c 	walk->total = req->nbytes;
total             134 crypto/ahash.c 	if (!walk->total) {
total             150 crypto/ahash.c 	walk->total = req->nbytes;
total             152 crypto/ahash.c 	if (!walk->total) {
total             454 crypto/api.c   	unsigned int total;
total             458 crypto/api.c   	total = tfmsize + sizeof(*tfm) + frontend->extsize(alg);
total             460 crypto/api.c   	mem = kzalloc(total, GFP_KERNEL);
total             105 crypto/blkcipher.c 	walk->total -= n;
total             106 crypto/blkcipher.c 	more = (walk->total != 0);
total             223 crypto/blkcipher.c 	n = walk->total;
total             323 crypto/blkcipher.c 	walk->nbytes = walk->total;
total             324 crypto/blkcipher.c 	if (unlikely(!walk->total))
total              48 crypto/chacha_generic.c 		if (nbytes < walk.total)
total             186 crypto/lrw.c   		if (second_pass && w.nbytes == w.total) {
total             168 crypto/salsa20_generic.c 		if (nbytes < walk.total)
total             114 crypto/skcipher.c 		nbytes = walk->total - n;
total             147 crypto/skcipher.c 	walk->total = nbytes;
total             352 crypto/skcipher.c 	n = walk->total;
total             358 crypto/skcipher.c 		if (unlikely(walk->total < walk->blocksize))
total             453 crypto/skcipher.c 	walk->total = req->cryptlen;
total             458 crypto/skcipher.c 	if (unlikely(!walk->total))
total             520 crypto/skcipher.c 	if (unlikely(!walk->total))
total             531 crypto/skcipher.c 	scatterwalk_done(&walk->in, 0, walk->total);
total             532 crypto/skcipher.c 	scatterwalk_done(&walk->out, 0, walk->total);
total             555 crypto/skcipher.c 	walk->total = req->cryptlen;
total             564 crypto/skcipher.c 	walk->total = req->cryptlen;
total             575 crypto/skcipher.c 	walk->total = req->cryptlen - crypto_aead_authsize(tfm);
total             432 crypto/testmgr.c 	unsigned int total = 0;
total             435 crypto/testmgr.c 	for (i = 0; i < count && total != TEST_SG_TOTAL; i++) {
total             437 crypto/testmgr.c 		    divs[i].proportion_of_total > TEST_SG_TOTAL - total)
total             439 crypto/testmgr.c 		total += divs[i].proportion_of_total;
total             445 crypto/testmgr.c 	return total == TEST_SG_TOTAL &&
total             114 crypto/xts.c   			    w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) {
total             952 drivers/ata/pata_hpt37x.c 		u32 total = 0;
total             959 drivers/ata/pata_hpt37x.c 			total += sr & 0x1FF;
total             962 drivers/ata/pata_hpt37x.c 		freq = total / 128;
total             421 drivers/ata/pata_hpt3x2n.c 		u32 total = 0;
total             428 drivers/ata/pata_hpt3x2n.c 			total += sr & 0x1FF;
total             431 drivers/ata/pata_hpt3x2n.c 		fcnt = total / 128;
total            1499 drivers/atm/ambassador.c   size_t total = 0;
total            1505 drivers/atm/ambassador.c   total += cmds * sizeof(command);
total            1507 drivers/atm/ambassador.c   total += txs * (sizeof(tx_in) + sizeof(tx_out));
total            1510 drivers/atm/ambassador.c     total += rxs[pool] * (sizeof(rx_in) + sizeof(rx_out));
total            1512 drivers/atm/ambassador.c   memory = kmalloc (total, GFP_KERNEL);
total            1517 drivers/atm/ambassador.c   if (check_area (memory, total)) {
total            1523 drivers/atm/ambassador.c   limit = memory + total;
total            1603 drivers/atm/ambassador.c     kfree (limit - total);
total             181 drivers/atm/idt77252.h 	unsigned int		total;
total            2939 drivers/base/power/domain.c 	ktime_t delta = 0, total = 0;
total            2953 drivers/base/power/domain.c 		total = ktime_add(total, genpd->states[i].idle_time);
total            2955 drivers/base/power/domain.c 	total = ktime_add(total, delta);
total            2957 drivers/base/power/domain.c 	seq_printf(s, "%lld ms\n", ktime_to_ms(total));
total             622 drivers/block/drbd/drbd_int.h 	int total; /* sum of all values */
total              77 drivers/block/drbd/drbd_proc.c 		unsigned long total = 1UL + (*rs_total >> shift);
total              78 drivers/block/drbd/drbd_proc.c 		unsigned long tmp = 1000UL - left * 1000UL/total;
total            4826 drivers/block/drbd/drbd_receiver.c 	unsigned int total = c->bytes[0] + c->bytes[1];
total            4830 drivers/block/drbd/drbd_receiver.c 	if (total == 0)
total            4834 drivers/block/drbd/drbd_receiver.c 	if (total >= plain)
total            4838 drivers/block/drbd/drbd_receiver.c 	r = (total > UINT_MAX/1000) ? (total / (plain/1000))
total            4839 drivers/block/drbd/drbd_receiver.c 		                    : (1000 * total / plain);
total            4850 drivers/block/drbd/drbd_receiver.c 			total, r/10, r % 10);
total             495 drivers/block/drbd/drbd_worker.c 	fb->total = 0;
total             524 drivers/block/drbd/drbd_worker.c 	correction = want - device->rs_in_flight - plan->total;
total             529 drivers/block/drbd/drbd_worker.c 	plan->total += cps * steps;
total             533 drivers/block/drbd/drbd_worker.c 	plan->total -= curr_corr;
total            1688 drivers/block/drbd/drbd_worker.c 	plan->total = 0;
total            1384 drivers/block/mtip32xx/mtip32xx.c 	u64 total, raw0, raw1, raw2, raw3;
total            1389 drivers/block/mtip32xx/mtip32xx.c 	total = raw0 | raw1<<16 | raw2<<32 | raw3<<48;
total            1390 drivers/block/mtip32xx/mtip32xx.c 	*sectors = total;
total             391 drivers/block/xen-blkback/blkback.c 	unsigned int num_clean, total;
total             422 drivers/block/xen-blkback/blkback.c 	total = 0;
total             435 drivers/block/xen-blkback/blkback.c 		if (scan_used && total >= num_clean)
total             441 drivers/block/xen-blkback/blkback.c 		total++;
total             448 drivers/block/xen-blkback/blkback.c 	if (!scan_used && total < num_clean) {
total             449 drivers/block/xen-blkback/blkback.c 		pr_debug("Still missing %u purged frames\n", num_clean - total);
total             454 drivers/block/xen-blkback/blkback.c 	if (total) {
total             455 drivers/block/xen-blkback/blkback.c 		ring->persistent_gnt_c -= total;
total             460 drivers/block/xen-blkback/blkback.c 		pr_debug("Purged %u/%u\n", num_clean, total);
total             515 drivers/char/dtlk.c 	int total, i;
total             519 drivers/char/dtlk.c 	for (total = 0, i = 0; i < 50; i++) {
total             520 drivers/char/dtlk.c 		buf[total] = dtlk_read_tts();
total             521 drivers/char/dtlk.c 		if (total > 2 && buf[total] == 0x7f)
total             523 drivers/char/dtlk.c 		if (total < sizeof(struct dtlk_settings))
total             524 drivers/char/dtlk.c 			total++;
total             520 drivers/char/tpm/tpm1-cmd.c 	u32 total = 0;
total             556 drivers/char/tpm/tpm1-cmd.c 		total += recd;
total             560 drivers/char/tpm/tpm1-cmd.c 	} while (retries-- && total < max);
total             562 drivers/char/tpm/tpm1-cmd.c 	rc = total ? (int)total : -EIO;
total             309 drivers/char/tpm/tpm2-cmd.c 	int total = 0;
total             346 drivers/char/tpm/tpm2-cmd.c 		total += recd;
total             348 drivers/char/tpm/tpm2-cmd.c 	} while (retries-- && total < max);
total             351 drivers/char/tpm/tpm2-cmd.c 	return total ? total : -EIO;
total             974 drivers/cpufreq/intel_pstate.c 	int total, no_turbo, turbo_pct;
total             986 drivers/cpufreq/intel_pstate.c 	total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1;
total             988 drivers/cpufreq/intel_pstate.c 	turbo_fp = div_fp(no_turbo, total);
total            1000 drivers/cpufreq/intel_pstate.c 	int total;
total            1010 drivers/cpufreq/intel_pstate.c 	total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1;
total            1014 drivers/cpufreq/intel_pstate.c 	return sprintf(buf, "%u\n", total);
total             205 drivers/crypto/atmel-aes.c 	size_t			total;
total             601 drivers/crypto/atmel-aes.c 				 dd->buf, dd->total))
total             623 drivers/crypto/atmel-aes.c 	dd->total = len;
total             695 drivers/crypto/atmel-aes.c 	dd->total = len;
total             776 drivers/crypto/atmel-aes.c 				    dd->buf, dd->total);
total            1021 drivers/crypto/atmel-aes.c 	ctx->offset += dd->total;
total            1081 drivers/crypto/atmel-aes.c 	dd->total = 0;
total            1491 drivers/crypto/atmel-aes.c 	atmel_aes_write(dd, AES_AADLENR, dd->total);
total             101 drivers/crypto/atmel-sha.c 	unsigned int	total;	/* total request */
total             306 drivers/crypto/atmel-sha.c 	while ((ctx->bufcnt < ctx->buflen) && ctx->total) {
total             307 drivers/crypto/atmel-sha.c 		count = min(ctx->sg->length - ctx->offset, ctx->total);
total             330 drivers/crypto/atmel-sha.c 		ctx->total -= count;
total             337 drivers/crypto/atmel-sha.c 				ctx->total = 0;
total             742 drivers/crypto/atmel-sha.c 	final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total;
total             766 drivers/crypto/atmel-sha.c 	if (!ctx->total)
total             773 drivers/crypto/atmel-sha.c 		ctx->digcnt[1], ctx->digcnt[0], ctx->bufcnt, ctx->total);
total             784 drivers/crypto/atmel-sha.c 	length = min(ctx->total, sg->length);
total             794 drivers/crypto/atmel-sha.c 	ctx->total -= length;
total             797 drivers/crypto/atmel-sha.c 	final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total;
total             803 drivers/crypto/atmel-sha.c 		ctx->total += tail;
total             884 drivers/crypto/atmel-sha.c 		ctx->total, ctx->digcnt[1], ctx->digcnt[0]);
total            1165 drivers/crypto/atmel-sha.c 	ctx->total = req->nbytes;
total            1170 drivers/crypto/atmel-sha.c 		if (ctx->bufcnt + ctx->total < ATMEL_SHA_DMA_THRESHOLD)
total            1173 drivers/crypto/atmel-sha.c 	} else if (ctx->bufcnt + ctx->total < ctx->buflen) {
total            1583 drivers/crypto/atmel-sha.c 		ctx->total -= ctx->bufcnt;
total            1585 drivers/crypto/atmel-sha.c 		if (!ctx->total)
total            1596 drivers/crypto/atmel-sha.c 		ctx->bufcnt = min_t(size_t, ctx->block_size, ctx->total);
total            1638 drivers/crypto/atmel-sha.c 	ctx->total = len;
total            1642 drivers/crypto/atmel-sha.c 	ctx->bufcnt = min_t(size_t, ctx->block_size, ctx->total);
total             110 drivers/crypto/atmel-tdes.c 	size_t				total;
total             148 drivers/crypto/atmel-tdes.c 			void *buf, size_t buflen, size_t total, int out)
total             152 drivers/crypto/atmel-tdes.c 	while (buflen && total) {
total             153 drivers/crypto/atmel-tdes.c 		count = min((*sg)->length - *offset, total);
total             164 drivers/crypto/atmel-tdes.c 		total -= count;
total             171 drivers/crypto/atmel-tdes.c 				total = 0;
total             525 drivers/crypto/atmel-tdes.c 		count = min_t(size_t, dd->total, sg_dma_len(dd->in_sg));
total             551 drivers/crypto/atmel-tdes.c 				dd->buf_in, dd->buflen, dd->total, 0);
total             559 drivers/crypto/atmel-tdes.c 	dd->total -= count;
total             617 drivers/crypto/atmel-tdes.c 	dd->total = req->nbytes;
total            1111 drivers/crypto/atmel-tdes.c 	if (dd->total && !err) {
total              97 drivers/crypto/img-hash.c 	unsigned int		total;
total             259 drivers/crypto/img-hash.c 	ctx->total = hdev->req->nbytes;
total             266 drivers/crypto/img-hash.c 	return img_hash_xmit_cpu(hdev, ctx->buffer, ctx->total, 1);
total             318 drivers/crypto/img-hash.c 	dev_dbg(hdev->dev, "xmit dma size: %d\n", ctx->total);
total             320 drivers/crypto/img-hash.c 	if (!ctx->total)
total             662 drivers/crypto/img-hash.c 	ctx->total = req->nbytes;
total             368 drivers/crypto/mediatek/mtk-aes.c 				    aes->buf, aes->total);
total             470 drivers/crypto/mediatek/mtk-aes.c 	aes->total = len;
total             581 drivers/crypto/mediatek/mtk-aes.c 	cctx->offset += aes->total;
total             630 drivers/crypto/mediatek/mtk-aes.c 	aes->total = 0;
total             932 drivers/crypto/mediatek/mtk-aes.c 		if (aes->total > AES_BUF_SIZE)
total             949 drivers/crypto/mediatek/mtk-aes.c 		sg_set_buf(&aes->aligned_sg, aes->buf, aes->total);
total             972 drivers/crypto/mediatek/mtk-aes.c 		aes->total = len + gctx->authsize;
total             977 drivers/crypto/mediatek/mtk-aes.c 		aes->total = len;
total             160 drivers/crypto/mediatek/mtk-platform.h 	size_t total;
total              91 drivers/crypto/mediatek/mtk-sha.c 	u32 total;	/* Total request */
total             185 drivers/crypto/mediatek/mtk-sha.c 	while ((ctx->bufcnt < SHA_BUF_SIZE) && ctx->total) {
total             186 drivers/crypto/mediatek/mtk-sha.c 		count = min(ctx->sg->length - ctx->offset, ctx->total);
total             209 drivers/crypto/mediatek/mtk-sha.c 		ctx->total -= count;
total             216 drivers/crypto/mediatek/mtk-sha.c 				ctx->total = 0;
total             494 drivers/crypto/mediatek/mtk-sha.c 	final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total;
total             503 drivers/crypto/mediatek/mtk-sha.c 	if (final || (ctx->bufcnt == SHA_BUF_SIZE && ctx->total)) {
total             519 drivers/crypto/mediatek/mtk-sha.c 	if (!ctx->total)
total             534 drivers/crypto/mediatek/mtk-sha.c 	len = min(ctx->total, sg->length);
total             544 drivers/crypto/mediatek/mtk-sha.c 	ctx->total -= len;
total             547 drivers/crypto/mediatek/mtk-sha.c 	final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total;
total             555 drivers/crypto/mediatek/mtk-sha.c 		ctx->total += tail;
total             750 drivers/crypto/mediatek/mtk-sha.c 	ctx->total = req->nbytes;
total             754 drivers/crypto/mediatek/mtk-sha.c 	if ((ctx->bufcnt + ctx->total < SHA_BUF_SIZE) &&
total             174 drivers/crypto/nx/nx-aes-xcbc.c 	u32 to_process = 0, leftover, total;
total             183 drivers/crypto/nx/nx-aes-xcbc.c 	total = sctx->count + len;
total             189 drivers/crypto/nx/nx-aes-xcbc.c 	if (total <= AES_BLOCK_SIZE) {
total             213 drivers/crypto/nx/nx-aes-xcbc.c 		to_process = total - to_process;
total             216 drivers/crypto/nx/nx-aes-xcbc.c 		leftover = total - to_process;
total             277 drivers/crypto/nx/nx-aes-xcbc.c 		total -= to_process;
total              63 drivers/crypto/nx/nx-sha256.c 	u64 to_process = 0, leftover, total;
total              76 drivers/crypto/nx/nx-sha256.c 	total = (sctx->count % SHA256_BLOCK_SIZE) + len;
total              77 drivers/crypto/nx/nx-sha256.c 	if (total < SHA256_BLOCK_SIZE) {
total             127 drivers/crypto/nx/nx-sha256.c 		to_process = min_t(u64, total,
total             138 drivers/crypto/nx/nx-sha256.c 		leftover = total - to_process;
total             159 drivers/crypto/nx/nx-sha256.c 		total -= to_process;
total              63 drivers/crypto/nx/nx-sha512.c 	u64 to_process, leftover = 0, total;
total              76 drivers/crypto/nx/nx-sha512.c 	total = (sctx->count[0] % SHA512_BLOCK_SIZE) + len;
total              77 drivers/crypto/nx/nx-sha512.c 	if (total < SHA512_BLOCK_SIZE) {
total             126 drivers/crypto/nx/nx-sha512.c 		to_process = min_t(u64, total,
total             142 drivers/crypto/nx/nx-sha512.c 		leftover = total - to_process;
total             163 drivers/crypto/nx/nx-sha512.c 		total -= to_process;
total             267 drivers/crypto/nx/nx.c 	unsigned int total = *nbytes;
total             287 drivers/crypto/nx/nx.c 	if (*nbytes < total)
total              46 drivers/crypto/omap-aes-gcm.c 	clen = ALIGN(dd->total, AES_BLOCK_SIZE);
total              49 drivers/crypto/omap-aes-gcm.c 	nsg = !!(dd->assoc_len && dd->total);
total              58 drivers/crypto/omap-aes-gcm.c 			    dd->aead_req->assoclen, dd->total,
total              64 drivers/crypto/omap-aes-gcm.c 					 dd->total + dd->aead_req->assoclen,
total             138 drivers/crypto/omap-aes-gcm.c 	dd->total = cryptlen;
total             231 drivers/crypto/omap-aes-gcm.c 					 dd->total + dd->aead_req->assoclen,
total             345 drivers/crypto/omap-aes.c 	dd->pdata->trigger(dd, dd->total);
total             354 drivers/crypto/omap-aes.c 	pr_debug("total: %d\n", dd->total);
total             397 drivers/crypto/omap-aes.c 	pr_debug("total: %d\n", dd->total);
total             430 drivers/crypto/omap-aes.c 	dd->total = req->nbytes;
total             440 drivers/crypto/omap-aes.c 	ret = omap_crypto_align_sg(&dd->in_sg, dd->total, AES_BLOCK_SIZE,
total             446 drivers/crypto/omap-aes.c 	ret = omap_crypto_align_sg(&dd->out_sg, dd->total, AES_BLOCK_SIZE,
total             452 drivers/crypto/omap-aes.c 	dd->in_sg_len = sg_nents_for_len(dd->in_sg, dd->total);
total             456 drivers/crypto/omap-aes.c 	dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total);
total             947 drivers/crypto/omap-aes.c 		dd->total -= min_t(size_t, AES_BLOCK_SIZE, dd->total);
total             953 drivers/crypto/omap-aes.c 		if (!dd->total)
total             173 drivers/crypto/omap-aes.h 	size_t				total;
total              16 drivers/crypto/omap-crypto.c static int omap_crypto_copy_sg_lists(int total, int bs,
total              33 drivers/crypto/omap-crypto.c 	while (*sg && total) {
total              36 drivers/crypto/omap-crypto.c 		if (total < len)
total              37 drivers/crypto/omap-crypto.c 			len = total;
total              40 drivers/crypto/omap-crypto.c 			total -= len;
total              42 drivers/crypto/omap-crypto.c 			if (total <= 0)
total              55 drivers/crypto/omap-crypto.c static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg,
total              62 drivers/crypto/omap-crypto.c 	new_len = ALIGN(total, bs);
total              73 drivers/crypto/omap-crypto.c 		scatterwalk_map_and_copy(buf, *sg, 0, total, 0);
total              75 drivers/crypto/omap-crypto.c 			memset(buf + total, 0, new_len - total);
total              88 drivers/crypto/omap-crypto.c static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs,
total              94 drivers/crypto/omap-crypto.c 	if (!IS_ALIGNED(total, bs))
total             112 drivers/crypto/omap-crypto.c 		if (len >= total)
total             119 drivers/crypto/omap-crypto.c 	if (len != total)
total             125 drivers/crypto/omap-crypto.c int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
total             136 drivers/crypto/omap-crypto.c 		ret = omap_crypto_check_sg(*sg, total, bs, flags);
total             139 drivers/crypto/omap-crypto.c 		ret = omap_crypto_copy_sgs(total, bs, sg, new_sg, flags);
total             144 drivers/crypto/omap-crypto.c 		ret = omap_crypto_copy_sg_lists(total, bs, sg, new_sg, flags);
total              27 drivers/crypto/omap-crypto.h int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
total             148 drivers/crypto/omap-des.c 	size_t                          total;
total             452 drivers/crypto/omap-des.c 	dd->pdata->trigger(dd, dd->total);
total             463 drivers/crypto/omap-des.c 	pr_debug("total: %d\n", dd->total);
total             506 drivers/crypto/omap-des.c 	pr_debug("total: %d\n", dd->total);
total             541 drivers/crypto/omap-des.c 	dd->total = req->nbytes;
total             551 drivers/crypto/omap-des.c 	ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE,
total             557 drivers/crypto/omap-des.c 	ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE,
total             563 drivers/crypto/omap-des.c 	dd->in_sg_len = sg_nents_for_len(dd->in_sg, dd->total);
total             567 drivers/crypto/omap-des.c 	dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total);
total             918 drivers/crypto/omap-des.c 		BUG_ON(dd->total < DES_BLOCK_SIZE);
total             920 drivers/crypto/omap-des.c 		dd->total -= DES_BLOCK_SIZE;
total             926 drivers/crypto/omap-des.c 		if (!dd->total)
total             156 drivers/crypto/omap-sham.c 	unsigned int		total;	/* total request */
total             532 drivers/crypto/omap-sham.c 	ctx->total -= length;
total             625 drivers/crypto/omap-sham.c 	ctx->total -= length;
total             706 drivers/crypto/omap-sham.c 	pages = get_order(ctx->total);
total             718 drivers/crypto/omap-sham.c 				 ctx->total - ctx->bufcnt, 0);
total             824 drivers/crypto/omap-sham.c 	rctx->total = nbytes + rctx->bufcnt;
total             826 drivers/crypto/omap-sham.c 	if (!rctx->total)
total             848 drivers/crypto/omap-sham.c 	xmit_len = rctx->total;
total             859 drivers/crypto/omap-sham.c 	hash_later = rctx->total - xmit_len;
total             905 drivers/crypto/omap-sham.c 		rctx->total = xmit_len;
total             977 drivers/crypto/omap-sham.c 	ctx->total = 0;
total            1004 drivers/crypto/omap-sham.c 		 ctx->total, ctx->digcnt, (ctx->flags & BIT(FLAGS_FINUP)) != 0);
total            1006 drivers/crypto/omap-sham.c 	if (ctx->total < get_block_size(ctx) ||
total            1007 drivers/crypto/omap-sham.c 	    ctx->total < dd->fallback_sz)
total            1011 drivers/crypto/omap-sham.c 		err = omap_sham_xmit_cpu(dd, ctx->total, final);
total            1013 drivers/crypto/omap-sham.c 		err = omap_sham_xmit_dma(dd, ctx->total, final);
total            1027 drivers/crypto/omap-sham.c 	if ((ctx->total <= get_block_size(ctx)) || dd->polling_mode)
total            1035 drivers/crypto/omap-sham.c 		err = omap_sham_xmit_dma(dd, ctx->total, 1);
total            1037 drivers/crypto/omap-sham.c 		err = omap_sham_xmit_cpu(dd, ctx->total, 1);
total            1147 drivers/crypto/omap-sham.c 	if (err || !ctx->total)
total             316 drivers/crypto/picoxcell_crypto.c 	unsigned total;
total             321 drivers/crypto/picoxcell_crypto.c 	total = areq->assoclen + areq->cryptlen;
total             323 drivers/crypto/picoxcell_crypto.c 		total += crypto_aead_authsize(aead);
total             325 drivers/crypto/picoxcell_crypto.c 	src_nents = sg_nents_for_len(areq->src, total);
total             335 drivers/crypto/picoxcell_crypto.c 		dst_nents = sg_nents_for_len(areq->dst, total);
total             385 drivers/crypto/picoxcell_crypto.c 	total = req->is_encrypt ? 0 : areq->assoclen;
total             389 drivers/crypto/picoxcell_crypto.c 		if (len <= total) {
total             390 drivers/crypto/picoxcell_crypto.c 			total -= len;
total             394 drivers/crypto/picoxcell_crypto.c 		ddt_set(dst_ddt++, sg_dma_address(cur) + total, len - total);
total             415 drivers/crypto/picoxcell_crypto.c 	unsigned total = areq->assoclen + areq->cryptlen +
total             419 drivers/crypto/picoxcell_crypto.c 	int nents = sg_nents_for_len(areq->src, total);
total             429 drivers/crypto/picoxcell_crypto.c 		nents = sg_nents_for_len(areq->dst, total);
total             233 drivers/crypto/qce/sha.c 	unsigned int total, len;
total             242 drivers/crypto/qce/sha.c 	total = req->nbytes + rctx->buflen;
total             244 drivers/crypto/qce/sha.c 	if (total <= blocksize) {
total             263 drivers/crypto/qce/sha.c 	hash_later = total % blocksize;
total             271 drivers/crypto/qce/sha.c 	nbytes = total - hash_later;
total             121 drivers/crypto/rockchip/rk3288_crypto.c 					dev->total - dev->left_bytes)) {
total             212 drivers/crypto/rockchip/rk3288_crypto.h 	unsigned int			total;
total             261 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 				   ivsize, dev->total - ivsize);
total             278 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 	dev->total = req->nbytes;
total             349 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 					  dev->total - dev->left_bytes -
total              76 drivers/crypto/rockchip/rk3288_crypto_ahash.c 	CRYPTO_WRITE(dev, RK_CRYPTO_HASH_MSG_LEN, dev->total);
total             199 drivers/crypto/rockchip/rk3288_crypto_ahash.c 	dev->total = req->nbytes;
total             367 drivers/crypto/s5p-sss.c 	unsigned int		total;
total            1001 drivers/crypto/s5p-sss.c 	ctx->total -= length;
total            1226 drivers/crypto/s5p-sss.c 	ctx->total = nbytes + ctx->bufcnt;
total            1227 drivers/crypto/s5p-sss.c 	if (!ctx->total)
total            1249 drivers/crypto/s5p-sss.c 	xmit_len = ctx->total;
total            1258 drivers/crypto/s5p-sss.c 		hash_later = ctx->total - xmit_len;
total            1288 drivers/crypto/s5p-sss.c 		ctx->total = xmit_len;
total            1408 drivers/crypto/s5p-sss.c 	if (err || !ctx->total)
total            1419 drivers/crypto/s5p-sss.c 		err = s5p_hash_xmit_dma(dd, ctx->total, ctx->finup);
total            1422 drivers/crypto/s5p-sss.c 			err = s5p_hash_xmit_dma(dd, ctx->total, true);
total            1424 drivers/crypto/s5p-sss.c 		err = s5p_hash_xmit_dma(dd, ctx->total, true);
total            1635 drivers/crypto/s5p-sss.c 	ctx->total = 0;
total             185 drivers/crypto/sahara.c 	size_t			total;
total             220 drivers/crypto/sahara.c 	size_t			total;
total             470 drivers/crypto/sahara.c 	dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total);
total             475 drivers/crypto/sahara.c 	dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total);
total             529 drivers/crypto/sahara.c 	dev->hw_desc[idx]->len1 = dev->total;
total             530 drivers/crypto/sahara.c 	dev->hw_desc[idx]->len2 = dev->total;
total             564 drivers/crypto/sahara.c 	dev->total = req->nbytes;
total             804 drivers/crypto/sahara.c 	dev->nb_in_sg = sg_nents_for_len(dev->in_sg, rctx->total);
total             849 drivers/crypto/sahara.c 	dev->hw_desc[index]->len1 = rctx->total;
total             972 drivers/crypto/sahara.c 		rctx->total = req->nbytes + rctx->buf_cnt;
total             984 drivers/crypto/sahara.c 		rctx->total = rctx->buf_cnt;
total             988 drivers/crypto/sahara.c 		rctx->total = req->nbytes;
total             285 drivers/crypto/stm32/stm32-cryp.c static int stm32_cryp_check_aligned(struct scatterlist *sg, size_t total,
total             290 drivers/crypto/stm32/stm32-cryp.c 	if (!total)
total             293 drivers/crypto/stm32/stm32-cryp.c 	if (!IS_ALIGNED(total, align))
total             307 drivers/crypto/stm32/stm32-cryp.c 	if (len != total)
total             135 drivers/crypto/stm32/stm32-hash.c 	unsigned int		total;
total             299 drivers/crypto/stm32/stm32-hash.c 	while ((rctx->bufcnt < rctx->buflen) && rctx->total) {
total             300 drivers/crypto/stm32/stm32-hash.c 		count = min(rctx->sg->length - rctx->offset, rctx->total);
total             317 drivers/crypto/stm32/stm32-hash.c 		rctx->total -= count;
total             324 drivers/crypto/stm32/stm32-hash.c 				rctx->total = 0;
total             387 drivers/crypto/stm32/stm32-hash.c 	while ((rctx->total >= rctx->buflen) ||
total             388 drivers/crypto/stm32/stm32-hash.c 	       (rctx->bufcnt + rctx->total >= rctx->buflen)) {
total             549 drivers/crypto/stm32/stm32-hash.c 	rctx->total = hdev->req->nbytes;
total             575 drivers/crypto/stm32/stm32-hash.c 					rctx->total - sg->length + len);
total             710 drivers/crypto/stm32/stm32-hash.c 	rctx->total = 0;
total             902 drivers/crypto/stm32/stm32-hash.c 	rctx->total = req->nbytes;
total             906 drivers/crypto/stm32/stm32-hash.c 	if ((rctx->bufcnt + rctx->total < rctx->buflen)) {
total              90 drivers/crypto/virtio/virtio_crypto_algs.c 	u64 total = 0;
total              92 drivers/crypto/virtio/virtio_crypto_algs.c 	for (total = 0; sg; sg = sg_next(sg))
total              93 drivers/crypto/virtio/virtio_crypto_algs.c 		total += sg->length;
total              95 drivers/crypto/virtio/virtio_crypto_algs.c 	return total;
total              42 drivers/devfreq/event/rockchip-dfi.c 	u32 total;
total             106 drivers/devfreq/event/rockchip-dfi.c 		info->ch_usage[i].total = readl_relaxed(dfi_regs +
total             158 drivers/devfreq/event/rockchip-dfi.c 	edata->total_count = info->ch_usage[busier_ch].total;
total             333 drivers/dma/dma-axi-dmac.c 	unsigned int i, total;
total             344 drivers/dma/dma-axi-dmac.c 		total = axi_dmac_total_sg_bytes(chan, sg);
total             345 drivers/dma/dma-axi-dmac.c 		rslt->residue += (total - sg->partial_len);
total             536 drivers/dma/dw-edma/dw-edma-core.c 	unsigned long total, pos, val;
total             541 drivers/dma/dw-edma/dw-edma-core.c 		total = dw->wr_ch_cnt;
total             545 drivers/dma/dw-edma/dw-edma-core.c 		total = dw->rd_ch_cnt;
total             554 drivers/dma/dw-edma/dw-edma-core.c 	for_each_set_bit(pos, &val, total) {
total             564 drivers/dma/dw-edma/dw-edma-core.c 	for_each_set_bit(pos, &val, total) {
total             538 drivers/dma/k3dma.c 	size_t len, avail, total = 0;
total             563 drivers/dma/k3dma.c 		total += avail;
total             584 drivers/dma/k3dma.c 	ds->size = total;
total             596 drivers/dma/k3dma.c 	size_t len, avail, total = 0;
total             617 drivers/dma/k3dma.c 	total = avail;
total             651 drivers/dma/k3dma.c 	ds->size = total;
total             551 drivers/dma/zx_dma.c 	size_t len, avail, total = 0;
total             577 drivers/dma/zx_dma.c 		total += avail;
total             599 drivers/dma/zx_dma.c 	ds->size = total;
total             316 drivers/edac/ppc4xx_edac.c 	int n, total = 0;
total             326 drivers/edac/ppc4xx_edac.c 	total += n;
total             338 drivers/edac/ppc4xx_edac.c 			total += n;
total             349 drivers/edac/ppc4xx_edac.c 	total += n;
total             352 drivers/edac/ppc4xx_edac.c 	return total;
total             436 drivers/edac/ppc4xx_edac.c 	int n, total = 0;
total             448 drivers/edac/ppc4xx_edac.c 	total += n;
total             461 drivers/edac/ppc4xx_edac.c 			total += n;
total             472 drivers/edac/ppc4xx_edac.c 	total += n;
total             475 drivers/edac/ppc4xx_edac.c 	return total;
total             501 drivers/edac/ppc4xx_edac.c 	int n, total = 0;
total             510 drivers/edac/ppc4xx_edac.c 	total += n;
total             519 drivers/edac/ppc4xx_edac.c 	total += n;
total             528 drivers/edac/ppc4xx_edac.c 	total += n;
total             531 drivers/edac/ppc4xx_edac.c 	return total;
total             295 drivers/firewire/core-cdev.c 	size_t size, total;
total             313 drivers/firewire/core-cdev.c 	total = 0;
total             314 drivers/firewire/core-cdev.c 	for (i = 0; i < ARRAY_SIZE(event->v) && total < count; i++) {
total             315 drivers/firewire/core-cdev.c 		size = min(event->v[i].size, count - total);
total             316 drivers/firewire/core-cdev.c 		if (copy_to_user(buffer + total, event->v[i].data, size)) {
total             320 drivers/firewire/core-cdev.c 		total += size;
total             322 drivers/firewire/core-cdev.c 	ret = total;
total              78 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h #define AMDGIM_GET_STRUCTURE_RESERVED_SIZE(total, u8, u16, u32, u64) \
total              79 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h 		(total - (((u8)+3) / 4 + ((u16)+1) / 2 + (u32) + (u64)*2))
total             357 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	size_t total;
total             383 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	total = log_ctx->pos + n + 1;
total             385 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	if (total > log_ctx->size) {
total             386 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 		char *buf = (char *)kvcalloc(total, sizeof(char), GFP_KERNEL);
total             393 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 			log_ctx->size = total;
total            1005 drivers/gpu/drm/amd/display/modules/freesync/freesync.c 	unsigned int total = stream->timing.h_total * stream->timing.v_total;
total            1011 drivers/gpu/drm/amd/display/modules/freesync/freesync.c 	nominal_field_rate_in_uhz =	div_u64(nominal_field_rate_in_uhz, total);
total             724 drivers/gpu/drm/drm_bufs.c 	int total;
total             739 drivers/gpu/drm/drm_bufs.c 	total = PAGE_SIZE << page_order;
total             750 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("total:      %d\n", total);
total             759 drivers/gpu/drm/drm_bufs.c 		    (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) {
total             805 drivers/gpu/drm/drm_bufs.c 		buf->total = alignment;
total             881 drivers/gpu/drm/drm_bufs.c 	int total;
total             916 drivers/gpu/drm/drm_bufs.c 	total = PAGE_SIZE << page_order;
total            1001 drivers/gpu/drm/drm_bufs.c 		     offset + size <= total && entry->buf_count < count;
total            1005 drivers/gpu/drm/drm_bufs.c 			buf->total = alignment;
total            1093 drivers/gpu/drm/drm_bufs.c 	int total;
total            1114 drivers/gpu/drm/drm_bufs.c 	total = PAGE_SIZE << page_order;
total            1125 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("total:      %d\n", total);
total            1167 drivers/gpu/drm/drm_bufs.c 		buf->total = alignment;
total            1560 drivers/gpu/drm/drm_bufs.c 	if (copy_to_user(&request->list[idx].total, &buf->total,
total            1561 drivers/gpu/drm/drm_bufs.c 			 sizeof(request->list[0].total)))
total            1929 drivers/gpu/drm/drm_dp_mst_topology.c 	int tosend, total, offset;
total            1933 drivers/gpu/drm/drm_dp_mst_topology.c 	total = len;
total            1936 drivers/gpu/drm/drm_dp_mst_topology.c 		tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total);
total            1951 drivers/gpu/drm/drm_dp_mst_topology.c 		total -= tosend;
total            1952 drivers/gpu/drm/drm_dp_mst_topology.c 	} while (total > 0);
total             419 drivers/gpu/drm/drm_ioc32.c 	int total;		/**< Buffer size */
total             438 drivers/gpu/drm/drm_ioc32.c 	v.total = buf->total;
total             966 drivers/gpu/drm/drm_mm.c 	u64 total_used = 0, total_free = 0, total = 0;
total             976 drivers/gpu/drm/drm_mm.c 	total = total_free + total_used;
total             978 drivers/gpu/drm/drm_mm.c 	drm_printf(p, "total: %llu, used %llu free %llu\n", total,
total             559 drivers/gpu/drm/gma500/gtt.c 	unsigned int restored = 0, total = 0, size = 0;
total             573 drivers/gpu/drm/gma500/gtt.c 		total++;
total             577 drivers/gpu/drm/gma500/gtt.c 			 total, (size / 1024));
total              23 drivers/gpu/drm/gma500/intel_bios.c 	u16 total, current_size;
total              28 drivers/gpu/drm/gma500/intel_bios.c 	total = bdb->bdb_size;
total              31 drivers/gpu/drm/gma500/intel_bios.c 	while (index < total) {
total             142 drivers/gpu/drm/i810/i810_dma.c 	buf_priv->virtual = (void *)vm_mmap(file_priv->filp, 0, buf->total,
total             166 drivers/gpu/drm/i810/i810_dma.c 			    (size_t) buf->total);
total             198 drivers/gpu/drm/i810/i810_dma.c 	d->request_size = buf->total;
total             234 drivers/gpu/drm/i810/i810_dma.c 			if (buf_priv->kernel_virtual && buf->total)
total             309 drivers/gpu/drm/i810/i810_dma.c 		buf_priv->map.size = buf->total;
total              86 drivers/gpu/drm/i915/display/intel_bios.c 	u32 total, current_size;
total              91 drivers/gpu/drm/i915/display/intel_bios.c 	total = bdb->bdb_size;
total              94 drivers/gpu/drm/i915/display/intel_bios.c 	while (index + 3 < total) {
total              99 drivers/gpu/drm/i915/display/intel_bios.c 		if (index + current_size > total)
total             923 drivers/gpu/drm/i915/display/intel_bios.c 	u32 total = get_blocksize(sequence);
total             935 drivers/gpu/drm/i915/display/intel_bios.c 	for (i = 0; i < MAX_MIPI_CONFIGURATIONS && index < total; i++) {
total             936 drivers/gpu/drm/i915/display/intel_bios.c 		if (index + header_size > total) {
total             949 drivers/gpu/drm/i915/display/intel_bios.c 		if (index + current_size > total) {
total             967 drivers/gpu/drm/i915/display/intel_bios.c static int goto_next_sequence(const u8 *data, int index, int total)
total             972 drivers/gpu/drm/i915/display/intel_bios.c 	for (index = index + 1; index < total; index += len) {
total             980 drivers/gpu/drm/i915/display/intel_bios.c 			if (index + 4 > total)
total             992 drivers/gpu/drm/i915/display/intel_bios.c 			if (index + 7 > total)
total            1005 drivers/gpu/drm/i915/display/intel_bios.c static int goto_next_sequence_v3(const u8 *data, int index, int total)
total            1015 drivers/gpu/drm/i915/display/intel_bios.c 	if (total < 5) {
total            1032 drivers/gpu/drm/i915/display/intel_bios.c 	if (seq_end > total) {
total            1037 drivers/gpu/drm/i915/display/intel_bios.c 	for (; index < total; index += len) {
total            2234 drivers/gpu/drm/i915/gem/i915_gem_context.c 			args->value = ctx->vm->total;
total            2236 drivers/gpu/drm/i915/gem/i915_gem_context.c 			args->value = to_i915(dev)->ggtt.alias->vm.total;
total            2238 drivers/gpu/drm/i915/gem/i915_gem_context.c 			args->value = to_i915(dev)->ggtt.vm.total;
total             602 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	unsigned long max_pages = ppgtt->vm.total >> PAGE_SHIFT;
total            1012 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	max = div_u64((vm->total - size), max_page_size);
total              29 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
total             178 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	GEM_BUG_ON(obj->base.size > vm->total);
total             320 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	size = min(vm->total / 2, 1024ull * DW_PER_PAGE * PAGE_SIZE);
total            1412 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	vm_total = ctx_a->vm->total;
total            1413 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	GEM_BUG_ON(ctx_b->vm->total != vm_total);
total             197 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 			      (1 + next_prime_number(i915->ggtt.vm.total >> PAGE_SHIFT)) << PAGE_SHIFT);
total              46 drivers/gpu/drm/i915/gem/selftests/i915_gem_object.c 			      i915->ggtt.vm.total + PAGE_SIZE);
total              35 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
total             120 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c 		u32 sz = min_t(u64, ce->vm->total >> 4, prandom_u32_state(&prng));
total             117 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 	GEM_BUG_ON(vma->size > vm->total);
total             482 drivers/gpu/drm/i915/gt/intel_engine.h 			engine->stats.total = ktime_add(engine->stats.total,
total             492 drivers/gpu/drm/i915/gt/intel_engine.h 			engine->stats.total = ktime_add(engine->stats.total,
total            1478 drivers/gpu/drm/i915/gt/intel_engine_cs.c 	ktime_t total = engine->stats.total;
total            1485 drivers/gpu/drm/i915/gt/intel_engine_cs.c 		total = ktime_add(total,
total            1488 drivers/gpu/drm/i915/gt/intel_engine_cs.c 	return total;
total            1500 drivers/gpu/drm/i915/gt/intel_engine_cs.c 	ktime_t total;
total            1504 drivers/gpu/drm/i915/gt/intel_engine_cs.c 		total = __intel_engine_get_busy_time(engine);
total            1507 drivers/gpu/drm/i915/gt/intel_engine_cs.c 	return total;
total            1526 drivers/gpu/drm/i915/gt/intel_engine_cs.c 		engine->stats.total = __intel_engine_get_busy_time(engine);
total             541 drivers/gpu/drm/i915/gt/intel_engine_types.h 		ktime_t total;
total              14 drivers/gpu/drm/i915/gt/intel_sseu.c 	unsigned int i, total = 0;
total              17 drivers/gpu/drm/i915/gt/intel_sseu.c 		total += hweight8(sseu->subslice_mask[i]);
total              19 drivers/gpu/drm/i915/gt/intel_sseu.c 	return total;
total              30 drivers/gpu/drm/i915/gvt/debugfs.c 	int total;
total              80 drivers/gpu/drm/i915/gvt/debugfs.c 	param->total++;
total              91 drivers/gpu/drm/i915/gvt/debugfs.c 		.total = 0,
total             122 drivers/gpu/drm/i915/gvt/debugfs.c 	seq_printf(s, "Total: %d, Diff: %d\n", param.total, param.diff);
total             383 drivers/gpu/drm/i915/gvt/gvt.h #define gvt_ggtt_gm_sz(gvt)	  (gvt->dev_priv->ggtt.vm.total)
total             385 drivers/gpu/drm/i915/gvt/gvt.h 	((gvt->dev_priv->ggtt.vm.total >> PAGE_SHIFT) << 3)
total             235 drivers/gpu/drm/i915/i915_debugfs.c 	u64 total, unbound;
total             247 drivers/gpu/drm/i915/i915_debugfs.c 	stats->total += obj->base.size;
total             301 drivers/gpu/drm/i915/i915_debugfs.c 			   stats.total, \
total              99 drivers/gpu/drm/i915/i915_gem.c 	args->aper_size = ggtt->vm.total;
total             559 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(!vm->total);
total             560 drivers/gpu/drm/i915/i915_gem_gtt.c 	drm_mm_init(&vm->mm, 0, vm->total);
total             914 drivers/gpu/drm/i915/i915_gem_gtt.c 	return (vm->total + (1ull << shift) - 1) >> shift;
total             970 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT);
total            1027 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(range_overflows(start, length, vm->total));
total            1046 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT);
total            1141 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(range_overflows(start, length, vm->total));
total            1437 drivers/gpu/drm/i915/i915_gem_gtt.c 	ppgtt->vm.total = BIT_ULL(INTEL_INFO(i915)->ppgtt_size);
total            1876 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(size > ggtt->vm.total);
total            2133 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->vm.clear_range(&ggtt->vm, 0, ggtt->vm.total);
total            2587 drivers/gpu/drm/i915/i915_gem_gtt.c 	if (GEM_WARN_ON(ppgtt->vm.total < ggtt->vm.total)) {
total            2598 drivers/gpu/drm/i915/i915_gem_gtt.c 	err = ppgtt->vm.allocate_va_range(&ppgtt->vm, 0, ggtt->vm.total);
total            2645 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(ggtt->vm.total <= GUC_GGTT_TOP);
total            2646 drivers/gpu/drm/i915/i915_gem_gtt.c 	size = ggtt->vm.total - GUC_GGTT_TOP;
total            2723 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->vm.clear_range(&ggtt->vm, ggtt->vm.total - PAGE_SIZE, PAGE_SIZE);
total            3007 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->vm.total = (size / sizeof(gen8_pte_t)) * I915_GTT_PAGE_SIZE;
total            3068 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->vm.total = (size / sizeof(gen6_pte_t)) * I915_GTT_PAGE_SIZE;
total            3115 drivers/gpu/drm/i915/i915_gem_gtt.c 	intel_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end);
total            3159 drivers/gpu/drm/i915/i915_gem_gtt.c 	if ((ggtt->vm.total - 1) >> 32) {
total            3162 drivers/gpu/drm/i915/i915_gem_gtt.c 			  ggtt->vm.total >> 20);
total            3163 drivers/gpu/drm/i915/i915_gem_gtt.c 		ggtt->vm.total = 1ULL << 32;
total            3165 drivers/gpu/drm/i915/i915_gem_gtt.c 			min_t(u64, ggtt->mappable_end, ggtt->vm.total);
total            3168 drivers/gpu/drm/i915/i915_gem_gtt.c 	if (ggtt->mappable_end > ggtt->vm.total) {
total            3171 drivers/gpu/drm/i915/i915_gem_gtt.c 			  &ggtt->mappable_end, ggtt->vm.total);
total            3172 drivers/gpu/drm/i915/i915_gem_gtt.c 		ggtt->mappable_end = ggtt->vm.total;
total            3176 drivers/gpu/drm/i915/i915_gem_gtt.c 	DRM_DEBUG_DRIVER("GGTT size = %lluM\n", ggtt->vm.total >> 20);
total            3312 drivers/gpu/drm/i915/i915_gem_gtt.c 	ggtt->vm.clear_range(&ggtt->vm, 0, ggtt->vm.total);
total            3641 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(range_overflows(offset, size, vm->total));
total              76 drivers/gpu/drm/i915/i915_gem_gtt.h #define ggtt_total_entries(ggtt) ((ggtt)->vm.total >> PAGE_SHIFT)
total             305 drivers/gpu/drm/i915/i915_gem_gtt.h 	u64 total;		/* size addr space maps (ex. 2GB for ggtt) */
total             370 drivers/gpu/drm/i915/i915_gem_gtt.h 	return (vm->total - 1) >> 32;
total             223 drivers/gpu/drm/i915/i915_vgpu.c 	unsigned long ggtt_end = ggtt->vm.total;
total             151 drivers/gpu/drm/i915/i915_vma.c 	if (unlikely(vma->size > vm->total))
total             164 drivers/gpu/drm/i915/i915_vma.c 			     vma->fence_size > vm->total))
total             316 drivers/gpu/drm/i915/i915_vma.c 					      vma->vm->total)))
total             568 drivers/gpu/drm/i915/i915_vma.c 	end = vma->vm->total;
total             178 drivers/gpu/drm/i915/intel_device_info.c 	u16 i, total = 0;
total             181 drivers/gpu/drm/i915/intel_device_info.c 		total += hweight8(sseu->eu_mask[i]);
total             183 drivers/gpu/drm/i915/intel_device_info.c 	return total;
total            4343 drivers/gpu/drm/i915/intel_pm.c 	u16 total[I915_MAX_PLANES] = {};
total            4383 drivers/gpu/drm/i915/intel_pm.c 	total[PLANE_CURSOR] = skl_cursor_allocation(crtc_state, num_active);
total            4384 drivers/gpu/drm/i915/intel_pm.c 	alloc_size -= total[PLANE_CURSOR];
total            4386 drivers/gpu/drm/i915/intel_pm.c 		alloc->end - total[PLANE_CURSOR];
total            4404 drivers/gpu/drm/i915/intel_pm.c 					    total[PLANE_CURSOR])) {
total            4453 drivers/gpu/drm/i915/intel_pm.c 		total[plane_id] = wm->wm[level].min_ddb_alloc + extra;
total            4485 drivers/gpu/drm/i915/intel_pm.c 		if (total[plane_id]) {
total            4487 drivers/gpu/drm/i915/intel_pm.c 			start += total[plane_id];
total            4521 drivers/gpu/drm/i915/intel_pm.c 			if (wm->wm[level].min_ddb_alloc > total[plane_id] ||
total            4546 drivers/gpu/drm/i915/intel_pm.c 		if (wm->trans_wm.plane_res_b >= total[plane_id])
total             120 drivers/gpu/drm/i915/selftests/i915_buddy.c 	u64 total;
total             125 drivers/gpu/drm/i915/selftests/i915_buddy.c 	total = 0;
total             153 drivers/gpu/drm/i915/selftests/i915_buddy.c 		total += i915_buddy_block_size(mm, block);
total             158 drivers/gpu/drm/i915/selftests/i915_buddy.c 		if (total != expected_size) {
total             160 drivers/gpu/drm/i915/selftests/i915_buddy.c 			       expected_size, total);
total             184 drivers/gpu/drm/i915/selftests/i915_buddy.c 	u64 total;
total             200 drivers/gpu/drm/i915/selftests/i915_buddy.c 	total = 0;
total             256 drivers/gpu/drm/i915/selftests/i915_buddy.c 		total += i915_buddy_block_size(mm, root);
total             260 drivers/gpu/drm/i915/selftests/i915_buddy.c 		if (total != mm->size) {
total             262 drivers/gpu/drm/i915/selftests/i915_buddy.c 			       total);
total             320 drivers/gpu/drm/i915/selftests/i915_buddy.c 		u64 total;
total             331 drivers/gpu/drm/i915/selftests/i915_buddy.c 		total = 0;
total             362 drivers/gpu/drm/i915/selftests/i915_buddy.c 			total += i915_buddy_block_size(&mm, block);
total             363 drivers/gpu/drm/i915/selftests/i915_buddy.c 		} while (total < mm.size);
total             366 drivers/gpu/drm/i915/selftests/i915_buddy.c 			err = igt_check_blocks(&mm, &blocks, total, false);
total              73 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		 count, i915->ggtt.vm.total / PAGE_SIZE);
total             418 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 				  0, i915->ggtt.vm.total,
total             436 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 					0, i915->ggtt.vm.total,
total             175 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	limit = min(ppgtt->vm.total, limit);
total             252 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		GEM_BUG_ON(count * BIT_ULL(size) > vm->total);
total             279 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			GEM_BUG_ON(addr + BIT_ULL(size) > vm->total);
total             306 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			GEM_BUG_ON(addr + BIT_ULL(size) > vm->total);
total            1017 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	GEM_BUG_ON(offset_in_page(ppgtt->vm.total));
total            1020 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	err = func(dev_priv, &ppgtt->vm, 0, ppgtt->vm.total, end_time);
total            1259 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	err = func(i915, ctx->vm, 0, min(ctx->vm->total, limit), end_time);
total            1298 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	u64 total;
total            1307 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (total = 0;
total            1308 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total;
total            1309 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total += 2 * I915_GTT_PAGE_SIZE) {
total            1335 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					   total,
total            1340 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1346 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (vma->node.start != total ||
total            1350 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, 2*I915_GTT_PAGE_SIZE);
total            1357 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (total = I915_GTT_PAGE_SIZE;
total            1358 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total;
total            1359 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total += 2 * I915_GTT_PAGE_SIZE) {
total            1385 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					   total,
total            1390 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1396 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (vma->node.start != total ||
total            1400 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, 2*I915_GTT_PAGE_SIZE);
total            1423 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		offset = random_offset(0, ggtt->vm.total,
total            1434 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1469 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			ggtt->vm.total + I915_GTT_PAGE_SIZE, 0,
total            1470 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			0, ggtt->vm.total,
total            1491 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	u64 total;
total            1514 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (total = 0;
total            1515 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total + I915_GTT_PAGE_SIZE <= ggtt->vm.total;
total            1516 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total += I915_GTT_PAGE_SIZE) {
total            1542 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					  0, ggtt->vm.total,
total            1551 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1600 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					  0, ggtt->vm.total,
total            1604 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1619 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (total = 0;
total            1620 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total;
total            1621 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	     total += 2 * I915_GTT_PAGE_SIZE) {
total            1647 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					  0, ggtt->vm.total,
total            1651 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			       total, ggtt->vm.total, err);
total            1725 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	GEM_BUG_ON(offset_in_page(i915->ggtt.vm.total));
total             287 drivers/gpu/drm/i915/selftests/i915_request.c 	const unsigned int total = 4 * t->ncontexts + 1;
total             303 drivers/gpu/drm/i915/selftests/i915_request.c 	requests = kmalloc_array(total, sizeof(*requests), GFP_KERNEL);
total             307 drivers/gpu/drm/i915/selftests/i915_request.c 	order = i915_random_order(total, &prng);
total             331 drivers/gpu/drm/i915/selftests/i915_request.c 		i915_random_reorder(order, total, &prng);
total             267 drivers/gpu/drm/i915/selftests/i915_vma.c 		VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->vm.total - 4096)),
total             271 drivers/gpu/drm/i915/selftests/i915_vma.c 		VALID(0, PIN_GLOBAL | PIN_OFFSET_FIXED | (ggtt->vm.total - 4096)),
total             272 drivers/gpu/drm/i915/selftests/i915_vma.c 		INVALID(0, PIN_GLOBAL | PIN_OFFSET_FIXED | ggtt->vm.total),
total             280 drivers/gpu/drm/i915/selftests/i915_vma.c 		VALID(ggtt->vm.total - 4096, PIN_GLOBAL),
total             281 drivers/gpu/drm/i915/selftests/i915_vma.c 		VALID(ggtt->vm.total, PIN_GLOBAL),
total             282 drivers/gpu/drm/i915/selftests/i915_vma.c 		NOSPACE(ggtt->vm.total + 4096, PIN_GLOBAL),
total             285 drivers/gpu/drm/i915/selftests/i915_vma.c 		INVALID(8192, PIN_GLOBAL | PIN_OFFSET_FIXED | (ggtt->vm.total - 4096)),
total             297 drivers/gpu/drm/i915/selftests/i915_vma.c 		NOSPACE(0, PIN_GLOBAL | PIN_OFFSET_BIAS | ggtt->vm.total),
total             299 drivers/gpu/drm/i915/selftests/i915_vma.c 		NOSPACE(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->vm.total - 4096)),
total              67 drivers/gpu/drm/i915/selftests/mock_gtt.c 	ppgtt->vm.total = round_down(U64_MAX, PAGE_SIZE);
total             107 drivers/gpu/drm/i915/selftests/mock_gtt.c 	ggtt->vm.total = 4096 * PAGE_SIZE;
total            1101 drivers/gpu/drm/mga/mga_dma.c 				     &buf->total, sizeof(buf->total)))
total             336 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	int total = 0, i, j;
total             363 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 			total += inuse;
total             367 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt);
total              87 drivers/gpu/drm/nouveau/nouveau_display.c calc(int blanks, int blanke, int total, int line)
total              91 drivers/gpu/drm/nouveau/nouveau_display.c 			line -= total;
total              94 drivers/gpu/drm/nouveau/nouveau_display.c 			line -= total;
total             501 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	u64 total = 0, lcomm = ~0, lower, ubase, usize;
total             511 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			total += (u64) size << 20;
total             520 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	usize = total - lower;
total             524 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	nvkm_debug(subdev, "Total: %4lld MiB\n", total >> 20);
total             526 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	ret = nvkm_ram_ctor(func, fb, type, total, ram);
total             537 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	if (lower != total) {
total             557 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 				   (total - rsvd_head - rsvd_tail) >>
total              46 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	u32 total;
total             101 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	status->total= nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 0x10));
total             137 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	if (status.total)
total             138 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 		utilization = div_u64((u64)status.busy * 100, status.total);
total              35 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c 	int l = 0, total = 0;
total              38 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c 	for (i = 0; total < prop->length; total += l, p += l, i++)
total              63 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c 	size_t total = 0;
total              65 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c 	while (total < src_len) {
total              75 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c 		total += l;
total             906 drivers/gpu/drm/r128/r128_cce.c 		if (copy_to_user(&d->request_sizes[i], &buf->total,
total             907 drivers/gpu/drm/r128/r128_cce.c 				     sizeof(buf->total)))
total            1006 drivers/gpu/drm/savage/savage_bci.c 				     &buf->total, sizeof(buf->total)))
total             350 drivers/gpu/drm/savage/savage_state.c 	if (start + n > dmabuf->total / 32) {
total             352 drivers/gpu/drm/savage/savage_state.c 			  start, start + n - 1, dmabuf->total / 32);
total             638 drivers/gpu/drm/savage/savage_state.c 			if (idx[i] > dmabuf->total / 32) {
total             640 drivers/gpu/drm/savage/savage_state.c 					  i, idx[i], dmabuf->total / 32);
total              70 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON0_BASIC1_H_TOTAL(total)		((((total) - 1) & 0x1fff) << 16)
total              74 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON0_BASIC2_V_TOTAL(total)		(((total) & 0x1fff) << 16)
total             144 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC3_H_TOTAL(total)		((((total) - 1) & 0x1fff) << 16)
total             148 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC4_V_TOTAL(total)		(((total) & 0x1fff) << 16)
total              30 drivers/gpu/host1x/job.c 	u64 total;
total              34 drivers/gpu/host1x/job.c 	total = sizeof(struct host1x_job) +
total              40 drivers/gpu/host1x/job.c 	if (total > ULONG_MAX)
total              43 drivers/gpu/host1x/job.c 	mem = job = kzalloc(total, GFP_KERNEL);
total             479 drivers/hwmon/applesmc.c 	int total;
total             485 drivers/hwmon/applesmc.c 	for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
total              61 drivers/infiniband/core/uverbs_std_types_device.c 		      u64 *total)
total              90 drivers/infiniband/core/uverbs_std_types_device.c 	*total = count;
total              99 drivers/infiniband/core/uverbs_std_types_device.c 	u64 total = 0;
total             117 drivers/infiniband/core/uverbs_std_types_device.c 					out_len, &total);
total             122 drivers/infiniband/core/uverbs_std_types_device.c 			     sizeof(u32) * total);
total             126 drivers/infiniband/core/uverbs_std_types_device.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_INFO_TOTAL_HANDLES, &total,
total             127 drivers/infiniband/core/uverbs_std_types_device.c 			     sizeof(total));
total             110 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	int i, total = 0;
total             116 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		total += sg_list[i].size;
total             118 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	return total;
total             476 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.pd.total, dev->rdev.stats.pd.cur,
total             479 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.qid.total, dev->rdev.stats.qid.cur,
total             482 drivers/infiniband/hw/cxgb4/device.c 		   dev->rdev.stats.srqt.total, dev->rdev.stats.srqt.cur,
total             485 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur,
total             488 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.pbl.total, dev->rdev.stats.pbl.cur,
total             491 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.rqt.total, dev->rdev.stats.rqt.cur,
total             494 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.ocqp.total, dev->rdev.stats.ocqp.cur,
total             842 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.pd.total = T4_MAX_NUM_PD;
total             843 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.stag.total = rdev->lldi.vr->stag.size;
total             844 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.pbl.total = rdev->lldi.vr->pbl.size;
total             845 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.rqt.total = rdev->lldi.vr->rq.size;
total             846 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.srqt.total = rdev->lldi.vr->srq.size;
total             847 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.ocqp.total = rdev->lldi.vr->ocq.size;
total             848 drivers/infiniband/hw/cxgb4/device.c 	rdev->stats.qid.total = rdev->lldi.vr->qp.size;
total             121 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	u64 total;
total             682 drivers/infiniband/hw/hfi1/debugfs.c 	unsigned long total, csr_off;
total             701 drivers/infiniband/hw/hfi1/debugfs.c 	for (total = 0; total < count; total += 8, csr_off += 8) {
total             704 drivers/infiniband/hw/hfi1/debugfs.c 		if (put_user(data, (unsigned long __user *)(buf + total)))
total             707 drivers/infiniband/hw/hfi1/debugfs.c 	*ppos += total;
total             708 drivers/infiniband/hw/hfi1/debugfs.c 	return total;
total             716 drivers/infiniband/hw/hfi1/debugfs.c 	unsigned long total, csr_off, data;
total             734 drivers/infiniband/hw/hfi1/debugfs.c 	for (total = 0; total < count; total += 8, csr_off += 8) {
total             735 drivers/infiniband/hw/hfi1/debugfs.c 		if (get_user(data, (unsigned long __user *)(buf + total)))
total             740 drivers/infiniband/hw/hfi1/debugfs.c 	*ppos += total;
total             741 drivers/infiniband/hw/hfi1/debugfs.c 	return total;
total              60 drivers/infiniband/hw/hfi1/msix.c 	u32 total;
total              72 drivers/infiniband/hw/hfi1/msix.c 	total = 1 + dd->num_sdma + dd->n_krcv_queues + dd->num_vnic_contexts;
total              74 drivers/infiniband/hw/hfi1/msix.c 	if (total >= CCE_NUM_MSIX_VECTORS)
total              77 drivers/infiniband/hw/hfi1/msix.c 	ret = pci_alloc_irq_vectors(dd->pcidev, total, total, PCI_IRQ_MSIX);
total              83 drivers/infiniband/hw/hfi1/msix.c 	entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries),
total              92 drivers/infiniband/hw/hfi1/msix.c 	bitmap_zero(dd->msix_info.in_use_msix, total);
total              93 drivers/infiniband/hw/hfi1/msix.c 	dd->msix_info.max_requested = total;
total              94 drivers/infiniband/hw/hfi1/msix.c 	dd_dev_info(dd, "%u MSI-X interrupts allocated\n", total);
total             244 drivers/infiniband/hw/hns/hns_roce_alloc.c 	int total;
total             254 drivers/infiniband/hw/hns/hns_roce_alloc.c 	total = 0;
total             257 drivers/infiniband/hw/hns/hns_roce_alloc.c 			bufs[total++] = buf->direct.map +
total             260 drivers/infiniband/hw/hns/hns_roce_alloc.c 			bufs[total++] = buf->page_list[i].map;
total             262 drivers/infiniband/hw/hns/hns_roce_alloc.c 	return total;
total             270 drivers/infiniband/hw/hns/hns_roce_alloc.c 	int total = 0;
total             284 drivers/infiniband/hw/hns/hns_roce_alloc.c 			bufs[total++] = addr;
total             285 drivers/infiniband/hw/hns/hns_roce_alloc.c 			if (total >= buf_cnt)
total             292 drivers/infiniband/hw/hns/hns_roce_alloc.c 	return total;
total            1270 drivers/infiniband/hw/hns/hns_roce_hem.c 	int total = 0;
total            1279 drivers/infiniband/hw/hns/hns_roce_hem.c 				total += (r->count + step - 1) / step;
total            1281 drivers/infiniband/hw/hns/hns_roce_hem.c 			total += r->count;
total            1285 drivers/infiniband/hw/hns/hns_roce_hem.c 	return total;
total            1387 drivers/infiniband/hw/hns/hns_roce_hem.c 	int total;
total            1397 drivers/infiniband/hw/hns/hns_roce_hem.c 	total = r->offset;
total            1400 drivers/infiniband/hw/hns/hns_roce_hem.c 	root_hem = hem_list_alloc_item(hr_dev, total, r->offset + r->count - 1,
total            1412 drivers/infiniband/hw/hns/hns_roce_hem.c 	total = 0;
total            1413 drivers/infiniband/hw/hns/hns_roce_hem.c 	for (i = 0; i < region_cnt && total < unit; i++) {
total            1419 drivers/infiniband/hw/hns/hns_roce_hem.c 		cpu_base = root_hem->addr + total * BA_BYTE_LEN;
total            1420 drivers/infiniband/hw/hns/hns_roce_hem.c 		phy_base = root_hem->dma_addr + total * BA_BYTE_LEN;
total            1436 drivers/infiniband/hw/hns/hns_roce_hem.c 			total += r->count;
total            1449 drivers/infiniband/hw/hns/hns_roce_hem.c 				total++;
total            1649 drivers/infiniband/hw/hns/hns_roce_mr.c 	int total = 0;
total            1661 drivers/infiniband/hw/hns/hns_roce_mr.c 						  offset + total,
total            1667 drivers/infiniband/hw/hns/hns_roce_mr.c 		memcpy(&mtts[total], addr, BA_BYTE_LEN * npage);
total            1669 drivers/infiniband/hw/hns/hns_roce_mr.c 		total += npage;
total            1676 drivers/infiniband/hw/hns/hns_roce_mr.c 	return total;
total             457 drivers/infiniband/hw/i40iw/i40iw_pble.c 	u32 lf4k, lflast, total, i;
total             467 drivers/infiniband/hw/i40iw/i40iw_pble.c 	total = (lflast == 0) ? lf4k : lf4k + 1;
total             468 drivers/infiniband/hw/i40iw/i40iw_pble.c 	lvl2->leaf_cnt = total;
total             470 drivers/infiniband/hw/i40iw/i40iw_pble.c 	leaf = kzalloc((sizeof(*leaf) * total), GFP_ATOMIC);
total             475 drivers/infiniband/hw/i40iw/i40iw_pble.c 	root->addr = gen_pool_alloc(pool, (total << 3));
total             483 drivers/infiniband/hw/i40iw/i40iw_pble.c 	root->cnt = total;
total             485 drivers/infiniband/hw/i40iw/i40iw_pble.c 	for (i = 0; i < total; i++, leaf++) {
total             486 drivers/infiniband/hw/i40iw/i40iw_pble.c 		pblcnt = (lflast && ((i + 1) == total)) ? lflast : PBLE_PER_PAGE;
total            1445 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	int total;
total            1448 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	total = req->sq_pages + req->rq_pages + req->cq_pages;
total            1466 drivers/infiniband/hw/i40iw/i40iw_verbs.c 		qpmr->shadow = (dma_addr_t)arr[total];
total            1485 drivers/infiniband/hw/i40iw/i40iw_verbs.c 		cqmr->shadow = (dma_addr_t)arr[total];
total              63 drivers/input/rmi4/rmi_f55.c 		int i, total;
total              77 drivers/input/rmi4/rmi_f55.c 			total = 0;
total              80 drivers/input/rmi4/rmi_f55.c 					total++;
total              82 drivers/input/rmi4/rmi_f55.c 			f55->cfg_num_rx_electrodes = total;
total              83 drivers/input/rmi4/rmi_f55.c 			drv_data->num_rx_electrodes = total;
total              90 drivers/input/rmi4/rmi_f55.c 			total = 0;
total              93 drivers/input/rmi4/rmi_f55.c 					total++;
total              95 drivers/input/rmi4/rmi_f55.c 			f55->cfg_num_tx_electrodes = total;
total              96 drivers/input/rmi4/rmi_f55.c 			drv_data->num_tx_electrodes = total;
total              90 drivers/input/touchscreen/penmount.c 	int total = 0;
total              94 drivers/input/touchscreen/penmount.c 		total += packet[i];
total              96 drivers/input/touchscreen/penmount.c 	return packet[5] == (unsigned char)~(total & 0xff);
total             941 drivers/iommu/intel-iommu.c 	int total = agaw_to_level(domain->agaw);
total             945 drivers/iommu/intel-iommu.c 	while (level <= total) {
total             946 drivers/iommu/intel-iommu.c 		offset = pfn_level_offset(pfn, total);
total             948 drivers/iommu/intel-iommu.c 		if (level == total)
total             952 drivers/iommu/intel-iommu.c 			*large_page = total;
total             957 drivers/iommu/intel-iommu.c 			*large_page = total;
total             962 drivers/iommu/intel-iommu.c 		total--;
total             455 drivers/isdn/hardware/mISDN/hfcpci.c 	int		rcnt, total;
total             499 drivers/isdn/hardware/mISDN/hfcpci.c 			total = rcnt;
total             522 drivers/isdn/hardware/mISDN/hfcpci.c 									      le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1));
total             384 drivers/lightnvm/pblk-sysfs.c 				   unsigned long long total)
total             388 drivers/lightnvm/pblk-sysfs.c 	p = div_u64(p, total);
total             396 drivers/lightnvm/pblk-sysfs.c 	unsigned long long total;
total             401 drivers/lightnvm/pblk-sysfs.c 	total = atomic64_read(&pblk->nr_flush) - pblk->nr_flush_rst;
total             402 drivers/lightnvm/pblk-sysfs.c 	if (!total) {
total             415 drivers/lightnvm/pblk-sysfs.c 		bucket_percentage(total - total_buckets, total));
total             421 drivers/lightnvm/pblk-sysfs.c 					  total);
total              99 drivers/md/bcache/stats.c 	int ret = kobject_add(&acc->total.kobj, parent,
total             112 drivers/md/bcache/stats.c 	acc->total.cache_hits = 0;
total             113 drivers/md/bcache/stats.c 	acc->total.cache_misses = 0;
total             114 drivers/md/bcache/stats.c 	acc->total.cache_bypass_hits = 0;
total             115 drivers/md/bcache/stats.c 	acc->total.cache_bypass_misses = 0;
total             116 drivers/md/bcache/stats.c 	acc->total.cache_readaheads = 0;
total             117 drivers/md/bcache/stats.c 	acc->total.cache_miss_collisions = 0;
total             118 drivers/md/bcache/stats.c 	acc->total.sectors_bypassed = 0;
total             123 drivers/md/bcache/stats.c 	kobject_put(&acc->total.kobj);
total             164 drivers/md/bcache/stats.c 	acc->total.name += t;						\
total             175 drivers/md/bcache/stats.c 	scale_stats(&acc->total, 0);
total             238 drivers/md/bcache/stats.c 	kobject_init(&acc->total.kobj,		&bch_stats_ktype);
total              36 drivers/md/bcache/stats.h 	struct cache_stats total;
total            1105 drivers/md/dm-era-target.c 	dm_block_t total;
total            1129 drivers/md/dm-era-target.c 	s->total = nr_total;
total            1616 drivers/md/dm-era-target.c 		       (unsigned long long) stats.total,
total            1146 drivers/md/dm-table.c 	unsigned int total = 0;
total            1152 drivers/md/dm-table.c 		total += t->counts[i];
total            1155 drivers/md/dm-table.c 	indexes = (sector_t *) dm_vcalloc(total, (unsigned long) NODE_SIZE);
total             881 drivers/md/dm-thin-metadata.c 	dm_block_t total;
total             884 drivers/md/dm-thin-metadata.c 	r = dm_sm_get_nr_blocks(pmd->metadata_sm, &total);
total             889 drivers/md/dm-thin-metadata.c 		pmd->metadata_reserve = min(max_blocks, div_u64(total, 10));
total             307 drivers/md/persistent-data/dm-btree-remove.c 	unsigned total = nr_left + nr_center + nr_right;
total             308 drivers/md/persistent-data/dm-btree-remove.c 	unsigned target_right = total / 3;
total             309 drivers/md/persistent-data/dm-btree-remove.c 	unsigned remainder = (target_right * 3) != total;
total             116 drivers/md/persistent-data/dm-btree.c 	uint32_t total, n;
total             120 drivers/md/persistent-data/dm-btree.c 	total = block_size / elt_size;
total             121 drivers/md/persistent-data/dm-btree.c 	n = total / 3;		/* rounds down */
total              84 drivers/media/i2c/m5mols/m5mols.h 	u32 total;
total             102 drivers/media/i2c/m5mols/m5mols_capture.c 		info->cap.total = info->cap.main + info->cap.thumb;
total            1429 drivers/misc/mic/scif/scif_api.c 	len = min_t(int, len, scif_info.total);
total            1439 drivers/misc/mic/scif/scif_api.c 		scif_info.total, online, offset);
total              23 drivers/misc/mic/scif/scif_debugfs.c 		   scif_info.total, scif_info.nodeid,
total              82 drivers/misc/mic/scif/scif_main.h 	u8 total;
total             993 drivers/misc/mic/scif/scif_nodeqp.c 		msg->payload[2] = scif_info.total;
total            1002 drivers/misc/mic/scif/scif_nodeqp.c 		scif_info.total = msg->payload[2];
total              54 drivers/misc/mic/scif/scif_peer_bus.c 	scif_info.total++;
total              98 drivers/misc/mic/scif/scif_peer_bus.c 	scif_info.total--;
total             162 drivers/misc/mic/scif/scif_peer_bus.c 	scif_info.total--;
total             680 drivers/misc/mic/vop/vop_vringh.c 	u32 total = iov->consumed;
total             683 drivers/misc/mic/vop/vop_vringh.c 		total += iov->iov[i].iov_len;
total             684 drivers/misc/mic/vop/vop_vringh.c 	return total;
total             817 drivers/misc/mic/vop/vop_vringh.c 		u32 total = 0;
total             820 drivers/misc/mic/vop/vop_vringh.c 		total += vop_vringh_iov_consumed(riov);
total             821 drivers/misc/mic/vop/vop_vringh.c 		total += vop_vringh_iov_consumed(wiov);
total             822 drivers/misc/mic/vop/vop_vringh.c 		vringh_complete_kern(vrh, *head, total);
total              35 drivers/misc/sgi-gru/gruhandles.c 	atomic_long_add(nsec, &mcs_op_statistics[op].total);
total             117 drivers/misc/sgi-gru/gruprocfs.c 	unsigned long total, count, max;
total             125 drivers/misc/sgi-gru/gruprocfs.c 		total = atomic_long_read(&mcs_op_statistics[op].total);
total             128 drivers/misc/sgi-gru/gruprocfs.c 			   count ? total / count : 0, max);
total             243 drivers/misc/sgi-gru/grutables.h 	atomic_long_t	total;
total             437 drivers/mmc/host/usdhi6rol0.c 	size_t done, total;
total             463 drivers/mmc/host/usdhi6rol0.c 	total = host->sg->offset + sg_dma_len(host->sg);
total             466 drivers/mmc/host/usdhi6rol0.c 		done, total, host->offset);
total             468 drivers/mmc/host/usdhi6rol0.c 	if (done < total && host->offset) {
total             480 drivers/mmc/host/usdhi6rol0.c 	if (done == total) {
total             449 drivers/mtd/inftlcore.c 	int i, total = 0;
total             452 drivers/mtd/inftlcore.c 		total += (((0x1 << i) & val) ? 1 : 0);
total             453 drivers/mtd/inftlcore.c 	return total;
total             459 drivers/mtd/nand/raw/cafe_nand.c 	oobregion->length = chip->ecc.total;
total             472 drivers/mtd/nand/raw/cafe_nand.c 	oobregion->offset = chip->ecc.total;
total             473 drivers/mtd/nand/raw/cafe_nand.c 	oobregion->length = mtd->oobsize - chip->ecc.total;
total             910 drivers/mtd/nand/raw/denali.c 	oobregion->length = chip->ecc.total;
total             924 drivers/mtd/nand/raw/denali.c 	oobregion->offset = chip->ecc.total + denali->oob_skip_bytes;
total             797 drivers/mtd/nand/raw/fsl_elbc_nand.c 	        chip->ecc.total);
total              93 drivers/mtd/nand/raw/fsl_ifc_nand.c 	oobregion->length = chip->ecc.total;
total             123 drivers/mtd/nand/raw/fsl_ifc_nand.c 		oobregion->offset = chip->ecc.total + 8;
total             734 drivers/mtd/nand/raw/fsl_ifc_nand.c 							chip->ecc.total);
total              81 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	if (section || !ecc->total)
total              84 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->length = ecc->total;
total              99 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->length = mtd->oobsize - ecc->total - 12;
total             100 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->offset = 12 + ecc->total;
total             116 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	if (section || !ecc->total)
total             119 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->length = ecc->total;
total             134 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->length = mtd->oobsize - ecc->total - 3;
total             135 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c 	oobregion->offset = 3 + ecc->total;
total              69 drivers/mtd/nand/raw/nand_base.c 		oobregion->length = ecc->total - 4;
total             110 drivers/mtd/nand/raw/nand_base.c 	if (section || !ecc->total)
total             113 drivers/mtd/nand/raw/nand_base.c 	oobregion->length = ecc->total;
total             128 drivers/mtd/nand/raw/nand_base.c 	oobregion->length = mtd->oobsize - ecc->total - 2;
total             164 drivers/mtd/nand/raw/nand_base.c 	oobregion->length = ecc->total;
total             196 drivers/mtd/nand/raw/nand_base.c 		oobregion->offset = ecc_offset + ecc->total;
total            2716 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            2888 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            2953 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            3717 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            3756 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            3825 drivers/mtd/nand/raw/nand_base.c 					 chip->ecc.total);
total            5722 drivers/mtd/nand/raw/nand_base.c 	ecc->total = ecc->steps * ecc->bytes;
total            5723 drivers/mtd/nand/raw/nand_base.c 	if (ecc->total > mtd->oobsize) {
total             167 drivers/mtd/nand/raw/nand_bch.c 	nand->ecc.total = eccsteps * eccbytes;
total             140 drivers/mtd/nand/raw/nand_micron.c 	oobregion->offset = mtd->oobsize - chip->ecc.total;
total             141 drivers/mtd/nand/raw/nand_micron.c 	oobregion->length = chip->ecc.total;
total             156 drivers/mtd/nand/raw/nand_micron.c 	oobregion->length = mtd->oobsize - chip->ecc.total - 2;
total            1542 drivers/mtd/nand/raw/omap2.c 					 chip->ecc.total);
total            1608 drivers/mtd/nand/raw/omap2.c 					 chip->ecc.total);
total            1653 drivers/mtd/nand/raw/omap2.c 				   chip->ecc.total, false);
total            1659 drivers/mtd/nand/raw/omap2.c 					 chip->ecc.total);
total            1831 drivers/mtd/nand/raw/omap2.c 	oobregion->length = chip->ecc.total;
total            1850 drivers/mtd/nand/raw/omap2.c 	off += chip->ecc.total;
total            1188 drivers/mtd/nand/raw/stm32_fmc2_nand.c 					 chip->ecc.total);
total            1691 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	oobregion->length = ecc->total;
total            1706 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	oobregion->length = mtd->oobsize - ecc->total - FMC2_BBM_LEN;
total            1707 drivers/mtd/nand/raw/stm32_fmc2_nand.c 	oobregion->offset = ecc->total + FMC2_BBM_LEN;
total             176 drivers/net/dsa/microchip/ksz8795.c 				u64 total;
total             178 drivers/net/dsa/microchip/ksz8795.c 				total = check & MIB_TOTAL_BYTES_H;
total             179 drivers/net/dsa/microchip/ksz8795.c 				total <<= 32;
total             180 drivers/net/dsa/microchip/ksz8795.c 				*cnt += total;
total             183 drivers/net/dsa/microchip/ksz8795.c 					total = MIB_TOTAL_BYTES_H + 1;
total             184 drivers/net/dsa/microchip/ksz8795.c 					total <<= 32;
total             185 drivers/net/dsa/microchip/ksz8795.c 					*cnt += total;
total            1079 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		size /= iov->total;
total            1137 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &iov->total);
total            1170 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	   iov->first_vf_in_pf, iov->nres, iov->cap, iov->ctrl, iov->total,
total            1248 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	if (iov->total == 0)
total            1251 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	iov->nr_virtfn = min_t(u16, iov->total, num_vfs_param);
total            1321 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	for (vf_idx = 0; vf_idx < bp->vfdb->sriov.total; vf_idx++) {
total              51 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 	u16 total;		/* total VFs associated with the PF */
total             241 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h #define GET_NUM_VFS_PER_PF(bp)		((bp)->vfdb ? (bp)->vfdb->sriov.total \
total             346 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static struct cxgbi_ppm_pool *ppm_alloc_cpu_pool(unsigned int *total,
total             350 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	unsigned int ppmax = (*total) / num_possible_cpus();
total             382 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	*total = count;
total            1338 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	u32 fcnt = 0, bcnt = 0, total = 0;
total            1348 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 		total += fcnt;
total            1351 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	return total;
total             746 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h 	__le16	total;
total             167 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	u8 total;
total             184 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	u8 total;
total             314 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	nix_hw->lso.total = cfg;
total            1905 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (fmt_idx >= nix_hw->mark_format.total)
total            1929 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	u64 total;
total            1931 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	total = (rvu_read64(rvu, blkaddr, NIX_AF_PSE_CONST) & 0xFF00) >> 8;
total            1932 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	nix_hw->mark_format.total = (u8)total;
total            1933 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32),
total            2948 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (nix_hw->lso.in_use == nix_hw->lso.total)
total            1432 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	int total = 0, i;
total            1446 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		total += done[i];
total            1453 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	return total;
total             749 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			total;
total             772 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			total;
total              73 drivers/net/ethernet/mellanox/mlx4/port.c 	table->total = 0;
total              87 drivers/net/ethernet/mellanox/mlx4/port.c 	table->total = 0;
total             292 drivers/net/ethernet/mellanox/mlx4/port.c 	if (table->total == table->max) {
total             310 drivers/net/ethernet/mellanox/mlx4/port.c 	++table->total;
total             323 drivers/net/ethernet/mellanox/mlx4/port.c 		++dup_table->total;
total             423 drivers/net/ethernet/mellanox/mlx4/port.c 	--table->total;
total             433 drivers/net/ethernet/mellanox/mlx4/port.c 		--table->total;
total             606 drivers/net/ethernet/mellanox/mlx4/port.c 	if (table->total == table->max) {
total             708 drivers/net/ethernet/mellanox/mlx4/port.c 	++table->total;
total             721 drivers/net/ethernet/mellanox/mlx4/port.c 		++dup_table->total;
total             802 drivers/net/ethernet/mellanox/mlx4/port.c 	--table->total;
total             810 drivers/net/ethernet/mellanox/mlx4/port.c 		--dup_table->total;
total             341 drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c 	int total = 0;
total             349 drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c 							buf + total,
total             359 drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c 		total += bytes;
total             101 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		unsigned int total;
total             121 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				picker->hits[i].total++;
total             141 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				picker->hits[i].total--;
total             154 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		if (picker->hits[i].total > most_hits) {
total             155 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 			most_hits = picker->hits[i].total;
total            3319 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	int total = nh_grp->sum_norm_weight;
total            3330 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total);
total            3612 drivers/net/ethernet/neterion/vxge/vxge-main.c 	int i, band_width, total = 0, equal_priority = 0;
total            3628 drivers/net/ethernet/neterion/vxge/vxge-main.c 			total += bw_percentage[i];
total            3629 drivers/net/ethernet/neterion/vxge/vxge-main.c 			if (total > VXGE_HW_VPATH_BANDWIDTH_MAX) {
total            3638 drivers/net/ethernet/neterion/vxge/vxge-main.c 		if (total < VXGE_HW_VPATH_BANDWIDTH_MAX) {
total            3642 drivers/net/ethernet/neterion/vxge/vxge-main.c 				  (VXGE_HW_VPATH_BANDWIDTH_MAX  - total) /
total             109 drivers/net/ethernet/pensando/ionic/ionic_stats.c 	u64 total = 0;
total             112 drivers/net/ethernet/pensando/ionic/ionic_stats.c 	total += IONIC_NUM_LIF_STATS;
total             115 drivers/net/ethernet/pensando/ionic/ionic_stats.c 	total += MAX_Q(lif) * IONIC_NUM_TX_STATS;
total             118 drivers/net/ethernet/pensando/ionic/ionic_stats.c 	total += MAX_Q(lif) * IONIC_NUM_RX_STATS;
total             123 drivers/net/ethernet/pensando/ionic/ionic_stats.c 		total += MAX_Q(lif) * (IONIC_NUM_DBG_CQ_STATS +
total             129 drivers/net/ethernet/pensando/ionic/ionic_stats.c 		total += MAX_Q(lif) * (IONIC_NUM_DBG_CQ_STATS +
total             135 drivers/net/ethernet/pensando/ionic/ionic_stats.c 	return total;
total             574 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	u32 curr_line, total, i, task_size, line;
total             607 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = cdu_iids.pf_cids * CONN_CXT_SIZE(p_hwfn);
total             610 drivers/net/ethernet/qlogic/qed/qed_cxt.c 			     total, CONN_CXT_SIZE(p_hwfn));
total             620 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = cdu_iids.per_vf_cids * CONN_CXT_SIZE(p_hwfn);
total             623 drivers/net/ethernet/qlogic/qed/qed_cxt.c 			     total, CONN_CXT_SIZE(p_hwfn));
total             643 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
total             644 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		qed_ilt_cli_blk_fill(p_cli, p_blk, curr_line, total,
total             682 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
total             685 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     curr_line, total,
total             701 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
total             705 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     curr_line, total,
total             721 drivers/net/ethernet/qlogic/qed/qed_cxt.c 					     curr_line, total, task_size);
total             745 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = qed_qm_pf_mem_size(qm_iids.cids,
total             756 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		   p_hwfn->qm_info.num_pqs, p_hwfn->qm_info.num_vf_pqs, total);
total             759 drivers/net/ethernet/qlogic/qed/qed_cxt.c 			     curr_line, total * 0x1000,
total             773 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count;
total             774 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	if (total) {
total             775 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		u32 local_max = max_t(u32, total,
total             778 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = roundup_pow_of_two(local_max);
total             782 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     total * sizeof(struct src_ent),
total             793 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = tm_iids.pf_cids + tm_iids.pf_tids_total;
total             794 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	if (total) {
total             797 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     total * TM_ELEM_SIZE, TM_ELEM_SIZE);
total             805 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = tm_iids.per_vf_cids + tm_iids.per_vf_tids;
total             806 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	if (total) {
total             809 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     total * TM_ELEM_SIZE, TM_ELEM_SIZE);
total             821 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	total = qed_cxt_get_srq_count(p_hwfn);
total             823 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	if (total) {
total             827 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				     total * SRQ_CXT_SIZE, SRQ_CXT_SIZE);
total             774 drivers/net/tap.c 	int total;
total             795 drivers/net/tap.c 	total = vnet_hdr_len;
total             796 drivers/net/tap.c 	total += skb->len;
total             807 drivers/net/tap.c 		total += VLAN_HLEN;
total             822 drivers/net/tap.c 	return ret ? ret : total;
total            2084 drivers/net/tun.c 	ssize_t total;
total            2095 drivers/net/tun.c 	total = skb->len + vlan_hlen + vnet_hdr_sz;
total            2101 drivers/net/tun.c 		total += sizeof(pi);
total            2102 drivers/net/tun.c 		if (iov_iter_count(iter) < total) {
total            2168 drivers/net/tun.c 	return total;
total            1513 drivers/net/wireless/ath/ar5523/ar5523.c 	txblock->total = cpu_to_be32(fw->size);
total              29 drivers/net/wireless/ath/ar5523/ar5523_hw.h 	__be32		total;
total            5670 drivers/net/wireless/ath/ath10k/wmi.c 	u64 busy, total, tx, rx, rx_bss;
total            5682 drivers/net/wireless/ath/ath10k/wmi.c 	total       = __le64_to_cpu(ev->cycle_total);
total            5689 drivers/net/wireless/ath/ath10k/wmi.c 		   freq, noise_floor, busy, total, tx, rx, rx_bss);
total            5702 drivers/net/wireless/ath/ath10k/wmi.c 	survey->time      = div_u64(total, cc_freq_hz);
total             121 drivers/net/wireless/ath/ath5k/pci.c 	u32 total, offset;
total             127 drivers/net/wireless/ath/ath5k/pci.c 	for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) {
total             130 drivers/net/wireless/ath/ath5k/pci.c 		total += data;
total             136 drivers/net/wireless/ath/ath5k/pci.c 	if (!total || total == 3 * 0xffff)
total            1204 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	int offset[8] = {0}, total = 0, test;
total            1262 drivers/net/wireless/ath/ath9k/ar9003_calib.c 		test = total + offset[i];
total            1276 drivers/net/wireless/ath/ath9k/ar9003_calib.c 		total += (offset[i] << (i - 1));
total            1281 drivers/net/wireless/ath/ath9k/ar9003_calib.c 			      AR_PHY_65NM_RXRF_AGC_AGC2G_CALDAC_OVR, total);
total            1284 drivers/net/wireless/ath/ath9k/ar9003_calib.c 			      AR_PHY_65NM_RXRF_AGC_AGC5G_CALDAC_OVR, total);
total             477 drivers/net/wireless/ath/ath9k/debug.c 		sc->debug.stats.istats.total++;
total             564 drivers/net/wireless/ath/ath9k/debug.c 	PR_IS("TOTAL", total);
total              91 drivers/net/wireless/ath/ath9k/debug.h 	u32 total;
total             420 drivers/net/wireless/ath/wcn36xx/main.c 				     unsigned int *total, u64 multicast)
total             431 drivers/net/wireless/ath/wcn36xx/main.c 	*total &= FIF_ALLMULTI;
total             438 drivers/net/wireless/ath/wcn36xx/main.c 		if (*total & FIF_ALLMULTI)
total             167 drivers/net/wireless/ath/wil6210/debugfs.c 			uint64_t total = now - txdata->begin;
total             169 drivers/net/wireless/ath/wil6210/debugfs.c 			if (total != 0) {
total             170 drivers/net/wireless/ath/wil6210/debugfs.c 				do_div(idle, total);
total            1591 drivers/net/wireless/ath/wil6210/debugfs.c 		   r->total, drop_dup + drop_old + drop_dup_mcast, drop_dup,
total             141 drivers/net/wireless/ath/wil6210/rx_reorder.c 	r->total++;
total             694 drivers/net/wireless/ath/wil6210/wil6210.h 	unsigned long long total; /* frames processed */
total            3601 drivers/net/wireless/ath/wil6210/wmi.c 	size_t total;
total            3620 drivers/net/wireless/ath/wil6210/wmi.c 	total = sizeof(*cmd) + len;
total            3621 drivers/net/wireless/ath/wil6210/wmi.c 	if (total < len) {
total            3626 drivers/net/wireless/ath/wil6210/wmi.c 	cmd = kmalloc(total, GFP_KERNEL);
total            3634 drivers/net/wireless/ath/wil6210/wmi.c 	rc = wmi_call(wil, WMI_SW_TX_REQ_CMDID, vif->mid, cmd, total,
total            3650 drivers/net/wireless/ath/wil6210/wmi.c 	size_t total;
total            3672 drivers/net/wireless/ath/wil6210/wmi.c 	total = sizeof(*cmd) + len;
total            3673 drivers/net/wireless/ath/wil6210/wmi.c 	if (total < len) {
total            3678 drivers/net/wireless/ath/wil6210/wmi.c 	cmd = kzalloc(total, GFP_KERNEL);
total            3688 drivers/net/wireless/ath/wil6210/wmi.c 	rc = wmi_call(wil, WMI_SW_TX_REQ_EXT_CMDID, vif->mid, cmd, total,
total            6029 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 total;
total            6055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	total = le32_to_cpu(list->count);
total            6056 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	for (i = 0; i < total; i++) {
total            1247 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	uint total;
total            1249 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	total = 0;
total            1251 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		total += p->len;
total            1252 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	return total;
total             275 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	int total = 0;
total             285 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		total += out;
total             287 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return total;
total             241 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		tl->total -= tl->packet_count[tl->head];
total             279 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		tl->total = 1;
total             297 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	tl->total = tl->total + 1;
total             334 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	return tl->total;
total            2764 drivers/net/wireless/intel/iwlegacy/common.h 	u32 total;		/* total num of packets during the
total             255 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		tl->total -= tl->packet_count[tl->head];
total             293 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		tl->total = 1;
total             311 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	tl->total = tl->total + 1;
total             312 drivers/net/wireless/intel/iwlwifi/dvm/rs.h 	u32 total;			/* total num of packets during the
total             805 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		pers->tx_stats[tbl->column][scale_index].total += attempts;
total            3121 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		lq_sta->pers.tx_stats[column][index].total += attempts;
total            4013 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					 stats->total);
total             292 drivers/net/wireless/intel/iwlwifi/mvm/rs.h 	u64 total;
total             652 drivers/net/wireless/intersil/p54/main.c 	unsigned int total = 0, i;
total             662 drivers/net/wireless/intersil/p54/main.c 		total += priv->tx_stats[i].len;
total             663 drivers/net/wireless/intersil/p54/main.c 	return total;
total             670 drivers/net/wireless/intersil/p54/main.c 	unsigned int total, i;
total             685 drivers/net/wireless/intersil/p54/main.c 	while ((total = p54_flush_count(priv) && i--)) {
total             690 drivers/net/wireless/intersil/p54/main.c 	WARN(total, "tx flush timeout, unresponsive firmware");
total              71 drivers/net/wireless/st/cw1200/txrx.c 	unsigned total = 0;
total              89 drivers/net/wireless/st/cw1200/txrx.c 	total = rates[0].count;
total             100 drivers/net/wireless/st/cw1200/txrx.c 		total += rates[j].count;
total             109 drivers/net/wireless/st/cw1200/txrx.c 	if (total > limit) {
total            1579 drivers/net/wireless/st/cw1200/wsm.c 				 u32 link_id_map, int *total)
total            1595 drivers/net/wireless/st/cw1200/wsm.c 		*total += queued;
total            1627 drivers/net/wireless/st/cw1200/wsm.c 	int total = 0;
total            1633 drivers/net/wireless/st/cw1200/wsm.c 				tx_allowed_mask, &total);
total            1635 drivers/net/wireless/st/cw1200/wsm.c 			*more = total > 1;
total            1650 drivers/net/wireless/st/cw1200/wsm.c 			tx_allowed_mask, &total);
total             759 drivers/net/wireless/ti/wl1251/main.c 				       unsigned int *total, u64 multicast)
total             767 drivers/net/wireless/ti/wl1251/main.c 	*total &= WL1251_SUPPORTED_FILTERS;
total             781 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_ALLMULTI)
total             787 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_FCSFAIL)
total             789 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_BCN_PRBRESP_PROMISC) {
total             793 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_CONTROL)
total             795 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_OTHER_BSS || is_zero_ether_addr(wl->bssid))
total             797 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_PROBE_REQ)
total             807 drivers/net/wireless/ti/wl1251/main.c 	if (*total & FIF_ALLMULTI)
total            3200 drivers/net/wireless/ti/wlcore/main.c 				       unsigned int *total, u64 multicast)
total            3209 drivers/net/wireless/ti/wlcore/main.c 		     " total %x", changed, *total);
total            3213 drivers/net/wireless/ti/wlcore/main.c 	*total &= WL1271_SUPPORTED_FILTERS;
total            3230 drivers/net/wireless/ti/wlcore/main.c 			if (*total & FIF_ALLMULTI)
total            3249 drivers/net/wireless/ti/wlcore/main.c  			if (*total & FIF_ALLMULTI) {
total            1024 drivers/net/wireless/ti/wlcore/tx.c 	int total[NUM_TX_QUEUES];
total            1028 drivers/net/wireless/ti/wlcore/tx.c 		total[i] = 0;
total            1039 drivers/net/wireless/ti/wlcore/tx.c 			total[i]++;
total            1045 drivers/net/wireless/ti/wlcore/tx.c 		wl->tx_queue_count[i] -= total[i];
total            1047 drivers/net/wireless/ti/wlcore/tx.c 			lnk->wlvif->tx_queue_count[i] -= total[i];
total             591 drivers/pci/iov.c 	u16 ctrl, total;
total             614 drivers/pci/iov.c 	pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &total);
total             615 drivers/pci/iov.c 	if (!total)
total             650 drivers/pci/iov.c 		res->end = res->start + resource_size(res) * total - 1;
total             652 drivers/pci/iov.c 			 i, res, i, total);
total             660 drivers/pci/iov.c 	iov->total_VFs = total;
total             661 drivers/pci/iov.c 	iov->driver_max_VFs = total;
total             736 drivers/perf/qcom_l2_pmu.c 	L2CACHE_EVENT_ATTR(total-reads, L2_EVENT_TOTAL_READS),
total             737 drivers/perf/qcom_l2_pmu.c 	L2CACHE_EVENT_ATTR(total-writes, L2_EVENT_TOTAL_WRITES),
total             738 drivers/perf/qcom_l2_pmu.c 	L2CACHE_EVENT_ATTR(total-requests, L2_EVENT_TOTAL_REQUESTS),
total             412 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(total-insertion,			0x15),
total             459 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(pa-total-cp-snoops,		0x20),
total             209 drivers/platform/x86/hdaps.c 	int total, ret = -ENXIO;
total             263 drivers/platform/x86/hdaps.c 	for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
total             816 drivers/platform/x86/intel_ips.c 	u64 total = 0;
total             821 drivers/platform/x86/intel_ips.c 		total += (u64)(array[i] * 100);
total             823 drivers/platform/x86/intel_ips.c 	do_div(total, IPS_SAMPLE_COUNT);
total             825 drivers/platform/x86/intel_ips.c 	avg = (u16)total;
total             914 drivers/platform/x86/intel_ips.c 	u64 total = 0;
total             919 drivers/platform/x86/intel_ips.c 		total += array[i];
total             921 drivers/platform/x86/intel_ips.c 	do_div(total, IPS_SAMPLE_COUNT);
total             922 drivers/platform/x86/intel_ips.c 	avg = (u32)total;
total            1151 drivers/platform/x86/wmi.c 	u32 i, total;
total            1167 drivers/platform/x86/wmi.c 	total = obj->buffer.length / sizeof(struct guid_block);
total            1169 drivers/platform/x86/wmi.c 	for (i = 0; i < total; i++) {
total             662 drivers/s390/net/qeth_core_sys.c static DEVICE_ATTR(total, 0644, qeth_dev_blkt_total_show,
total             705 drivers/scsi/arm/fas216.c 	unsigned long total, residual, fifo;
total             717 drivers/scsi/arm/fas216.c 		total = info->scsi.SCp.phase;
total             719 drivers/scsi/arm/fas216.c 		total = info->scsi.SCp.this_residual;
total             727 drivers/scsi/arm/fas216.c 		   total, residual, fifo);
total             738 drivers/scsi/arm/fas216.c 	fas216_updateptrs(info, total - residual);
total            1853 drivers/scsi/be2iscsi/be_main.c 	unsigned int total = 0;
total            1913 drivers/scsi/be2iscsi/be_main.c 		total++;
total            2024 drivers/scsi/be2iscsi/be_main.c 		if (total == budget)
total            2029 drivers/scsi/be2iscsi/be_main.c 	return total;
total             373 drivers/scsi/esp_scsi.c 	int total = 0, i;
total             388 drivers/scsi/esp_scsi.c 			total += sg_dma_len(s);
total             393 drivers/scsi/esp_scsi.c 			total += sg_dma_len(s);
total             398 drivers/scsi/esp_scsi.c 	spriv->tot_residue = total;
total            5502 drivers/scsi/lpfc/lpfc_scsi.c 	uint32_t total = 0;
total            5562 drivers/scsi/lpfc/lpfc_scsi.c 	total = phba->total_scsi_bufs;
total            5566 drivers/scsi/lpfc/lpfc_scsi.c 	if ((sdev_cnt * (vport->cfg_lun_queue_depth + 2)) < total)
total            5570 drivers/scsi/lpfc/lpfc_scsi.c 	if (total >= phba->cfg_hba_queue_depth - LPFC_DISC_IOCB_BUFF_COUNT ) {
total            5573 drivers/scsi/lpfc/lpfc_scsi.c 				 "command buffers\n", total);
total            5576 drivers/scsi/lpfc/lpfc_scsi.c 	} else if (total + num_to_alloc >
total            5583 drivers/scsi/lpfc/lpfc_scsi.c 				 (phba->cfg_hba_queue_depth - total));
total            5584 drivers/scsi/lpfc/lpfc_scsi.c 		num_to_alloc = phba->cfg_hba_queue_depth - total;
total             364 drivers/scsi/mac53c94.c 	int i, dma_cmd, total, nseg;
total             378 drivers/scsi/mac53c94.c 	total = 0;
total             385 drivers/scsi/mac53c94.c 		total += dma_len;
total             396 drivers/scsi/mac53c94.c 	cmd->SCp.this_residual = total;
total            1260 drivers/scsi/mesh.c 	int i, dma_cmd, total, off, dtot;
total            1277 drivers/scsi/mesh.c 			total = 0;
total            1284 drivers/scsi/mesh.c 				total += scl->length;
total            1622 drivers/scsi/st.c 	ssize_t total;
total            1714 drivers/scsi/st.c 	total = count;
total            1872 drivers/scsi/st.c 			if (count < total)
total            1873 drivers/scsi/st.c 				retval = total - count;
total            1882 drivers/scsi/st.c 	retval = total - count;
total            2097 drivers/scsi/st.c 	ssize_t total;
total            2169 drivers/scsi/st.c 	for (total = 0, special = 0; total < count && !special;) {
total            2173 drivers/scsi/st.c 			special = read_tape(STp, count - total, &SRpnt);
total            2187 drivers/scsi/st.c 					  (int)(count - total));
total            2189 drivers/scsi/st.c 			transfer = STbp->buffer_bytes < count - total ?
total            2190 drivers/scsi/st.c 			    STbp->buffer_bytes : count - total;
total            2199 drivers/scsi/st.c 			total += transfer;
total            2209 drivers/scsi/st.c 	if (total == 0) {
total            2224 drivers/scsi/st.c 	retval = total;
total            4064 drivers/scsi/st.c 	int count, total;
total            4070 drivers/scsi/st.c 	total=st_bp->buffer_bytes - offset;
total            4078 drivers/scsi/st.c 	st_bp->buffer_bytes = st_bp->read_pointer = total;
total            4079 drivers/scsi/st.c 	for (dst_seg=dst_offset=0; total > 0; ) {
total            4096 drivers/scsi/st.c 		total -= count;
total             429 drivers/spi/spi-qup.c 	u32 total = 0;
total             435 drivers/spi/spi-qup.c 		if (((total + len) < total) || ((total + len) > max))
total             438 drivers/spi/spi-qup.c 		total += len;
total             442 drivers/spi/spi-qup.c 	return total;
total             205 drivers/spi/spidev.c 	unsigned		n, total, tx_total, rx_total;
total             220 drivers/spi/spidev.c 	total = 0;
total             228 drivers/spi/spidev.c 		total += k_tmp->len;
total             234 drivers/spi/spidev.c 		if (total > INT_MAX || k_tmp->len > INT_MAX) {
total             305 drivers/spi/spidev.c 	status = total;
total             268 drivers/staging/android/ion/ion_heap.c 	int total = 0;
total             270 drivers/staging/android/ion/ion_heap.c 	total = ion_heap_freelist_size(heap) / PAGE_SIZE;
total             273 drivers/staging/android/ion/ion_heap.c 		total += heap->ops->shrink(heap, sc->gfp_mask, 0);
total             275 drivers/staging/android/ion/ion_heap.c 	return total;
total             116 drivers/staging/comedi/drivers/ni_routes.c 	int total = 0;
total             130 drivers/staging/comedi/drivers/ni_routes.c 				++total;
total             137 drivers/staging/comedi/drivers/ni_routes.c 				++total;
total             141 drivers/staging/comedi/drivers/ni_routes.c 	return total;
total             873 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	u16 i, total, used;
total             979 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &total, bPseudoTest);
total             981 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	efuse_usage = (u8)((used*100)/total);
total            1013 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	u16 i, total, used;
total            1033 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	EFUSE_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_BANK, &total, bPseudoTest);
total            1093 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if ((eFuse_Addr-1) < total) {
total            1109 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	EFUSE_GetEfuseDefinition(padapter, EFUSE_BT, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &total, bPseudoTest);
total            1112 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	efuse_usage = (u8)((used*100)/total);
total             548 drivers/staging/sm750fb/sm750_hw.c 	u32 total;
total             555 drivers/staging/sm750fb/sm750_hw.c 	total = var->yoffset * info->fix.line_length +
total             557 drivers/staging/sm750fb/sm750_hw.c 	total += crtc->oScreen;
total             561 drivers/staging/sm750fb/sm750_hw.c 		       (total & PANEL_FB_ADDRESS_ADDRESS_MASK));
total             565 drivers/staging/sm750fb/sm750_hw.c 		       (total & CRT_FB_ADDRESS_ADDRESS_MASK));
total             277 drivers/staging/speakup/speakup_dtlk.c 	int total, i;
total             281 drivers/staging/speakup/speakup_dtlk.c 	for (total = 0, i = 0; i < 50; i++) {
total             282 drivers/staging/speakup/speakup_dtlk.c 		buf[total] = synth_read_tts();
total             283 drivers/staging/speakup/speakup_dtlk.c 		if (total > 2 && buf[total] == 0x7f)
total             285 drivers/staging/speakup/speakup_dtlk.c 		if (total < sizeof(struct synth_settings))
total             286 drivers/staging/speakup/speakup_dtlk.c 			total++;
total             913 drivers/tty/hvc/hvsi.c 	int total = 0;
total             938 drivers/tty/hvc/hvsi.c 		total += chunksize;
total             955 drivers/tty/hvc/hvsi.c 	if (total != origcount)
total             957 drivers/tty/hvc/hvsi.c 			total);
total             959 drivers/tty/hvc/hvsi.c 	return total;
total             938 drivers/tty/isicom.c 	int cnt, total = 0;
total             957 drivers/tty/isicom.c 		total += cnt;
total             962 drivers/tty/isicom.c 	return total;
total             799 drivers/tty/mips_ejtag_fdc.c 				    const unsigned char *buf, int total)
total             818 drivers/tty/mips_ejtag_fdc.c 	total = min(total, (int)(priv->xmit_size - dport->xmit_cnt));
total             819 drivers/tty/mips_ejtag_fdc.c 	atomic_add(total, &priv->xmit_total);
total             820 drivers/tty/mips_ejtag_fdc.c 	dport->xmit_cnt += total;
total             822 drivers/tty/mips_ejtag_fdc.c 	for (count = total; count; count -= block) {
total             837 drivers/tty/mips_ejtag_fdc.c 	if (total)
total             839 drivers/tty/mips_ejtag_fdc.c 	return total;
total            1871 drivers/tty/moxa.c 	unsigned int c, total;
total            1886 drivers/tty/moxa.c 	total = c;
total            1918 drivers/tty/moxa.c 		tail = (tail + total) & tx_mask;
total            1922 drivers/tty/moxa.c 	return total;
total            1930 drivers/tty/moxa.c 	unsigned int count, len, total;
total            1945 drivers/tty/moxa.c 	total = count;
total            1946 drivers/tty/moxa.c 	moxaLog.rxcnt[tty->index] += total;
total            1975 drivers/tty/moxa.c 		head = (head + total) & rx_mask;
total            1982 drivers/tty/moxa.c 	return total;
total            1099 drivers/tty/mxser.c 	int c, total = 0;
total            1121 drivers/tty/mxser.c 		total += c;
total            1136 drivers/tty/mxser.c 	return total;
total              93 drivers/tty/serial/8250/8250_mtk.c 	int copied, total, cnt;
total             100 drivers/tty/serial/8250/8250_mtk.c 	total = dma->rx_size - state.residue;
total             101 drivers/tty/serial/8250/8250_mtk.c 	cnt = total;
total             110 drivers/tty/serial/8250/8250_mtk.c 	if (total > cnt) {
total             112 drivers/tty/serial/8250/8250_mtk.c 		cnt = total - cnt;
total             281 drivers/tty/serial/jsm/jsm_neo.c 	int total = 0;
total             305 drivers/tty/serial/jsm/jsm_neo.c 		total = 0;
total             307 drivers/tty/serial/jsm/jsm_neo.c 		total = readb(&ch->ch_neo_uart->rfifo);
total             317 drivers/tty/serial/jsm/jsm_neo.c 		total -= 3;
total             326 drivers/tty/serial/jsm/jsm_neo.c 	total = min(total, qleft);
total             328 drivers/tty/serial/jsm/jsm_neo.c 	while (total > 0) {
total             344 drivers/tty/serial/jsm/jsm_neo.c 		n = min(((u32) total), (RQUEUESIZE - (u32) head));
total             375 drivers/tty/serial/jsm/jsm_neo.c 		total -= n;
total             571 drivers/usb/dwc2/params.c 	u32 total = 0;
total             578 drivers/usb/dwc2/params.c 		total += hsotg->params.g_tx_fifo_size[fifo];
total             580 drivers/usb/dwc2/params.c 	if (total > dwc2_hsotg_tx_fifo_total_depth(hsotg) || !total) {
total            2359 drivers/usb/dwc3/gadget.c static int dwc3_gadget_init_endpoints(struct dwc3 *dwc, u8 total)
total            2365 drivers/usb/dwc3/gadget.c 	for (epnum = 0; epnum < total; epnum++) {
total            1770 drivers/usb/gadget/legacy/inode.c 		unsigned int total)
total            1774 drivers/usb/gadget/legacy/inode.c 		&& total >= USB_DT_CONFIG_SIZE
total            1787 drivers/usb/gadget/legacy/inode.c 	unsigned		total;
total            1825 drivers/usb/gadget/legacy/inode.c 	total = le16_to_cpu(dev->config->wTotalLength);
total            1826 drivers/usb/gadget/legacy/inode.c 	if (!is_valid_config(dev->config, total) ||
total            1827 drivers/usb/gadget/legacy/inode.c 			total > length - USB_DT_DEVICE_SIZE)
total            1829 drivers/usb/gadget/legacy/inode.c 	kbuf += total;
total            1830 drivers/usb/gadget/legacy/inode.c 	length -= total;
total            1835 drivers/usb/gadget/legacy/inode.c 		total = le16_to_cpu(dev->hs_config->wTotalLength);
total            1836 drivers/usb/gadget/legacy/inode.c 		if (!is_valid_config(dev->hs_config, total) ||
total            1837 drivers/usb/gadget/legacy/inode.c 				total > length - USB_DT_DEVICE_SIZE)
total            1839 drivers/usb/gadget/legacy/inode.c 		kbuf += total;
total            1840 drivers/usb/gadget/legacy/inode.c 		length -= total;
total             390 drivers/usb/gadget/udc/at91_udc.c 	unsigned	total, count, is_last;
total             418 drivers/usb/gadget/udc/at91_udc.c 	total = req->req.length - req->req.actual;
total             419 drivers/usb/gadget/udc/at91_udc.c 	if (ep->ep.maxpacket < total) {
total             423 drivers/usb/gadget/udc/at91_udc.c 		count = total;
total            1765 drivers/usb/gadget/udc/dummy_hcd.c 	int			limit, total;
total            1772 drivers/usb/gadget/udc/dummy_hcd.c 		total = 8/*bytes*/ * 12/*packets*/;
total            1775 drivers/usb/gadget/udc/dummy_hcd.c 		total = 64/*bytes*/ * 19/*packets*/;
total            1778 drivers/usb/gadget/udc/dummy_hcd.c 		total = 512/*bytes*/ * 13/*packets*/ * 8/*uframes*/;
total            1782 drivers/usb/gadget/udc/dummy_hcd.c 		total = 490000;
total            1786 drivers/usb/gadget/udc/dummy_hcd.c 		total = 0;
total            1828 drivers/usb/gadget/udc/dummy_hcd.c 		if (total <= 0)
total            1924 drivers/usb/gadget/udc/dummy_hcd.c 		limit = total;
total            1950 drivers/usb/gadget/udc/dummy_hcd.c 			total -= transfer(dum_hcd, urb, ep, limit, &status);
total             614 drivers/usb/gadget/udc/net2280.c 	unsigned		count, total;
total             621 drivers/usb/gadget/udc/net2280.c 		total = req->length - req->actual;
total             623 drivers/usb/gadget/udc/net2280.c 		total = 0;
total             629 drivers/usb/gadget/udc/net2280.c 	if (count > total)	/* min() cannot be used on a bitfield */
total             630 drivers/usb/gadget/udc/net2280.c 		count = total;
total             652 drivers/usb/gadget/udc/net2280.c 	if (count || total < ep->ep.maxpacket) {
total            2208 drivers/usb/host/isp1362-hcd.c 	u32 total;
total            2227 drivers/usb/host/isp1362-hcd.c 	total = atl_size + intl_size + istl_size;
total            2237 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "  USED/FREE:   %4d      %4d\n", total,
total            2238 drivers/usb/host/isp1362-hcd.c 		 ISP1362_BUF_SIZE - total);
total            2240 drivers/usb/host/isp1362-hcd.c 	if (total > ISP1362_BUF_SIZE) {
total            2242 drivers/usb/host/isp1362-hcd.c 			__func__, total, ISP1362_BUF_SIZE);
total             901 drivers/usb/misc/usbtest.c 		unsigned total, num, length;
total             912 drivers/usb/misc/usbtest.c 		total = le16_to_cpu(bos->wTotalLength);
total             915 drivers/usb/misc/usbtest.c 		if (total > TBUF_SIZE)
total             916 drivers/usb/misc/usbtest.c 			total = TBUF_SIZE;
total             923 drivers/usb/misc/usbtest.c 				total);
total             924 drivers/usb/misc/usbtest.c 		if (retval != total) {
total             935 drivers/usb/misc/usbtest.c 					dev->buf + total)
total             950 drivers/usb/misc/usbtest.c 						dev->buf + total ||
total             958 drivers/usb/misc/usbtest.c 						dev->buf + total ||
total             966 drivers/usb/misc/usbtest.c 						dev->buf + total ||
total             307 drivers/usb/usbip/usbip_common.c 	int total = 0;
total             323 drivers/usb/usbip/usbip_common.c 		total += result;
total             335 drivers/usb/usbip/usbip_common.c 			 size, result, msg_data_left(&msg), total);
total             338 drivers/usb/usbip/usbip_common.c 	return total;
total             311 drivers/usb/usbip/vudc_transfer.c 	int total, limit;
total             315 drivers/usb/usbip/vudc_transfer.c 	total = get_frame_limit(udc->gadget.speed);
total             316 drivers/usb/usbip/vudc_transfer.c 	if (total < 0) {	/* unknown speed, or not set yet */
total             323 drivers/usb/usbip/vudc_transfer.c 		timer->frame_limit = total;
total             327 drivers/usb/usbip/vudc_transfer.c 		total = timer->frame_limit;
total             353 drivers/usb/usbip/vudc_transfer.c 		if (total <= 0 && ep->type == USB_ENDPOINT_XFER_BULK)
total             394 drivers/usb/usbip/vudc_transfer.c 		limit = total;
total             410 drivers/usb/usbip/vudc_transfer.c 			total -= transfer(udc, urb, ep, limit);
total             247 drivers/video/fbdev/i810/i810_dvt.c 	u32 total, xres, yres;
total             256 drivers/video/fbdev/i810/i810_dvt.c 	total = (std_modes[mode].cr00 | (std_modes[mode].cr35 & 1) << 8) + 3;
total             257 drivers/video/fbdev/i810/i810_dvt.c 	total <<= 3;
total             263 drivers/video/fbdev/i810/i810_dvt.c 	var->left_margin = (total - (xres + var->right_margin + 
total             271 drivers/video/fbdev/i810/i810_dvt.c 	total = (std_modes[mode].cr06 | (std_modes[mode].cr30 & 0xF)  << 8) + 2;
total             276 drivers/video/fbdev/i810/i810_dvt.c 	var->upper_margin = total - (yres + var->lower_margin + var->vsync_len);
total            1380 drivers/video/fbdev/i810/i810_main.c 	u32 total;
total            1382 drivers/video/fbdev/i810/i810_main.c 	total = var->xoffset * par->depth + 
total            1384 drivers/video/fbdev/i810/i810_main.c 	i810fb_load_front(total, info);
total              30 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	u32 total = 0;
total              31 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	while (total < count) {
total              33 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 			outreg(geo, GDC_GEO_REG_INPUT_FIFO, data[total]);
total              34 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 			total++;
total             918 drivers/video/fbdev/nvidia/nvidia.c 	u32 total;
total             920 drivers/video/fbdev/nvidia/nvidia.c 	total = var->yoffset * info->fix.line_length + var->xoffset;
total             922 drivers/video/fbdev/nvidia/nvidia.c 	NVSetStartAddress(par, total);
total              35 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c 	int l = 0, total = 0;
total              38 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c 	for (i = 0; total < prop->length; total += l, p += l, i++)
total              63 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c 	size_t total = 0;
total              65 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c 	while (total < src_len) {
total              75 drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c 		total += l;
total             847 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c 		p.vram_info.total = SZ_1M * 64;
total             371 drivers/video/vgastate.c 		int total;
total             381 drivers/video/vgastate.c 		total = state->num_attr + state->num_crtc +
total             384 drivers/video/vgastate.c 		saved->attr = vmalloc(total);
total             135 fs/adfs/map.c  	unsigned long total = 0;
total             174 fs/adfs/map.c  		total += mapptr - start;
total             180 fs/adfs/map.c  	return total;
total             228 fs/adfs/map.c  	unsigned int total = 0;
total             235 fs/adfs/map.c  		total += scan_free_map(asb, dm++);
total             238 fs/adfs/map.c  	return signed_asl(total, asb->s_map2blk);
total            1701 fs/binfmt_elf.c 				 long signr, size_t *total)
total            1718 fs/binfmt_elf.c 	*total += notesize(&t->notes[0]);
total            1752 fs/binfmt_elf.c 				*total += notesize(&t->notes[i]);
total            2640 fs/btrfs/block-group.c 	u64 total = num_bytes;
total            2656 fs/btrfs/block-group.c 	while (total) {
total            2684 fs/btrfs/block-group.c 		num_bytes = min(total, cache->key.offset - byte_in_group);
total            2733 fs/btrfs/block-group.c 		total -= num_bytes;
total             775 fs/btrfs/reada.c 	u64 total = 0;
total             788 fs/btrfs/reada.c 		total += enqueued;
total             789 fs/btrfs/reada.c 	} while (enqueued && total < 10000);
total             900 fs/btrfs/send.c 	u32 total;
total             927 fs/btrfs/send.c 		total = btrfs_item_size(eb, item);
total             931 fs/btrfs/send.c 		total = btrfs_item_size_nr(eb, slot);
total             935 fs/btrfs/send.c 	while (cur < total) {
total            1023 fs/btrfs/send.c 	u32 total;
total            1047 fs/btrfs/send.c 	total = btrfs_item_size(eb, item);
total            1050 fs/btrfs/send.c 	while (cur < total) {
total             407 fs/ceph/caps.c 			     int *total, int *avail, int *used, int *reserved,
total             414 fs/ceph/caps.c 	if (total)
total             415 fs/ceph/caps.c 		*total = mdsc->caps_total_count;
total             141 fs/ceph/debugfs.c 	int total, avail, used, reserved, min, i;
total             143 fs/ceph/debugfs.c 	ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min);
total             149 fs/ceph/debugfs.c 		   total, avail, used, reserved, min);
total             484 fs/ceph/quota.c 	u64 total = 0, used, free;
total             500 fs/ceph/quota.c 			total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT;
total             505 fs/ceph/quota.c 			free = total > used ? total - used : 0;
total             508 fs/ceph/quota.c 		if (total) {
total             509 fs/ceph/quota.c 			buf->f_blocks = total;
total             697 fs/ceph/super.h 				    int *total, int *avail, int *used,
total             387 fs/dlm/member.c 	int i, w, x = 0, total = 0, all_zero = 0, *array;
total             394 fs/dlm/member.c 			total += memb->weight;
total             399 fs/dlm/member.c 	if (!total) {
total             400 fs/dlm/member.c 		total = ls->ls_num_nodes;
total             404 fs/dlm/member.c 	ls->ls_total_weight = total;
total             405 fs/dlm/member.c 	array = kmalloc_array(total, sizeof(*array), GFP_NOFS);
total             418 fs/dlm/member.c 		DLM_ASSERT(x < total, printk("total %d x %d\n", total, x););
total             526 fs/dlm/recover.c 	unsigned int total = 0;
total             548 fs/dlm/recover.c 		total++;
total             557 fs/dlm/recover.c 	log_rinfo(ls, "dlm_recover_masters %u of %u", count, total);
total            1325 fs/ext4/xattr.c 				    size_t *min_offs, void *base, int *total)
total            1333 fs/ext4/xattr.c 		if (total)
total            1334 fs/ext4/xattr.c 			*total += EXT4_XATTR_LEN(last->e_name_len);
total            1094 fs/f2fs/checkpoint.c 	s64 total = get_pages(sbi, F2FS_DIRTY_IMETA);
total            1096 fs/f2fs/checkpoint.c 	while (total--) {
total            2385 fs/f2fs/file.c 	unsigned int total = 0, sec_num;
total            2439 fs/f2fs/file.c 		total += map.m_len;
total            2447 fs/f2fs/file.c 		total = 0;
total            2451 fs/f2fs/file.c 	sec_num = DIV_ROUND_UP(total, BLKS_PER_SEC(sbi));
total            2465 fs/f2fs/file.c 	total = 0;
total            2499 fs/f2fs/file.c 			total++;
total            2518 fs/f2fs/file.c 		range->len = (u64)total << PAGE_SHIFT;
total            2656 fs/f2fs/super.c 	unsigned int total, fsmeta;
total            2670 fs/f2fs/super.c 	total = le32_to_cpu(raw_super->segment_count);
total            2679 fs/f2fs/super.c 	if (unlikely(fsmeta >= total))
total            1337 fs/fuse/dev.c  	int total, ret;
total            1363 fs/fuse/dev.c  	for (ret = total = 0; page_nr < cs.nr_segs; total += ret) {
total            1374 fs/fuse/dev.c  	if (total)
total            1375 fs/fuse/dev.c  		ret = total;
total             639 fs/gfs2/lops.c 				unsigned int total, struct list_head *blist,
total             652 fs/gfs2/lops.c 	while(total) {
total             653 fs/gfs2/lops.c 		num = total;
total             654 fs/gfs2/lops.c 		if (total > limit)
total             706 fs/gfs2/lops.c 		BUG_ON(total < num);
total             707 fs/gfs2/lops.c 		total -= num;
total             276 fs/gfs2/super.c void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
total             294 fs/gfs2/super.c 	l_sc->sc_total += total;
total              37 fs/gfs2/super.h extern void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
total            3144 fs/io_uring.c  	unsigned left, total;
total            3147 fs/io_uring.c  	total = 0;
total            3152 fs/io_uring.c  		ret = __io_sqe_files_scm(ctx, this_files, total);
total            3156 fs/io_uring.c  		total += this_files;
total            3162 fs/io_uring.c  	while (total < ctx->nr_user_files) {
total            3163 fs/io_uring.c  		fput(ctx->user_files[total]);
total            3164 fs/io_uring.c  		total++;
total             206 fs/jbd2/transaction.c 	int total = blocks + rsv_blocks;
total             223 fs/jbd2/transaction.c 	needed = atomic_add_return(total, &t->t_outstanding_credits);
total             230 fs/jbd2/transaction.c 		atomic_sub(total, &t->t_outstanding_credits);
total             236 fs/jbd2/transaction.c 		if (atomic_read(&journal->j_reserved_credits) + total >
total             241 fs/jbd2/transaction.c 				   atomic_read(&journal->j_reserved_credits) + total <=
total             262 fs/jbd2/transaction.c 		atomic_sub(total, &t->t_outstanding_credits);
total             280 fs/jbd2/transaction.c 		atomic_sub(total, &t->t_outstanding_credits);
total              54 fs/nilfs2/ioctl.c 	size_t maxmembs, total, n;
total              79 fs/nilfs2/ioctl.c 	total = 0;
total             103 fs/nilfs2/ioctl.c 		total += nr;
total             109 fs/nilfs2/ioctl.c 	argv->v_nmembs = total;
total            1689 fs/ntfs/file.c 	size_t total = 0;
total            1699 fs/ntfs/file.c 		total += copied;
total            1709 fs/ntfs/file.c 	return total;
total             910 fs/ocfs2/cluster/tcp.c 			      size_t veclen, size_t total)
total             920 fs/ocfs2/cluster/tcp.c 	ret = kernel_sendmsg(sock, &msg, vec, veclen, total);
total             921 fs/ocfs2/cluster/tcp.c 	if (likely(ret == total))
total             923 fs/ocfs2/cluster/tcp.c 	mlog(ML_ERROR, "sendmsg returned %d instead of %zu\n", ret, total);
total             354 fs/ocfs2/dlm/dlmdebug.c 	unsigned long total = 0;
total             361 fs/ocfs2/dlm/dlmdebug.c 		++total;
total             374 fs/ocfs2/dlm/dlmdebug.c 	out += snprintf(buf + out, len - out, "Total on list: %lu\n", total);
total             411 fs/ocfs2/dlm/dlmdebug.c 	unsigned long total = 0, longest = 0, bucket_count = 0;
total             420 fs/ocfs2/dlm/dlmdebug.c 			++total;
total             432 fs/ocfs2/dlm/dlmdebug.c 			"Total: %lu, Longest: %lu\n", total, longest);
total             304 fs/ocfs2/filecheck.c 	ssize_t ret = 0, total = 0, remain = PAGE_SIZE;
total             315 fs/ocfs2/filecheck.c 		total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max);
total             321 fs/ocfs2/filecheck.c 	total += ret;
total             328 fs/ocfs2/filecheck.c 		ret = snprintf(buf + total, remain, "%lu\t\t%u\t%s\n",
total             332 fs/ocfs2/filecheck.c 			total = ret;
total             337 fs/ocfs2/filecheck.c 			total = -E2BIG;
total             340 fs/ocfs2/filecheck.c 		total += ret;
total             346 fs/ocfs2/filecheck.c 	return total;
total             498 fs/ocfs2/stackglue.c 	ssize_t ret = 0, total = 0, remain = PAGE_SIZE;
total             506 fs/ocfs2/stackglue.c 			total = ret;
total             511 fs/ocfs2/stackglue.c 			total = -E2BIG;
total             514 fs/ocfs2/stackglue.c 		total += ret;
total             519 fs/ocfs2/stackglue.c 	return total;
total             371 fs/orangefs/devorangefs-req.c 	int total = ret = iov_iter_count(iter);
total             377 fs/orangefs/devorangefs-req.c 		     total,
total             380 fs/orangefs/devorangefs-req.c         if (total < MAX_DEV_REQ_DOWNSIZE) {
total             383 fs/orangefs/devorangefs-req.c 			   total,
total             436 fs/orangefs/devorangefs-req.c 	if ((head_size + downcall_size + op->downcall.trailer_size) != total) {
total             444 fs/orangefs/devorangefs-req.c 			   total);
total             413 fs/orangefs/xattr.c 	ssize_t total = 0;
total             449 fs/orangefs/xattr.c 		total = new_op->downcall.resp.listxattr.returned_count *
total             477 fs/orangefs/xattr.c 		if (total + new_op->downcall.resp.listxattr.lengths[i] > size)
total             492 fs/orangefs/xattr.c 			memcpy(buffer + total,
total             495 fs/orangefs/xattr.c 			total += new_op->downcall.resp.listxattr.lengths[i];
total             517 fs/orangefs/xattr.c 		     ret ? (int)ret : (int)total,
total             522 fs/orangefs/xattr.c 		ret = total;
total             391 fs/pstore/platform.c 	unsigned long	total = 0;
total             412 fs/pstore/platform.c 	while (total < kmsg_bytes) {
total             465 fs/pstore/platform.c 		total += record.size;
total             174 fs/pstore/ram.c 	size_t dest_size, src_size, total, dest_off, src_off;
total             186 fs/pstore/ram.c 	total = dest_size + src_size;
total             187 fs/pstore/ram.c 	merged_buf = kmalloc(total, GFP_KERNEL);
total             218 fs/pstore/ram.c 	dest->old_log_size = total;
total              24 fs/qnx4/bitmap.c 	int total = 0;
total              30 fs/qnx4/bitmap.c 	while (total < size) {
total              31 fs/qnx4/bitmap.c 		int bytes = min(size - total, QNX4_BLOCK_SIZE);
total              40 fs/qnx4/bitmap.c 		total += bytes;
total             218 fs/signalfd.c  	ssize_t ret, total = 0;
total             234 fs/signalfd.c  		total += ret;
total             238 fs/signalfd.c  	return total ? total: ret;
total            1215 fs/splice.c    	size_t total = 0;
total            1242 fs/splice.c    					total += ret;
total            1250 fs/splice.c    	return total ? total : ret;
total             124 fs/squashfs/xz_wrapper.c 	int avail, total = 0, k = 0;
total             148 fs/squashfs/xz_wrapper.c 				total += PAGE_SIZE;
total             163 fs/squashfs/xz_wrapper.c 	return total + stream->buf.out_pos;
total            1899 fs/userfaultfd.c 	unsigned long pending = 0, total = 0;
total            1904 fs/userfaultfd.c 		total++;
total            1907 fs/userfaultfd.c 		total++;
total            1917 fs/userfaultfd.c 		   pending, total, UFFD_API, ctx->features,
total            2057 fs/xfs/libxfs/xfs_alloc.c 	if (available < (int)max(args->total, alloc_len))
total              66 fs/xfs/libxfs/xfs_alloc.h 	xfs_extlen_t	total;		/* total blocks needed in xaction */
total             363 fs/xfs/libxfs/xfs_attr.c 	args.total = xfs_attr_calc_size(&args, &local);
total             383 fs/xfs/libxfs/xfs_attr.c 			 M_RES(mp)->tr_attrsetrt.tr_logres * args.total;
total             391 fs/xfs/libxfs/xfs_attr.c 	error = xfs_trans_alloc(mp, &tres, args.total, 0,
total             397 fs/xfs/libxfs/xfs_attr.c 	error = xfs_trans_reserve_quota_nblks(args.trans, dp, args.total, 0,
total             844 fs/xfs/libxfs/xfs_attr_leaf.c 	nargs.total = args->total;
total            1046 fs/xfs/libxfs/xfs_attr_leaf.c 	nargs.total = args->total;
total             481 fs/xfs/libxfs/xfs_attr_remote.c 				  blkcnt, XFS_BMAPI_ATTRFORK, args->total, &map,
total             820 fs/xfs/libxfs/xfs_bmap.c 	xfs_extlen_t	total,		/* total blocks needed by transaction */
total             868 fs/xfs/libxfs/xfs_bmap.c 	args.total = total;
total            1005 fs/xfs/libxfs/xfs_bmap.c 		dargs.total = dargs.geo->fsbcount;
total            3266 fs/xfs/libxfs/xfs_bmap.c 	args->total = ap->total;
total            3300 fs/xfs/libxfs/xfs_bmap.c 	args->total = ap->total;
total            3481 fs/xfs/libxfs/xfs_bmap.c 		args.total = args.minlen = ap->minlen;
total            3484 fs/xfs/libxfs/xfs_bmap.c 		args.total = ap->total;
total            3600 fs/xfs/libxfs/xfs_bmap.c 		args.total = ap->minlen;
total            4262 fs/xfs/libxfs/xfs_bmap.c 	xfs_extlen_t		total,		/* total blocks needed */
total            4269 fs/xfs/libxfs/xfs_bmap.c 		.total		= total,
total            4508 fs/xfs/libxfs/xfs_bmap.c 	bma.total = XFS_EXTENTADD_SPACE_RES(ip->i_mount, XFS_DATA_FORK);
total              36 fs/xfs/libxfs/xfs_bmap.h 	xfs_extlen_t		total;	/* total blocks needed for xaction */
total             203 fs/xfs/libxfs/xfs_bmap.h 		xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
total            2085 fs/xfs/libxfs/xfs_da_btree.c 			args->total, &map, &nmap);
total            2107 fs/xfs/libxfs/xfs_da_btree.c 					args->total, &mapp[mapi], &nmap);
total            2134 fs/xfs/libxfs/xfs_da_btree.c 	args->total -= dp->i_d.di_nblocks - nblks;
total              60 fs/xfs/libxfs/xfs_da_btree.h 	xfs_extlen_t	total;		/* total blocks needed, for 1st bmap */
total             242 fs/xfs/libxfs/xfs_dir2.c 	xfs_extlen_t		total)		/* bmap's total block count */
total             268 fs/xfs/libxfs/xfs_dir2.c 	args->total = total;
total             416 fs/xfs/libxfs/xfs_dir2.c 	xfs_extlen_t		total)		/* bmap's total block count */
total             436 fs/xfs/libxfs/xfs_dir2.c 	args->total = total;
total             474 fs/xfs/libxfs/xfs_dir2.c 	xfs_extlen_t		total)		/* bmap's total block count */
total             497 fs/xfs/libxfs/xfs_dir2.c 	args->total = total;
total             389 fs/xfs/libxfs/xfs_dir2_block.c 		if (args->total == 0)
total             683 fs/xfs/libxfs/xfs_dir2_leaf.c 							args->total == 0) {
total             715 fs/xfs/libxfs/xfs_dir2_leaf.c 	if (args->total == 0 && use_block == -1) {
total            1394 fs/xfs/libxfs/xfs_dir2_leaf.c 			if (error == -ENOSPC && args->total == 0)
total            1176 fs/xfs/libxfs/xfs_dir2_node.c 		} else if (error != -ENOSPC || args->total != 0)
total            1328 fs/xfs/libxfs/xfs_dir2_node.c 			else if (!(error == -ENOSPC && args->total == 0))
total            1638 fs/xfs/libxfs/xfs_dir2_node.c 	if (args->total == 0)
total            2013 fs/xfs/libxfs/xfs_dir2_node.c 		if (args->total == 0) {
total             319 fs/xfs/libxfs/xfs_dir2_sf.c 		if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || args->total == 0)
total            1578 fs/xfs/xfs_trace.h 		__field(xfs_extlen_t, total)
total            1599 fs/xfs/xfs_trace.h 		__entry->total = args->total;
total            1623 fs/xfs/xfs_trace.h 		  __entry->total,
total            2002 fs/xfs/xfs_trace.h 		__field(int, total)
total            2012 fs/xfs/xfs_trace.h 		__entry->total = item->ri_total;
total            2023 fs/xfs/xfs_trace.h 		  __entry->total)
total             105 include/crypto/algapi.h 	unsigned int total;
total             127 include/crypto/algapi.h 	unsigned int		total;
total             329 include/crypto/algapi.h 	walk->total = nbytes;
total             339 include/crypto/algapi.h 	walk->total = nbytes;
total              42 include/crypto/ctr.h 		if (nbytes < walk.total) {
total              26 include/crypto/internal/hash.h 	unsigned int total;
total              64 include/crypto/internal/hash.h 	return !(walk->entrylen | walk->total);
total              51 include/crypto/internal/skcipher.h 	unsigned int total;
total              55 include/drm/drm_legacy.h 	int total;		       /**< Buffer size */
total             165 include/linux/bvec.h 	unsigned total = bvec->bv_offset + bvec->bv_len;
total             166 include/linux/bvec.h 	unsigned last_page = (total - 1) / PAGE_SIZE;
total             176 include/linux/bvec.h 		seg->bv_len = total - last_page * PAGE_SIZE;
total             124 include/linux/lockdep.h 	s64				total;
total             359 include/linux/mtd/rawnand.h 	int total;
total             144 include/linux/psi_types.h 	u64 total[NR_PSI_AGGREGATORS][NR_PSI_STATES - 1];
total             522 include/linux/sunrpc/svc.h 					 struct kvec *first, size_t total);
total             525 include/linux/sunrpc/svc.h 					     size_t total);
total             960 include/net/devlink.h 					unsigned long total);
total              64 include/net/inetpeer.h 	int			total;
total             781 include/trace/events/sunrpc.h 	TP_PROTO(struct rpc_xprt *xprt, ssize_t err, size_t total),
total             783 include/trace/events/sunrpc.h 	TP_ARGS(xprt, err, total),
total             787 include/trace/events/sunrpc.h 		__field(size_t, total)
total             796 include/trace/events/sunrpc.h 		__entry->total = total;
total             804 include/trace/events/sunrpc.h 			__get_str(port), __entry->err, __entry->total)
total             377 include/uapi/drm/drm.h 	int total;		       /**< Buffer size */
total             201 include/uapi/linux/omapfb.h 	__u32 total;
total             100 ipc/namespace.c 	int total, in_use;
total             106 ipc/namespace.c 	for (total = 0, next_id = 0; total < in_use; next_id++) {
total             113 ipc/namespace.c 		total++;
total             864 ipc/shm.c      	int total, in_use;
total             871 ipc/shm.c      	for (total = 0, next_id = 0; total < in_use; next_id++) {
total             882 ipc/shm.c      		total++;
total             758 ipc/util.c     	int total, id;
total             760 ipc/util.c     	total = 0;
total             761 ipc/util.c     	for (id = 0; id < pos && total < ids->in_use; id++) {
total             764 ipc/util.c     			total++;
total             768 ipc/util.c     	if (total >= ids->in_use)
total            3167 kernel/bpf/btf.c 	u32 total, expected_total, i;
total            3183 kernel/bpf/btf.c 	total = 0;
total            3190 kernel/bpf/btf.c 		if (total < secs[i].off) {
total            3195 kernel/bpf/btf.c 		if (total > secs[i].off) {
total            3199 kernel/bpf/btf.c 		if (expected_total - total < secs[i].len) {
total            3204 kernel/bpf/btf.c 		total += secs[i].len;
total            3208 kernel/bpf/btf.c 	if (expected_total != total) {
total              45 kernel/delayacct.c static void delayacct_end(raw_spinlock_t *lock, u64 *start, u64 *total,
total              53 kernel/delayacct.c 		*total += ns;
total              71 kernel/delayacct.c 	u64 *total;
total              75 kernel/delayacct.c 		total = &delays->swapin_delay;
total              78 kernel/delayacct.c 		total = &delays->blkio_delay;
total              82 kernel/delayacct.c 	delayacct_end(&delays->lock, &delays->blkio_start, total, count);
total            4798 kernel/events/core.c 	u64 total = 0;
total            4806 kernel/events/core.c 	total += perf_event_count(event);
total            4815 kernel/events/core.c 		total += perf_event_count(child);
total            4821 kernel/events/core.c 	return total;
total             152 kernel/fork.c  	int total = 0;
total             155 kernel/fork.c  		total += per_cpu(process_counts, cpu);
total             157 kernel/fork.c  	return total;
total            2472 kernel/kprobes.c 	unsigned int i, total = 0, errors = 0;
total            2498 kernel/kprobes.c 				total++;
total            2505 kernel/kprobes.c 			errors, total);
total            2518 kernel/kprobes.c 	unsigned int i, total = 0, errors = 0;
total            2541 kernel/kprobes.c 				total++;
total            2548 kernel/kprobes.c 			errors, total);
total             210 kernel/locking/lockdep.c 	lt->total += time;
total             225 kernel/locking/lockdep.c 	dst->total += src->total;
total             402 kernel/locking/lockdep_proc.c 	seq_time(m, lt->total);
total             403 kernel/locking/lockdep_proc.c 	seq_time(m, lt->nr ? div_s64(lt->total, lt->nr) : 0);
total            1576 kernel/power/snapshot.c 						  unsigned long total)
total            1578 kernel/power/snapshot.c 	unsigned long alloc = __fraction(nr_pages, highmem, total);
total            1590 kernel/power/snapshot.c 							 unsigned long total)
total              41 kernel/sched/cputime.c 	irqtime->total += delta;
total             531 kernel/sched/cputime.c static u64 scale_stime(u64 stime, u64 rtime, u64 total)
total             541 kernel/sched/cputime.c 		if (total >> 32)
total             560 kernel/sched/cputime.c 		total >>= 1;
total             567 kernel/sched/cputime.c 	scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total);
total             350 kernel/sched/psi.c 		group->total[aggregator][s] +=
total             383 kernel/sched/psi.c 		sample = group->total[PSI_AVGS][s] - group->avg_total[s];
total             497 kernel/sched/psi.c 				group->total[PSI_POLL][t->state], 0);
total             498 kernel/sched/psi.c 	memcpy(group->polling_total, group->total[PSI_POLL],
total             507 kernel/sched/psi.c 	u64 *total = group->total[PSI_POLL];
total             517 kernel/sched/psi.c 		if (group->polling_total[t->state] == total[t->state])
total             529 kernel/sched/psi.c 		growth = window_update(&t->win, now, total[t->state]);
total             544 kernel/sched/psi.c 		memcpy(group->polling_total, total,
total             958 kernel/sched/psi.c 		u64 total;
total             963 kernel/sched/psi.c 		total = div_u64(group->total[PSI_AVGS][res * 2 + full],
total             971 kernel/sched/psi.c 			   total);
total            2431 kernel/sched/rt.c 	unsigned long total, sum = 0;
total            2454 kernel/sched/rt.c 	total = to_ratio(period, runtime);
total            2459 kernel/sched/rt.c 	if (total > to_ratio(global_rt_period(), global_rt_runtime()))
total            2477 kernel/sched/rt.c 	if (sum > total)
total            2251 kernel/sched/sched.h 	u64			total;
total            2268 kernel/sched/sched.h 	u64 total;
total            2272 kernel/sched/sched.h 		total = irqtime->total;
total            2275 kernel/sched/sched.h 	return total;
total              49 kernel/stacktrace.c 	unsigned int generated, i, total = 0;
total              58 kernel/stacktrace.c 		total += generated;
total              68 kernel/stacktrace.c 	return total;
total            3520 kernel/trace/trace.c get_total_entries_cpu(struct trace_buffer *buf, unsigned long *total,
total            3534 kernel/trace/trace.c 		*total = count;
total            3536 kernel/trace/trace.c 		*total = count +
total            3543 kernel/trace/trace.c 		  unsigned long *total, unsigned long *entries)
total            3548 kernel/trace/trace.c 	*total = 0;
total            3553 kernel/trace/trace.c 		*total += t;
total            3560 kernel/trace/trace.c 	unsigned long total, entries;
total            3565 kernel/trace/trace.c 	get_total_entries_cpu(&tr->trace_buffer, &total, &entries, cpu);
total            3572 kernel/trace/trace.c 	unsigned long total, entries;
total            3577 kernel/trace/trace.c 	get_total_entries(&tr->trace_buffer, &total, &entries);
total            3596 kernel/trace/trace.c 	unsigned long total;
total            3599 kernel/trace/trace.c 	get_total_entries(buf, &total, &entries);
total            3601 kernel/trace/trace.c 		   entries, total, num_online_cpus());
total            3642 kernel/trace/trace.c 	unsigned long total;
total            3647 kernel/trace/trace.c 	get_total_entries(buf, &total, &entries);
total            3657 kernel/trace/trace.c 		   total,
total             171 kernel/trace/trace_hwlat.c 	s64 diff, total, last_total = 0;
total             208 kernel/trace/trace_hwlat.c 		total = time_to_us(time_sub(t2, start)); /* sample width */
total             211 kernel/trace/trace_hwlat.c 		if (total < last_total) {
total             215 kernel/trace/trace_hwlat.c 		last_total = total;
total             229 kernel/trace/trace_hwlat.c 	} while (total <= hwlat_data.sample_width);
total              76 kernel/trace/trace_probe_tmpl.h 	int total = 0, ret = 0, i = 0;
total             146 kernel/trace/trace_probe_tmpl.h 		total += ret;
total             164 kernel/trace/trace_probe_tmpl.h 		ret = total;
total             482 lib/842/842_compress.c 	u64 last, next, pad, total;
total             499 lib/842/842_compress.c 	total = p->olen;
total             594 lib/842/842_compress.c 	pad = (8 - ((total - p->olen) % 8)) % 8;
total             603 lib/842/842_compress.c 	if (unlikely((total - p->olen) > UINT_MAX))
total             606 lib/842/842_compress.c 	*olen = total - p->olen;
total             165 lib/842/842_decompress.c 	u64 index, offset, total = round_down(p->out - p->ostart, 8);
total             175 lib/842/842_decompress.c 	if (total > fsize) {
total             177 lib/842/842_decompress.c 		u64 section = round_down(total, fsize);
total             179 lib/842/842_decompress.c 		u64 pos = total - section;
total             190 lib/842/842_decompress.c 	if (offset + size > total) {
total             192 lib/842/842_decompress.c 			 (unsigned long)offset, (unsigned long)total);
total             202 lib/842/842_decompress.c 			 (unsigned long)total,
total             282 lib/842/842_decompress.c 	u64 op, rep, tmp, bytes, total;
total             292 lib/842/842_decompress.c 	total = p.olen;
total             385 lib/842/842_decompress.c 	if (crc != (u64)crc32_be(0, out, total - p.olen)) {
total             390 lib/842/842_decompress.c 	if (unlikely((total - p.olen) > UINT_MAX))
total             393 lib/842/842_decompress.c 	*olen = total - p.olen;
total              71 lib/scatterlist.c 	u64 total;
total              76 lib/scatterlist.c 	for (nents = 0, total = 0; sg; sg = sg_next(sg)) {
total              78 lib/scatterlist.c 		total += sg->length;
total              79 lib/scatterlist.c 		if (total >= len)
total              14 lib/show_mem.c 	unsigned long total = 0, reserved = 0, highmem = 0;
total              27 lib/show_mem.c 			total += zone->present_pages;
total              35 lib/show_mem.c 	printk("%lu pages RAM\n", total);
total              25 lib/test_memcat_p.c 	int err = -ENOMEM, i, r, total = 0;
total              62 lib/test_memcat_p.c 		total += (*p)->num;
total              71 lib/test_memcat_p.c 	if (total) {
total              72 lib/test_memcat_p.c 		pr_err("test failed: expected zero total, got %d\n", total);
total             177 lib/test_rhashtable.c 	unsigned int total = 0, chain_len = 0;
total             195 lib/test_rhashtable.c 		total++;
total             202 lib/test_rhashtable.c 		total, atomic_read(&ht->nelems), entries, chain_len);
total             204 lib/test_rhashtable.c 	if (total != atomic_read(&ht->nelems) || total != entries)
total              29 lib/zlib_inflate/inflate.c     strm->total_in = strm->total_out = state->total = 0;
total             694 lib/zlib_inflate/inflate.c                 state->total += out;
total             736 lib/zlib_inflate/inflate.c     state->total += out;
total             794 lib/zlib_inflate/inflate.c     state->total += z->avail_in;
total              80 lib/zlib_inflate/inflate.h     unsigned long total;        /* protected copy of output count */
total             225 lib/zstd/entropy_common.c 			U32 const total = 1 << tableLog;
total             226 lib/zstd/entropy_common.c 			U32 const rest = total - weightTotal;
total             168 lib/zstd/fse_compress.c 		unsigned total = 0;
total             177 lib/zstd/fse_compress.c 				symbolTT[s].deltaFindState = total - 1;
total             178 lib/zstd/fse_compress.c 				total++;
total             184 lib/zstd/fse_compress.c 				symbolTT[s].deltaFindState = total - normalizedCounter[s];
total             185 lib/zstd/fse_compress.c 				total += normalizedCounter[s];
total             519 lib/zstd/fse_compress.c static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 maxSymbolValue)
total             527 lib/zstd/fse_compress.c 	U32 const lowThreshold = (U32)(total >> tableLog);
total             528 lib/zstd/fse_compress.c 	U32 lowOne = (U32)((total * 3) >> (tableLog + 1));
total             538 lib/zstd/fse_compress.c 			total -= count[s];
total             544 lib/zstd/fse_compress.c 			total -= count[s];
total             552 lib/zstd/fse_compress.c 	if ((total / ToDistribute) > lowOne) {
total             554 lib/zstd/fse_compress.c 		lowOne = (U32)((total * 3) / (ToDistribute * 2));
total             559 lib/zstd/fse_compress.c 				total -= count[s];
total             578 lib/zstd/fse_compress.c 	if (total == 0) {
total             589 lib/zstd/fse_compress.c 		U64 const rStep = div_u64((((U64)1 << vStepLog) * ToDistribute) + mid, (U32)total); /* scale on remaining */
total             608 lib/zstd/fse_compress.c size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t total, unsigned maxSymbolValue)
total             617 lib/zstd/fse_compress.c 	if (tableLog < FSE_minTableLog(total, maxSymbolValue))
total             623 lib/zstd/fse_compress.c 		U64 const step = div_u64((U64)1 << 62, (U32)total); /* <== here, one division ! */
total             629 lib/zstd/fse_compress.c 		U32 lowThreshold = (U32)(total >> tableLog);
total             632 lib/zstd/fse_compress.c 			if (count[s] == total)
total             655 lib/zstd/fse_compress.c 			size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue);
total             382 mm/frontswap.c static int __frontswap_unuse_pages(unsigned long total, unsigned long *unused,
total             388 mm/frontswap.c 	unsigned long total_pages_to_unuse = total;
total            2972 mm/huge_memory.c 	unsigned long total = 0, split = 0;
total            2993 mm/huge_memory.c 			total++;
total            3003 mm/huge_memory.c 	pr_info("%lu of %lu THP split\n", split, total);
total            3162 mm/hugetlb.c   	unsigned long total = 0;
total            3170 mm/hugetlb.c   		total += (PAGE_SIZE << huge_page_order(h)) * count;
total            3186 mm/hugetlb.c   	seq_printf(m, "Hugetlb:        %8lu kB\n", total / 1024);
total            1715 mm/memcontrol.c 	int total = 0;
total            1736 mm/memcontrol.c 				if (!total)
total            1744 mm/memcontrol.c 				if (total >= (excess >> 2) ||
total            1750 mm/memcontrol.c 		total += mem_cgroup_shrink_node(victim, gfp_mask, false,
total            1757 mm/memcontrol.c 	return total;
total            1009 mm/nommu.c     	unsigned long total, point;
total            1039 mm/nommu.c     	total = 1 << order;
total            1043 mm/nommu.c     	if (sysctl_nr_trim_pages && total - point >= sysctl_nr_trim_pages)
total            1044 mm/nommu.c     		total = point;
total            1046 mm/nommu.c     	base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL);
total            1050 mm/nommu.c     	atomic_long_add(total, &mmap_pages_allocated);
total            1055 mm/nommu.c     	region->vm_top   = region->vm_start + (total << PAGE_SHIFT);
total             304 mm/page-writeback.c static unsigned long highmem_dirtyable_memory(unsigned long total)
total             350 mm/page-writeback.c 	return min(x, total);
total            5399 mm/page_alloc.c 		unsigned long nr[MAX_ORDER], flags, total = 0;
total            5413 mm/page_alloc.c 			total += nr[order] << order;
total            5428 mm/page_alloc.c 		printk(KERN_CONT "= %lukB\n", K(total));
total            4809 mm/slub.c      	unsigned long total = 0;
total            4839 mm/slub.c      			total += x;
total            4851 mm/slub.c      				total += x;
total            4881 mm/slub.c      			total += x;
total            4897 mm/slub.c      			total += x;
total            4901 mm/slub.c      	x = sprintf(buf, "%lu", total);
total            1514 mm/z3fold.c    	unsigned int total = 0;
total            1517 mm/z3fold.c    	while (total < pages) {
total            1521 mm/z3fold.c    		total++;
total            1525 mm/z3fold.c    		*reclaimed = total;
total             173 mm/zbud.c      	unsigned int total = 0;
total             176 mm/zbud.c      	while (total < pages) {
total             180 mm/zbud.c      		total++;
total             184 mm/zbud.c      		*reclaimed = total;
total             220 mm/zswap.c     	u64 total = 0;
total             225 mm/zswap.c     		total += zpool_get_total_size(pool->zpool);
total             229 mm/zswap.c     	zswap_pool_total_size = total;
total            1554 net/9p/client.c 	int total = 0;
total            1611 net/9p/client.c 			total += n;
total            1620 net/9p/client.c 			total += count;
total            1625 net/9p/client.c 	return total;
total            1634 net/9p/client.c 	int total = 0;
total            1679 net/9p/client.c 		total += count;
total            1682 net/9p/client.c 	return total;
total             139 net/atm/addr.c 	int total = 0, error;
total             148 net/atm/addr.c 	    total += sizeof(struct sockaddr_atmsvc);
total             149 net/atm/addr.c 	tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC);
total             157 net/atm/addr.c 	error = total > size ? -E2BIG : total;
total             158 net/atm/addr.c 	if (copy_to_user(buf, tmp_buf, total < size ? total : size))
total            2043 net/bridge/netfilter/ebtables.c 			  unsigned int *total,
total            2053 net/bridge/netfilter/ebtables.c 	if (*total < sizeof(struct ebt_entries))
total            2057 net/bridge/netfilter/ebtables.c 		*total -= sizeof(struct ebt_entries);
total            2060 net/bridge/netfilter/ebtables.c 	if (*total < sizeof(*entry) || entry->next_offset < sizeof(*entry))
total            2091 net/bridge/netfilter/ebtables.c 		if (offsets[i] > *total)
total            2094 net/bridge/netfilter/ebtables.c 		if (i < 3 && offsets[i] == *total)
total            2136 net/bridge/netfilter/ebtables.c 	if (*total < entry->next_offset)
total            2138 net/bridge/netfilter/ebtables.c 	*total -= entry->next_offset;
total             265 net/can/j1939/j1939-priv.h 		unsigned int total;
total             693 net/can/j1939/transport.c 	dat[3] = session->pkt.total;
total             779 net/can/j1939/transport.c 		pkt_end = session->pkt.total;
total             807 net/can/j1939/transport.c 		if (session->pkt.tx < session->pkt.total && pdelay) {
total             868 net/can/j1939/transport.c 	len = session->pkt.total - session->pkt.rx;
total             924 net/can/j1939/transport.c 		dat[3] = session->pkt.total;
total             970 net/can/j1939/transport.c 		if (session->pkt.rx >= session->pkt.total) {
total            1316 net/can/j1939/transport.c 	session->pkt.tx_acked = session->pkt.total;
total            1371 net/can/j1939/transport.c 	if (session->pkt.last > session->pkt.total)
total            1373 net/can/j1939/transport.c 		session->pkt.last = session->pkt.total;
total            1560 net/can/j1939/transport.c 	session->pkt.total = (len + 6) / 7;
total            1563 net/can/j1939/transport.c 		if (dat[3] != session->pkt.total)
total            1565 net/can/j1939/transport.c 				     __func__, session, session->pkt.total,
total            1567 net/can/j1939/transport.c 		session->pkt.total = dat[3];
total            1747 net/can/j1939/transport.c 	if (packet > session->pkt.total ||
total            1748 net/can/j1939/transport.c 	    (session->pkt.rx + 1) > session->pkt.total) {
total            1778 net/can/j1939/transport.c 		if (session->pkt.rx >= session->pkt.total)
total            1885 net/can/j1939/transport.c 	session->pkt.total = (size + 6) / 7;
total            1887 net/can/j1939/transport.c 		min(j1939_tp_block ?: 255, session->pkt.total);
total            1891 net/can/j1939/transport.c 		session->pkt.last = session->pkt.total;
total            2196 net/ceph/osdmap.c 		size_t total = nsl + 1 + oid->name_len;
total            2198 net/ceph/osdmap.c 		if (total > sizeof(stack_buf))
total            2199 net/ceph/osdmap.c 			buf = kmalloc(total, GFP_NOIO | __GFP_NOFAIL);
total            2204 net/ceph/osdmap.c 		raw_pgid->seed = ceph_str_hash(pi->object_hash, buf, total);
total              58 net/core/dev_ioctl.c 	int total;
total              72 net/core/dev_ioctl.c 	total = 0;
total              80 net/core/dev_ioctl.c 					done = gifconf_list[i](dev, pos + total,
total              81 net/core/dev_ioctl.c 							       len - total, size);
total              84 net/core/dev_ioctl.c 				total += done;
total              92 net/core/dev_ioctl.c 	ifc->ifc_len = total;
total            2723 net/core/devlink.c 					unsigned long done, unsigned long total)
total            2749 net/core/devlink.c 			      total, DEVLINK_ATTR_PAD))
total            2766 net/core/devlink.c 					  unsigned long total)
total            2780 net/core/devlink.c 					   component, done, total);
total            2812 net/core/devlink.c 					unsigned long total)
total            2816 net/core/devlink.c 				      status_msg, component, done, total);
total             759 net/ipv4/fib_semantics.c 	int total;
total             765 net/ipv4/fib_semantics.c 	total = 0;
total             774 net/ipv4/fib_semantics.c 		total += nh->fib_nh_weight;
total             789 net/ipv4/fib_semantics.c 							    total) - 1;
total              61 net/ipv4/inetpeer.c 	bp->total = 0;
total             155 net/ipv4/inetpeer.c 	if (base->total >= inet_peer_threshold)
total             160 net/ipv4/inetpeer.c 					base->total / inet_peer_threshold * HZ;
total             176 net/ipv4/inetpeer.c 			base->total--;
total             232 net/ipv4/inetpeer.c 			base->total++;
total             309 net/ipv4/inetpeer.c 	base->total = 0;
total             688 net/ipv4/nexthop.c 	int total = 0;
total             693 net/ipv4/nexthop.c 		total += nhg->nh_entries[i].weight;
total             700 net/ipv4/nexthop.c 		upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1;
total            3194 net/ipv4/tcp.c 	u64 stats[__TCP_CHRONO_MAX], total = 0;
total            3202 net/ipv4/tcp.c 		total += stats[i];
total            3205 net/ipv4/tcp.c 	info->tcpi_busy_time = total;
total            1525 net/ipv4/udp.c 	unsigned int total = 0;
total            1530 net/ipv4/udp.c 		total += skb->truesize;
total            1533 net/ipv4/udp.c 	udp_rmem_release(sk, total, 0, true);
total            1570 net/ipv4/udp.c 					     int *total)
total            1582 net/ipv4/udp.c 			*total += skb->truesize;
total            1604 net/ipv4/udp.c 	int total = 0;
total            1608 net/ipv4/udp.c 	skb = __first_packet_length(sk, rcvq, &total);
total            1614 net/ipv4/udp.c 		skb = __first_packet_length(sk, rcvq, &total);
total            1617 net/ipv4/udp.c 	if (total)
total            1618 net/ipv4/udp.c 		udp_rmem_release(sk, total, 1, false);
total            4563 net/ipv6/route.c 	int total = 0;
total            4566 net/ipv6/route.c 		total += rt->fib6_nh->fib_nh_weight;
total            4570 net/ipv6/route.c 			total += iter->fib6_nh->fib_nh_weight;
total            4573 net/ipv6/route.c 	return total;
total            4576 net/ipv6/route.c static void rt6_upper_bound_set(struct fib6_info *rt, int *weight, int total)
total            4583 net/ipv6/route.c 						    total) - 1;
total            4588 net/ipv6/route.c static void rt6_multipath_upper_bound_set(struct fib6_info *rt, int total)
total            4593 net/ipv6/route.c 	rt6_upper_bound_set(rt, &weight, total);
total            4596 net/ipv6/route.c 		rt6_upper_bound_set(iter, &weight, total);
total            4602 net/ipv6/route.c 	int total;
total            4619 net/ipv6/route.c 	total = rt6_multipath_total_weight(first);
total            4620 net/ipv6/route.c 	rt6_multipath_upper_bound_set(first, total);
total             507 net/mac80211/trace.h 		__field(unsigned int, total)
total             514 net/mac80211/trace.h 		__entry->total = *total_flags;
total             520 net/mac80211/trace.h 		LOCAL_PR_ARG, __entry->changed, __entry->total
total             355 net/mac80211/tx.c 	int total = 0, purged = 0;
total             375 net/mac80211/tx.c 		total += skb_queue_len(&ps->bc_buf);
total             387 net/mac80211/tx.c 			total += skb_queue_len(&sta->ps_tx_buf[ac]);
total             396 net/mac80211/tx.c 	local->total_ps_buffered = total;
total            3849 net/mac80211/util.c 	int total = 1;
total            3917 net/mac80211/util.c 		total++;
total            3920 net/mac80211/util.c 	if (total == 1 && !params.radar_detect)
total            1220 net/netfilter/nf_tables_api.c 	struct nft_stats *cpu_stats, total;
total            1229 net/netfilter/nf_tables_api.c 	memset(&total, 0, sizeof(total));
total            1237 net/netfilter/nf_tables_api.c 		total.pkts += pkts;
total            1238 net/netfilter/nf_tables_api.c 		total.bytes += bytes;
total            1244 net/netfilter/nf_tables_api.c 	if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts),
total            1246 net/netfilter/nf_tables_api.c 	    nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes),
total             105 net/netfilter/nft_counter.c 			      struct nft_counter *total)
total             111 net/netfilter/nft_counter.c 	this_cpu->packets -= total->packets;
total             112 net/netfilter/nft_counter.c 	this_cpu->bytes -= total->bytes;
total             117 net/netfilter/nft_counter.c 			      struct nft_counter *total)
total             125 net/netfilter/nft_counter.c 	memset(total, 0, sizeof(*total));
total             135 net/netfilter/nft_counter.c 		total->bytes	+= bytes;
total             136 net/netfilter/nft_counter.c 		total->packets	+= packets;
total             144 net/netfilter/nft_counter.c 	struct nft_counter total;
total             146 net/netfilter/nft_counter.c 	nft_counter_fetch(priv, &total);
total             148 net/netfilter/nft_counter.c 	if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes),
total             150 net/netfilter/nft_counter.c 	    nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets),
total             155 net/netfilter/nft_counter.c 		nft_counter_reset(priv, &total);
total             233 net/netfilter/nft_counter.c 	struct nft_counter total;
total             235 net/netfilter/nft_counter.c 	nft_counter_fetch(priv, &total);
total             243 net/netfilter/nft_counter.c 	this_cpu->packets = total.packets;
total             244 net/netfilter/nft_counter.c 	this_cpu->bytes = total.bytes;
total             737 net/rds/af_rds.c 	unsigned int total = 0;
total             752 net/rds/af_rds.c 			total++;
total             753 net/rds/af_rds.c 			if (total <= len)
total             765 net/rds/af_rds.c 	lens->nr = total;
total             775 net/rds/af_rds.c 	unsigned int total = 0;
total             786 net/rds/af_rds.c 			total++;
total             787 net/rds/af_rds.c 			if (total <= len)
total             797 net/rds/af_rds.c 	lens->nr = total;
total             531 net/rds/connection.c 	unsigned int total = 0;
total             566 net/rds/connection.c 					total++;
total             567 net/rds/connection.c 					if (total <= len)
total             581 net/rds/connection.c 	lens->nr = total;
total             170 net/rds/info.c 	int total;
total             222 net/rds/info.c 	total = lens.nr * lens.each;
total             226 net/rds/info.c 	if (total > len) {
total             227 net/rds/info.c 		len = total;
total             230 net/rds/info.c 		len = total;
total             141 net/rds/transport.c 	unsigned int total = 0;
total             155 net/rds/transport.c 		total += part;
total             160 net/rds/transport.c 	return total;
total            1647 net/sunrpc/svc.c 				   struct kvec *first, size_t total)
total            1658 net/sunrpc/svc.c 		vec[i].iov_len = min_t(size_t, total, first->iov_len);
total            1659 net/sunrpc/svc.c 		total -= vec[i].iov_len;
total            1663 net/sunrpc/svc.c 	while (total) {
total            1665 net/sunrpc/svc.c 		vec[i].iov_len = min_t(size_t, total, PAGE_SIZE);
total            1666 net/sunrpc/svc.c 		total -= vec[i].iov_len;
total            1688 net/sunrpc/svc.c 				void *p, size_t total)
total            1693 net/sunrpc/svc.c 	result = kmalloc(total + 1, GFP_KERNEL);
total            1698 net/sunrpc/svc.c 	remaining = total;
total            1700 net/sunrpc/svc.c 	len = min_t(size_t, total, first->iov_len);
total            1718 net/sunrpc/svc.c 	if (strlen(result) != total) {
total             467 net/tipc/netlink_compat.c static inline u32 perc(u32 count, u32 total)
total             469 net/tipc/netlink_compat.c 	return (count * 100 + (total / 2)) / total;
total             277 net/vmw_vsock/virtio_transport_common.c 	size_t bytes, total = 0;
total             282 net/vmw_vsock/virtio_transport_common.c 	while (total < len && !list_empty(&vvs->rx_queue)) {
total             286 net/vmw_vsock/virtio_transport_common.c 		bytes = len - total;
total             301 net/vmw_vsock/virtio_transport_common.c 		total += bytes;
total             328 net/vmw_vsock/virtio_transport_common.c 	return total;
total             331 net/vmw_vsock/virtio_transport_common.c 	if (total)
total             332 net/vmw_vsock/virtio_transport_common.c 		err = total;
total             436 net/wimax/stack.c 	unsigned int cnt, total;
total             438 net/wimax/stack.c 	for (total = cnt = 0; cnt < addr_len; cnt++)
total             439 net/wimax/stack.c 		total += scnprintf(addr_str + total, addr_str_size - total,
total             442 net/wimax/stack.c 	return total;
total             604 net/xfrm/xfrm_policy.c static void xfrm_byidx_resize(struct net *net, int total)
total             629 net/xfrm/xfrm_policy.c static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total)
total             634 net/xfrm/xfrm_policy.c 	if (total)
total             635 net/xfrm/xfrm_policy.c 		*total += cnt;
total             644 net/xfrm/xfrm_policy.c static inline int xfrm_byidx_should_resize(struct net *net, int total)
total             649 net/xfrm/xfrm_policy.c 	    total > hmask)
total             672 net/xfrm/xfrm_policy.c 	int dir, total;
total             676 net/xfrm/xfrm_policy.c 	total = 0;
total             678 net/xfrm/xfrm_policy.c 		if (xfrm_bydst_should_resize(net, dir, &total))
total             681 net/xfrm/xfrm_policy.c 	if (xfrm_byidx_should_resize(net, total))
total             682 net/xfrm/xfrm_policy.c 		xfrm_byidx_resize(net, total);
total             101 samples/bpf/test_lru_dist.c 	unsigned int total;
total             120 samples/bpf/test_lru_dist.c 	lru->nr_unique = lru->nr_misses = lru->total = 0;
total             135 samples/bpf/test_lru_dist.c 	lru->total++;
total             303 samples/bpf/test_lru_dist.c 	       task, pfect_lru.nr_unique, pfect_lru.total,
total             304 samples/bpf/test_lru_dist.c 	       pfect_lru.nr_misses, pfect_lru.total);
total             127 samples/bpf/xdp_monitor_user.c 	struct datarec total;
total             136 samples/bpf/xdp_monitor_user.c 	struct u64rec total;
total             178 samples/bpf/xdp_monitor_user.c 	rec->total.processed = sum_processed;
total             179 samples/bpf/xdp_monitor_user.c 	rec->total.dropped   = sum_dropped;
total             180 samples/bpf/xdp_monitor_user.c 	rec->total.info      = sum_info;
total             181 samples/bpf/xdp_monitor_user.c 	rec->total.err       = sum_err;
total             206 samples/bpf/xdp_monitor_user.c 	rec->total.processed = sum_total;
total             329 samples/bpf/xdp_monitor_user.c 		pps = calc_pps_u64(&rec->total, &prev->total, t);
total             353 samples/bpf/xdp_monitor_user.c 		pps = calc_pps_u64(&rec->total, &prev->total, t);
total             385 samples/bpf/xdp_monitor_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             387 samples/bpf/xdp_monitor_user.c 			drop = calc_drop(&rec->total, &prev->total, t);
total             388 samples/bpf/xdp_monitor_user.c 			info = calc_info(&rec->total, &prev->total, t);
total             422 samples/bpf/xdp_monitor_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             423 samples/bpf/xdp_monitor_user.c 		drop = calc_drop(&rec->total, &prev->total, t);
total             424 samples/bpf/xdp_monitor_user.c 		info = calc_info(&rec->total, &prev->total, t);
total             460 samples/bpf/xdp_monitor_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             461 samples/bpf/xdp_monitor_user.c 		drop = calc_drop(&rec->total, &prev->total, t);
total             462 samples/bpf/xdp_monitor_user.c 		info = calc_info(&rec->total, &prev->total, t);
total             463 samples/bpf/xdp_monitor_user.c 		err  = calc_err(&rec->total, &prev->total, t);
total             165 samples/bpf/xdp_redirect_cpu_user.c 	struct datarec total;
total             203 samples/bpf/xdp_redirect_cpu_user.c 	rec->total.processed = sum_processed;
total             204 samples/bpf/xdp_redirect_cpu_user.c 	rec->total.dropped   = sum_dropped;
total             205 samples/bpf/xdp_redirect_cpu_user.c 	rec->total.issue     = sum_issue;
total             346 samples/bpf/xdp_redirect_cpu_user.c 		pps  = calc_pps(&rec->total, &prev->total, t);
total             347 samples/bpf/xdp_redirect_cpu_user.c 		drop = calc_drop_pps(&rec->total, &prev->total, t);
total             348 samples/bpf/xdp_redirect_cpu_user.c 		err  = calc_errs_pps(&rec->total, &prev->total, t);
total             376 samples/bpf/xdp_redirect_cpu_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             378 samples/bpf/xdp_redirect_cpu_user.c 			drop = calc_drop_pps(&rec->total, &prev->total, t);
total             379 samples/bpf/xdp_redirect_cpu_user.c 			err  = calc_errs_pps(&rec->total, &prev->total, t);
total             411 samples/bpf/xdp_redirect_cpu_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             412 samples/bpf/xdp_redirect_cpu_user.c 		drop = calc_drop_pps(&rec->total, &prev->total, t);
total             413 samples/bpf/xdp_redirect_cpu_user.c 		err  = calc_errs_pps(&rec->total, &prev->total, t);
total             436 samples/bpf/xdp_redirect_cpu_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             437 samples/bpf/xdp_redirect_cpu_user.c 		drop = calc_drop_pps(&rec->total, &prev->total, t);
total             458 samples/bpf/xdp_redirect_cpu_user.c 		pps = calc_pps(&rec->total, &prev->total, t);
total             459 samples/bpf/xdp_redirect_cpu_user.c 		drop = calc_drop_pps(&rec->total, &prev->total, t);
total             189 samples/bpf/xdp_rxq_info_user.c 	struct datarec total;
total             286 samples/bpf/xdp_rxq_info_user.c 	rec->total.processed = sum_processed;
total             287 samples/bpf/xdp_rxq_info_user.c 	rec->total.issue     = sum_issue;
total             381 samples/bpf/xdp_rxq_info_user.c 		pps  = calc_pps     (&rec->total, &prev->total, t);
total             382 samples/bpf/xdp_rxq_info_user.c 		err  = calc_errs_pps(&rec->total, &prev->total, t);
total             419 samples/bpf/xdp_rxq_info_user.c 		pps  = calc_pps     (&rec->total, &prev->total, t);
total             420 samples/bpf/xdp_rxq_info_user.c 		err  = calc_errs_pps(&rec->total, &prev->total, t);
total              14 scripts/bin2c.c 	int ch, total = 0;
total              23 scripts/bin2c.c 			total++;
total              25 scripts/bin2c.c 			if (total % 16 == 0)
total              33 scripts/bin2c.c 		       argv[1], total);
total             302 scripts/kallsyms.c 	int c, rlen, total=0;
total             310 scripts/kallsyms.c 			total++;
total             314 scripts/kallsyms.c 			total += rlen;
total             322 scripts/kallsyms.c 	return total;
total             178 scripts/kconfig/nconf.gui.c 	int total = 1;
total             185 scripts/kconfig/nconf.gui.c 			total++;
total             186 scripts/kconfig/nconf.gui.c 	return total;
total            1459 security/apparmor/label.c #define update_for_len(total, len, size, str)	\
total            1464 security/apparmor/label.c 	total += ulen;			\
total            1601 security/apparmor/label.c 	int count = 0, total = 0;
total            1610 security/apparmor/label.c 		update_for_len(total, len, size, str);
total            1619 security/apparmor/label.c 				update_for_len(total, len, size, str);
total            1624 security/apparmor/label.c 			update_for_len(total, len, size, str);
total            1641 security/apparmor/label.c 		update_for_len(total, len, size, str);
total            1644 security/apparmor/label.c 	return total;
total            2353 security/tomoyo/common.c 	unsigned int total = 0;
total            2374 security/tomoyo/common.c 		total += used;
total            2383 security/tomoyo/common.c 			 total);
total              38 sound/core/pcm_param_trace.h 		__field(int, total)
total              49 sound/core/pcm_param_trace.h 		__entry->total = substream->runtime->hw_constraints.rules_num;
total              59 sound/core/pcm_param_trace.h 		  __entry->total,
total              78 sound/core/pcm_param_trace.h 		__field(int, total)
total              99 sound/core/pcm_param_trace.h 		__entry->total = substream->runtime->hw_constraints.rules_num;
total             119 sound/core/pcm_param_trace.h 		  __entry->total,
total             138 sound/firewire/isight.c static void isight_dropped_samples(struct isight *isight, unsigned int total)
total             148 sound/firewire/isight.c 	dropped = total - isight->total_samples;
total             170 sound/firewire/isight.c 	unsigned int index, length, count, total;
total             183 sound/firewire/isight.c 			total = be32_to_cpu(payload->sample_total);
total             184 sound/firewire/isight.c 			if (unlikely(total != isight->total_samples)) {
total             186 sound/firewire/isight.c 					isight_dropped_samples(isight, total);
total             188 sound/firewire/isight.c 				isight->total_samples = total;
total             275 sound/isa/gus/gus_mem.c 	unsigned int total, used;
total             286 sound/isa/gus/gus_mem.c 	for (i = total = 0; i < 4; i++) {
total             288 sound/isa/gus/gus_mem.c 		total += alloc->banks_16[i].size;
total             323 sound/isa/gus/gus_mem.c 		    total, used, total - used);
total             903 sound/pci/emu10k1/emufx.c 	unsigned int total = 0;
total             913 sound/pci/emu10k1/emufx.c 		total++;
total             940 sound/pci/emu10k1/emufx.c 	icode->gpr_list_control_total = total;
total             377 tools/include/uapi/drm/drm.h 	int total;		       /**< Buffer size */
total             819 tools/lib/bpf/btf_dump.c static int chip_away_bits(int total, int at_most)
total             821 tools/lib/bpf/btf_dump.c 	return total % at_most ? : at_most;
total             692 tools/perf/builtin-c2c.c 	uint64_t lclmiss, ldcnt, total;
total             706 tools/perf/builtin-c2c.c 	total    = ldcnt +
total             710 tools/perf/builtin-c2c.c 	return total;
total             820 tools/perf/builtin-c2c.c 	struct c2c_stats *total;
total             826 tools/perf/builtin-c2c.c 	total = &hists->stats;
total             831 tools/perf/builtin-c2c.c 		tot = total->rmt_hitm;
total             835 tools/perf/builtin-c2c.c 		tot = total->lcl_hitm;
total             839 tools/perf/builtin-c2c.c 		tot = total->tot_hitm;
total             264 tools/perf/builtin-diff.c 	u64 total = hists__total_period(he->hists);
total             266 tools/perf/builtin-diff.c 	return (period * 100.0) / total;
total            1295 tools/perf/builtin-diff.c 	u64 total = hists__total_period(he->hists);
total            1297 tools/perf/builtin-diff.c 	return 100.0 * he->stat.period / total;
total             168 tools/perf/builtin-kvm.c 			event->total.time = 0;
total             169 tools/perf/builtin-kvm.c 			init_stats(&event->total.stats);
total             221 tools/perf/builtin-kvm.c 	init_stats(&event->total.stats);
total             270 tools/perf/builtin-kvm.c 	struct kvm_event_stats *kvm_stats = &event->total;
total             283 tools/perf/builtin-kvm.c 		kvm_update_event_stats(&event->total, time_diff);
total             460 tools/perf/builtin-kvm.c 		return event->total.field;				\
total             692 tools/perf/builtin-lock.c static void print_bad_events(int bad, int total)
total             700 tools/perf/builtin-lock.c 	pr_info("bad: %d, total: %d\n", bad, total);
total             701 tools/perf/builtin-lock.c 	pr_info("bad rate: %.2f %%\n", (double)bad / (double)total * 100);
total             712 tools/perf/builtin-lock.c 	int bad, total;
total             725 tools/perf/builtin-lock.c 	bad = total = 0;
total             727 tools/perf/builtin-lock.c 		total++;
total             758 tools/perf/builtin-lock.c 	print_bad_events(bad, total);
total             795 tools/perf/ui/browsers/hists.c 					     unsigned short row, u64 total,
total             828 tools/perf/ui/browsers/hists.c 						total);
total             859 tools/perf/ui/browsers/hists.c 					     unsigned short row, u64 total,
total             891 tools/perf/ui/browsers/hists.c 							chain, row, total,
total             914 tools/perf/ui/browsers/hists.c 							chain, row, total,
total             963 tools/perf/ui/browsers/hists.c 					       unsigned short row, u64 total,
total             992 tools/perf/ui/browsers/hists.c 			callchain_node__scnprintf_value(child, buf, sizeof(buf), total);
total            1048 tools/perf/ui/browsers/hists.c 					unsigned short row, u64 total,
total            1057 tools/perf/ui/browsers/hists.c 	u64 percent_total = total;
total            1100 tools/perf/ui/browsers/hists.c 							    new_level, row, total,
total            1119 tools/perf/ui/browsers/hists.c 	u64 total = hists__total_period(entry->hists);
total            1131 tools/perf/ui/browsers/hists.c 						total, parent_total, print, arg,
total            1136 tools/perf/ui/browsers/hists.c 						total, parent_total, print, arg,
total            1141 tools/perf/ui/browsers/hists.c 						total, parent_total, print, arg,
total            2786 tools/perf/ui/browsers/hists.c 	u64 total = hists__total_period(hb->hists);
total            2787 tools/perf/ui/browsers/hists.c 	u64 min_callchain_hits = total * (percent / 100);
total            2803 tools/perf/ui/browsers/hists.c 			total = he->stat.period;
total            2806 tools/perf/ui/browsers/hists.c 				total = he->stat_acc->period;
total            2808 tools/perf/ui/browsers/hists.c 			min_callchain_hits = total * (percent / 100);
total              98 tools/perf/ui/gtk/hists.c 					 GtkTreeIter *parent, int col, u64 total)
total             121 tools/perf/ui/gtk/hists.c 			callchain_node__scnprintf_value(node, buf, sizeof(buf), total);
total             142 tools/perf/ui/gtk/hists.c 			callchain_node__scnprintf_value(node, buf, sizeof(buf), total);
total             161 tools/perf/ui/gtk/hists.c 					   GtkTreeIter *parent, int col, u64 total)
total             211 tools/perf/ui/gtk/hists.c 		callchain_node__scnprintf_value(node, buf, sizeof(buf), total);
total             221 tools/perf/ui/gtk/hists.c 					  GtkTreeIter *parent, int col, u64 total)
total             243 tools/perf/ui/gtk/hists.c 			callchain_node__scnprintf_value(node, buf, sizeof(buf), total);
total             262 tools/perf/ui/gtk/hists.c 			child_total = total;
total             271 tools/perf/ui/gtk/hists.c 				    GtkTreeIter *parent, int col, u64 total)
total             274 tools/perf/ui/gtk/hists.c 		perf_gtk__add_callchain_flat(root, store, parent, col, total);
total             276 tools/perf/ui/gtk/hists.c 		perf_gtk__add_callchain_folded(root, store, parent, col, total);
total             278 tools/perf/ui/gtk/hists.c 		perf_gtk__add_callchain_graph(root, store, parent, col, total);
total             361 tools/perf/ui/gtk/hists.c 		u64 total = hists__total_period(h->hists);
total             390 tools/perf/ui/gtk/hists.c 				total = symbol_conf.cumulate_callchain ?
total             394 tools/perf/ui/gtk/hists.c 						sym_col, total);
total             417 tools/perf/ui/gtk/hists.c 	u64 total = hists__total_period(hists);
total             487 tools/perf/ui/gtk/hists.c 				total = symbol_conf.cumulate_callchain ?
total             491 tools/perf/ui/gtk/hists.c 						col_idx, total);
total              12 tools/perf/ui/gtk/progress.c 	double fraction = p->total ? 1.0 * p->curr / p->total : 0.0;
total              35 tools/perf/ui/gtk/progress.c 	snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total);
total              37 tools/perf/ui/hist.c 		u64 total = hists__total_period(hists);
total              39 tools/perf/ui/hist.c 		if (total)
total              40 tools/perf/ui/hist.c 			percent = 100.0 * get_field(he) / total;
total              55 tools/perf/ui/hist.c 			u64 total = hists__total_period(pair->hists);
total              57 tools/perf/ui/hist.c 			if (!total)
total              79 tools/perf/ui/hist.c 							  100.0 * period / total);
total              30 tools/perf/ui/progress.c void __ui_progress__init(struct ui_progress *p, u64 total,
total              34 tools/perf/ui/progress.c 	p->next = p->step = total / 16 ?: 1;
total              35 tools/perf/ui/progress.c 	p->total = total;
total              11 tools/perf/ui/progress.h 	u64 curr, next, step, total;
total              15 tools/perf/ui/progress.h void __ui_progress__init(struct ui_progress *p, u64 total,
total              18 tools/perf/ui/progress.h #define ui_progress__init(p, total, title) \
total              19 tools/perf/ui/progress.h 	__ui_progress__init(p, total, title, false)
total              21 tools/perf/ui/progress.h #define ui_progress__init_size(p, total, title) \
total              22 tools/perf/ui/progress.h 	__ui_progress__init(p, total, title, true)
total             527 tools/perf/ui/stdio/hist.c 		u64 total = hists__total_period(hists);
total             529 tools/perf/ui/stdio/hist.c 		printed += hist_entry_callchain__fprintf(he, total, 0, fp);
total              12 tools/perf/ui/tui/progress.c 	p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1;
total              22 tools/perf/ui/tui/progress.c 	ret += unit_number__scnprintf(buf_tot, sizeof(buf_tot), p->total);
total              39 tools/perf/ui/tui/progress.c 	if (p->total == 0)
total              56 tools/perf/ui/tui/progress.c 	bar = ((SLtt_Screen_Cols - 2) * p->curr) / p->total;
total             693 tools/perf/util/auxtrace.c 	u64 total = 0;
total             697 tools/perf/util/auxtrace.c 		total += auxtrace_index->nr;
total             699 tools/perf/util/auxtrace.c 	if (writen(fd, &total, sizeof(total)) != sizeof(total))
total              63 tools/perf/util/branch.c 	u64 total = 0;
total              67 tools/perf/util/branch.c 		total += st->counts[i];
total              69 tools/perf/util/branch.c 	if (total == 0)
total              79 tools/perf/util/branch.c 			100.0 * (double)st->cond_fwd / (double)total);
total              85 tools/perf/util/branch.c 			100.0 * (double)st->cond_bwd / (double)total);
total              91 tools/perf/util/branch.c 			100.0 * (double)st->cross_4k / (double)total);
total              97 tools/perf/util/branch.c 			100.0 * (double)st->cross_2m / (double)total);
total             105 tools/perf/util/branch.c 				(double)st->counts[i] / (double)total);
total             117 tools/perf/util/branch.c 	u64 total = 0;
total             120 tools/perf/util/branch.c 		total += st->counts[i];
total             122 tools/perf/util/branch.c 	if (total == 0)
total            1177 tools/perf/util/callchain.c 				      char *bf, size_t bfsize, u64 total)
total            1197 tools/perf/util/callchain.c 		if (total)
total            1198 tools/perf/util/callchain.c 			percent = period * 100.0 / total;
total            1206 tools/perf/util/callchain.c 				 FILE *fp, u64 total)
total            1224 tools/perf/util/callchain.c 		if (total)
total            1225 tools/perf/util/callchain.c 			percent = period * 100.0 / total;
total             278 tools/perf/util/callchain.h 				      char *bf, size_t bfsize, u64 total);
total             280 tools/perf/util/callchain.h 				  FILE *fp, u64 total);
total             864 tools/perf/util/hist.c 	iter->total = sample->branch_stack->nr;
total             886 tools/perf/util/hist.c 	if (iter->curr >= iter->total)
total             938 tools/perf/util/hist.c 	return iter->curr >= iter->total ? 0 : -1;
total            1772 tools/perf/util/hist.c 			u64 total = he->stat.period;
total            1775 tools/perf/util/hist.c 				total = he->stat_acc->period;
total            1777 tools/perf/util/hist.c 			min_callchain_hits = total * (callchain_param.min_percent / 100);
total            1798 tools/perf/util/hist.c 			u64 total = he->stat.period;
total            1801 tools/perf/util/hist.c 				total = he->stat_acc->period;
total            1803 tools/perf/util/hist.c 			min_callchain_hits = total * (callchain_param.min_percent / 100);
total             115 tools/perf/util/hist.h 	int total;
total              33 tools/perf/util/kvm-stat.h 	struct kvm_event_stats total;
total             290 tools/perf/util/probe-finder.c 	int bsize, boffs, total;
total             307 tools/perf/util/probe-finder.c 		total = dwarf_bytesize(vr_die);
total             308 tools/perf/util/probe-finder.c 		if (boffs < 0 || total < 0)
total             311 tools/perf/util/probe-finder.c 				BYTES_TO_BITS(total));
total              38 tools/perf/util/stat-display.c 			    double total, double avg)
total              40 tools/perf/util/stat-display.c 	double pct = rel_stddev_stats(total, avg);
total             429 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             433 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu);
total             435 tools/perf/util/stat-shadow.c 	if (total)
total             436 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             453 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             457 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu);
total             459 tools/perf/util/stat-shadow.c 	if (total)
total             460 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             474 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             478 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_BRANCHES, ctx, cpu);
total             480 tools/perf/util/stat-shadow.c 	if (total)
total             481 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             496 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             500 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_L1_DCACHE, ctx, cpu);
total             502 tools/perf/util/stat-shadow.c 	if (total)
total             503 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             518 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             522 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_L1_ICACHE, ctx, cpu);
total             524 tools/perf/util/stat-shadow.c 	if (total)
total             525 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             538 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             542 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_DTLB_CACHE, ctx, cpu);
total             544 tools/perf/util/stat-shadow.c 	if (total)
total             545 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             558 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             562 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_ITLB_CACHE, ctx, cpu);
total             564 tools/perf/util/stat-shadow.c 	if (total)
total             565 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             578 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0;
total             582 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_LL_CACHE, ctx, cpu);
total             584 tools/perf/util/stat-shadow.c 	if (total)
total             585 tools/perf/util/stat-shadow.c 		ratio = avg / total * 100.0;
total             649 tools/perf/util/stat-shadow.c 	double total;
total             651 tools/perf/util/stat-shadow.c 	total = runtime_stat_avg(st, STAT_TOPDOWN_SLOTS_ISSUED, ctx, cpu) -
total             657 tools/perf/util/stat-shadow.c 		bad_spec = total / total_slots;
total             824 tools/perf/util/stat-shadow.c 	double total, ratio = 0.0, total2;
total             831 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu);
total             833 tools/perf/util/stat-shadow.c 		if (total) {
total             834 tools/perf/util/stat-shadow.c 			ratio = avg / total;
total             841 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_STALLED_CYCLES_FRONT,
total             844 tools/perf/util/stat-shadow.c 		total = max(total, runtime_stat_avg(st,
total             848 tools/perf/util/stat-shadow.c 		if (total && avg) {
total             850 tools/perf/util/stat-shadow.c 			ratio = total / avg;
total             911 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CACHEREFS, ctx, cpu);
total             913 tools/perf/util/stat-shadow.c 		if (total)
total             914 tools/perf/util/stat-shadow.c 			ratio = avg * 100 / total;
total             926 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_NSECS, 0, cpu);
total             928 tools/perf/util/stat-shadow.c 		if (total) {
total             929 tools/perf/util/stat-shadow.c 			ratio = avg / total;
total             935 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu);
total             937 tools/perf/util/stat-shadow.c 		if (total)
total             940 tools/perf/util/stat-shadow.c 					100.0 * (avg / total));
total             945 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CYCLES, ctx, cpu);
total             950 tools/perf/util/stat-shadow.c 		if (total)
total             952 tools/perf/util/stat-shadow.c 				100.0 * ((total2-avg) / total));
total             956 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CYCLES_IN_TX,
total             960 tools/perf/util/stat-shadow.c 			ratio = total / avg;
total             969 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_CYCLES_IN_TX,
total             973 tools/perf/util/stat-shadow.c 			ratio = total / avg;
total            1029 tools/perf/util/stat-shadow.c 		total = runtime_stat_avg(st, STAT_NSECS, 0, cpu);
total            1031 tools/perf/util/stat-shadow.c 		if (total)
total            1032 tools/perf/util/stat-shadow.c 			ratio = 1000.0 * avg / total;
total              93 tools/perf/util/stat.c 	ID(TOPDOWN_TOTAL_SLOTS, topdown-total-slots),
total             202 tools/perf/util/time-utils.c 	u64 total = end - start;
total             209 tools/perf/util/time-utils.c 	ptime->start = start + round(start_pcnt * total);
total             210 tools/perf/util/time-utils.c 	ptime->end = start + round(end_pcnt * total);
total              26 tools/testing/selftests/intel_pstate/aperf.c 	long long int start, finish, total;
total              78 tools/testing/selftests/intel_pstate/aperf.c 	total = finish - start;
total              80 tools/testing/selftests/intel_pstate/aperf.c 	printf("runTime: %4.2f\n", 1.0*total/1000);
total              81 tools/testing/selftests/intel_pstate/aperf.c 	printf("freq: %7.0f\n", tsc / (1.0*aperf / (1.0 * mperf)) / total);
total             123 tools/testing/selftests/net/tcp_mmap.c 	unsigned long total_mmap = 0, total = 0;
total             171 tools/testing/selftests/net/tcp_mmap.c 				total += zc.length;
total             179 tools/testing/selftests/net/tcp_mmap.c 					total += lu;
total             193 tools/testing/selftests/net/tcp_mmap.c 			total += lu;
total             203 tools/testing/selftests/net/tcp_mmap.c 		throughput = total * 8.0 / (double)delta_usec / 1000.0;
total             205 tools/testing/selftests/net/tcp_mmap.c 	if (total > 1024*1024) {
total             207 tools/testing/selftests/net/tcp_mmap.c 		unsigned long mb = total >> 20;
total             212 tools/testing/selftests/net/tcp_mmap.c 				total / (1024.0 * 1024.0),
total             213 tools/testing/selftests/net/tcp_mmap.c 				100.0*total_mmap/total,
total             305 tools/testing/selftests/net/tcp_mmap.c 	unsigned long total = 0;
total             419 tools/testing/selftests/net/tcp_mmap.c 	while (total < FILE_SZ) {
total             420 tools/testing/selftests/net/tcp_mmap.c 		long wr = FILE_SZ - total;
total             428 tools/testing/selftests/net/tcp_mmap.c 		total += wr;
total              92 tools/testing/selftests/sparc64/drivers/adi-test.c 	unsigned long	total;
total              98 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "read", .total = 0, .count = 0, .bytes = 0};
total             100 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "pread", .total = 0, .count = 0, .bytes = 0};
total             102 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "write", .total = 0, .count = 0, .bytes = 0};
total             104 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "pwrite", .total = 0, .count = 0, .bytes = 0};
total             106 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "seek", .total = 0, .count = 0, .bytes = 0};
total             111 tools/testing/selftests/sparc64/drivers/adi-test.c 	ustats->total += measurement;
total             120 tools/testing/selftests/sparc64/drivers/adi-test.c 		       (float)ustats->total / (float)ustats->count,
total              99 tools/usb/usbip/src/usbip_network.c 	ssize_t total = 0;
total             115 tools/usb/usbip/src/usbip_network.c 		total	+= nbytes;
total             119 tools/usb/usbip/src/usbip_network.c 	return total;
total             450 tools/vm/slabinfo.c 	unsigned long total;
total             501 tools/vm/slabinfo.c 	total = s->deactivate_full + s->deactivate_empty +
total             504 tools/vm/slabinfo.c 	if (total) {
total             508 tools/vm/slabinfo.c 			s->deactivate_full, (s->deactivate_full * 100) / total);
total             510 tools/vm/slabinfo.c 			s->deactivate_empty, (s->deactivate_empty * 100) / total);
total             512 tools/vm/slabinfo.c 			s->deactivate_to_head, (s->deactivate_to_head * 100) / total);
total             514 tools/vm/slabinfo.c 			s->deactivate_to_tail, (s->deactivate_to_tail * 100) / total);
total             516 tools/vm/slabinfo.c 			s->deactivate_bypass, (s->deactivate_bypass * 100) / total);
total             518 tools/vm/slabinfo.c 			s->alloc_refill, (s->alloc_refill * 100) / total);
total             520 tools/vm/slabinfo.c 			s->alloc_node_mismatch, (s->alloc_node_mismatch * 100) / total);