Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 115) sorted by relevance

12345

/linux-4.19.296/fs/qnx4/
Dbitmap.c24 int total = 0; in qnx4_count_free_blocks() local
30 while (total < size) { in qnx4_count_free_blocks()
31 int bytes = min(size - total, QNX4_BLOCK_SIZE); in qnx4_count_free_blocks()
40 total += bytes; in qnx4_count_free_blocks()
/linux-4.19.296/lib/zstd/
Dfse_compress.c168 unsigned total = 0; in FSE_buildCTable_wksp() local
177 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp()
178 total++; in FSE_buildCTable_wksp()
184 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp()
185 total += normalizedCounter[s]; in FSE_buildCTable_wksp()
519 static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 m… in FSE_normalizeM2() argument
527 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2()
528 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2()
538 total -= count[s]; in FSE_normalizeM2()
544 total -= count[s]; in FSE_normalizeM2()
[all …]
/linux-4.19.296/lib/842/
D842_decompress.c174 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local
184 if (total > fsize) { in __do_index()
186 u64 section = round_down(total, fsize); in __do_index()
188 u64 pos = total - section; in __do_index()
199 if (offset + size > total) { in __do_index()
201 (unsigned long)offset, (unsigned long)total); in __do_index()
211 (unsigned long)total, in __do_index()
291 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
301 total = p.olen; in sw842_decompress()
394 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress()
[all …]
/linux-4.19.296/fs/adfs/
Dmap.c140 unsigned long total = 0; in scan_free_map() local
179 total += mapptr - start; in scan_free_map()
185 return total; in scan_free_map()
234 unsigned int total = 0; in adfs_map_free() local
241 total += scan_free_map(asb, dm++); in adfs_map_free()
244 return signed_asl(total, asb->s_map2blk); in adfs_map_free()
/linux-4.19.296/lib/
Dshow_mem.c15 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local
30 total += zone->present_pages; in show_mem()
39 printk("%lu pages RAM\n", total); in show_mem()
Dflex_array.c88 struct flex_array *flex_array_alloc(int element_size, unsigned int total, in flex_array_alloc() argument
103 if (total > max_size) in flex_array_alloc()
109 ret->total_nr_elements = total; in flex_array_alloc()
/linux-4.19.296/drivers/edac/
Dppc4xx_edac.c321 int n, total = 0; in ppc4xx_edac_generate_bank_message() local
331 total += n; in ppc4xx_edac_generate_bank_message()
343 total += n; in ppc4xx_edac_generate_bank_message()
354 total += n; in ppc4xx_edac_generate_bank_message()
357 return total; in ppc4xx_edac_generate_bank_message()
441 int n, total = 0; in ppc4xx_edac_generate_lane_message() local
453 total += n; in ppc4xx_edac_generate_lane_message()
466 total += n; in ppc4xx_edac_generate_lane_message()
477 total += n; in ppc4xx_edac_generate_lane_message()
480 return total; in ppc4xx_edac_generate_lane_message()
[all …]
/linux-4.19.296/fs/ceph/
Dquota.c326 u64 total = 0, used, free; in ceph_quota_update_statfs() local
342 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
347 free = total > used ? total - used : 0; in ceph_quota_update_statfs()
350 if (total) { in ceph_quota_update_statfs()
351 buf->f_blocks = total; in ceph_quota_update_statfs()
Ddebugfs.c130 int total, avail, used, reserved, min; in caps_show() local
132 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
138 total, avail, used, reserved, min); in caps_show()
/linux-4.19.296/fs/orangefs/
Dxattr.c309 ssize_t total = 0; in orangefs_listxattr() local
345 total = new_op->downcall.resp.listxattr.returned_count * in orangefs_listxattr()
373 if (total + new_op->downcall.resp.listxattr.lengths[i] > size) in orangefs_listxattr()
388 memcpy(buffer + total, in orangefs_listxattr()
391 total += new_op->downcall.resp.listxattr.lengths[i]; in orangefs_listxattr()
413 ret ? (int)ret : (int)total, in orangefs_listxattr()
418 ret = total; in orangefs_listxattr()
Ddevorangefs-req.c371 int total = ret = iov_iter_count(iter); in orangefs_devreq_write_iter() local
377 total, in orangefs_devreq_write_iter()
380 if (total < MAX_DEV_REQ_DOWNSIZE) { in orangefs_devreq_write_iter()
383 total, in orangefs_devreq_write_iter()
436 if ((head_size + downcall_size + op->downcall.trailer_size) != total) { in orangefs_devreq_write_iter()
444 total); in orangefs_devreq_write_iter()
/linux-4.19.296/drivers/char/
Ddtlk.c515 int total, i; in dtlk_interrogate() local
519 for (total = 0, i = 0; i < 50; i++) { in dtlk_interrogate()
520 buf[total] = dtlk_read_tts(); in dtlk_interrogate()
521 if (total > 2 && buf[total] == 0x7f) in dtlk_interrogate()
523 if (total < sizeof(struct dtlk_settings)) in dtlk_interrogate()
524 total++; in dtlk_interrogate()
/linux-4.19.296/fs/ocfs2/
Dfilecheck.c312 ssize_t ret = 0, total = 0, remain = PAGE_SIZE; in ocfs2_filecheck_attr_show() local
323 total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max); in ocfs2_filecheck_attr_show()
329 total += ret; in ocfs2_filecheck_attr_show()
336 ret = snprintf(buf + total, remain, "%lu\t\t%u\t%s\n", in ocfs2_filecheck_attr_show()
341 total = -E2BIG; in ocfs2_filecheck_attr_show()
344 total += ret; in ocfs2_filecheck_attr_show()
350 return total; in ocfs2_filecheck_attr_show()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2.c246 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_createname() argument
272 args->total = total; in xfs_dir_createname()
420 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_removename() argument
440 args->total = total; in xfs_dir_removename()
478 xfs_extlen_t total) /* bmap's total block count */ in xfs_dir_replace() argument
501 args->total = total; in xfs_dir_replace()
/linux-4.19.296/fs/squashfs/
Dxz_wrapper.c137 int avail, total = 0, k = 0; in squashfs_xz_uncompress() local
161 total += PAGE_SIZE; in squashfs_xz_uncompress()
176 return total + stream->buf.out_pos; in squashfs_xz_uncompress()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_peer_bus.c62 scif_info.total++; in scif_peer_initialize_device()
106 scif_info.total--; in scif_peer_add_device()
170 scif_info.total--; in scif_peer_unregister_device()
/linux-4.19.296/crypto/
Dahash.c79 if (walk->entrylen > walk->total) in hash_walk_new_entry()
80 walk->entrylen = walk->total; in hash_walk_new_entry()
81 walk->total -= walk->entrylen; in hash_walk_new_entry()
125 if (!walk->total) in crypto_hash_walk_done()
137 walk->total = req->nbytes; in crypto_hash_walk_first()
139 if (!walk->total) { in crypto_hash_walk_first()
155 walk->total = req->nbytes; in crypto_ahash_walk_first()
157 if (!walk->total) { in crypto_ahash_walk_first()
Dskcipher.c119 nbytes = walk->total - n; in skcipher_walk_done()
152 walk->total = nbytes; in skcipher_walk_done()
357 n = walk->total; in skcipher_walk_next()
363 if (unlikely(walk->total < walk->blocksize)) in skcipher_walk_next()
458 walk->total = req->cryptlen; in skcipher_walk_skcipher()
463 if (unlikely(!walk->total)) in skcipher_walk_skcipher()
523 if (unlikely(!walk->total)) in skcipher_walk_aead_common()
534 scatterwalk_done(&walk->in, 0, walk->total); in skcipher_walk_aead_common()
535 scatterwalk_done(&walk->out, 0, walk->total); in skcipher_walk_aead_common()
558 walk->total = req->cryptlen; in skcipher_walk_aead()
[all …]
Dablkcipher.c111 walk->total -= n; in ablkcipher_walk_done()
112 more = (walk->total != 0); in ablkcipher_walk_done()
227 n = walk->total; in ablkcipher_walk_next()
274 walk->nbytes = walk->total; in ablkcipher_walk_first()
275 if (unlikely(!walk->total)) in ablkcipher_walk_first()
/linux-4.19.296/fs/dlm/
Dmember.c389 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local
396 total += memb->weight; in make_member_array()
401 if (!total) { in make_member_array()
402 total = ls->ls_num_nodes; in make_member_array()
406 ls->ls_total_weight = total; in make_member_array()
407 array = kmalloc_array(total, sizeof(*array), GFP_NOFS); in make_member_array()
420 DLM_ASSERT(x < total, printk("total %d x %d\n", total, x);); in make_member_array()
/linux-4.19.296/drivers/misc/sgi-gru/
Dgruprocfs.c130 unsigned long total, count, max; in mcs_statistics_show() local
138 total = atomic_long_read(&mcs_op_statistics[op].total); in mcs_statistics_show()
141 count ? total / count : 0, max); in mcs_statistics_show()
/linux-4.19.296/fs/
Dsignalfd.c207 ssize_t ret, total = 0; in signalfd_read() local
223 total += ret; in signalfd_read()
227 return total ? total: ret; in signalfd_read()
/linux-4.19.296/drivers/lightnvm/
Dpblk-sysfs.c383 unsigned long long total) in bucket_percentage() argument
387 p = div_u64(p, total); in bucket_percentage()
395 unsigned long long total; in pblk_sysfs_get_padding_dist() local
400 total = atomic64_read(&pblk->nr_flush) - pblk->nr_flush_rst; in pblk_sysfs_get_padding_dist()
401 if (!total) { in pblk_sysfs_get_padding_dist()
414 bucket_percentage(total - total_buckets, total)); in pblk_sysfs_get_padding_dist()
420 total); in pblk_sysfs_get_padding_dist()
/linux-4.19.296/drivers/pci/
Diov.c401 u16 ctrl, total; in sriov_init() local
424 pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &total); in sriov_init()
425 if (!total) in sriov_init()
460 res->end = res->start + resource_size(res) * total - 1; in sriov_init()
462 i, res, i, total); in sriov_init()
470 iov->total_VFs = total; in sriov_init()
471 iov->driver_max_VFs = total; in sriov_init()
/linux-4.19.296/include/crypto/
Dalgapi.h108 unsigned int total; member
130 unsigned int total; member
333 walk->total = nbytes; in blkcipher_walk_init()
343 walk->total = nbytes; in ablkcipher_walk_init()

12345