Searched refs:wasted (Results 1 - 52 of 52) sorted by relevance

/linux-4.4.14/fs/jffs2/
H A Ddebug.c35 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", __jffs2_dbg_acct_sanity_check_nolock()
44 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + erasing %#08x + bad %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", __jffs2_dbg_acct_sanity_check_nolock()
163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, __jffs2_dbg_superblock_counts() local
173 wasted += c->gcblock->wasted_size; __jffs2_dbg_superblock_counts()
181 wasted += c->nextblock->wasted_size; __jffs2_dbg_superblock_counts()
189 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
197 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
205 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
213 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
221 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
229 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
237 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
245 wasted += jeb->wasted_size; __jffs2_dbg_superblock_counts()
278 check(wasted); __jffs2_dbg_superblock_counts()
359 JFFS2_ERROR("Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n", __jffs2_dbg_acct_paranoia_check_nolock()
484 printk(JFFS2_DBG "nextblock: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
492 printk(JFFS2_DBG "gcblock: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
510 printk(JFFS2_DBG "clean_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
516 printk (JFFS2_DBG "Contains %d blocks with total wasted size %u, average wasted size: %u\n", __jffs2_dbg_dump_block_lists_nolock()
533 printk(JFFS2_DBG "very_dirty_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
556 printk(JFFS2_DBG "dirty_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
575 printk(JFFS2_DBG "erasable_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
591 printk(JFFS2_DBG "erasing_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
606 printk(JFFS2_DBG "erase_checking_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
622 printk(JFFS2_DBG "erase_pending_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
638 printk(JFFS2_DBG "erasable_pending_wbuf_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
654 printk(JFFS2_DBG "free_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
670 printk(JFFS2_DBG "bad_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
686 printk(JFFS2_DBG "bad_used_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n", __jffs2_dbg_dump_block_lists_nolock()
H A Dnodemgmt.c440 /* FIXME: that made it count as dirty. Convert to wasted */ jffs2_do_reserve_space()
644 // Take care, that wasted size is taken into concern jffs2_mark_node_obsolete()
651 /* Convert wasted space to dirty, if not a bad block */ jffs2_mark_node_obsolete()
658 jffs2_dbg(1, "Converting %d bytes of wasted space to dirty in block at %08x\n", jffs2_mark_node_obsolete()
H A Dscan.c77 /* Turned wasted size into dirty, since we apparently file_dirty()
242 /* Nextblock dirty is always seen as wasted, because we cannot recycle it now */ jffs2_scan_medium()
944 jffs2_dbg(1, "Block at 0x%08x: free 0x%08x, dirty 0x%08x, unchecked 0x%08x, used 0x%08x, wasted 0x%08x\n", jffs2_scan_eraseblock()
948 /* mark_node_obsolete can add to wasted !! */ jffs2_scan_eraseblock()
H A Dwbuf.c170 /* convert to wasted */ jffs2_block_refile()
678 /* FIXME: that made it count as dirty. Convert to wasted */ __jffs2_flush_wbuf()
H A Dnodelist.c668 pr_crit("Dirty space 0x%x larger then free_size 0x%x (wasted 0x%x)\n", jffs2_scan_dirty_space()
H A Dgc.c107 /* Have we accidentally picked a clean block with wasted space ? */ jffs2_find_gc_block()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_sa.c194 unsigned soffset, eoffset, wasted; radeon_sa_bo_try_alloc() local
198 wasted = (align - (soffset % align)) % align; radeon_sa_bo_try_alloc()
200 if ((eoffset - soffset) >= (size + wasted)) { radeon_sa_bo_try_alloc()
201 soffset += wasted; radeon_sa_bo_try_alloc()
227 unsigned soffset, eoffset, wasted; radeon_sa_event() local
238 wasted = (align - (soffset % align)) % align; radeon_sa_event()
240 if ((eoffset - soffset) >= (size + wasted)) { radeon_sa_event()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sa.c195 unsigned soffset, eoffset, wasted; amdgpu_sa_bo_try_alloc() local
199 wasted = (align - (soffset % align)) % align; amdgpu_sa_bo_try_alloc()
201 if ((eoffset - soffset) >= (size + wasted)) { amdgpu_sa_bo_try_alloc()
202 soffset += wasted; amdgpu_sa_bo_try_alloc()
228 unsigned soffset, eoffset, wasted; amdgpu_sa_event() local
239 wasted = (align - (soffset % align)) % align; amdgpu_sa_event()
241 if ((eoffset - soffset) >= (size + wasted)) { amdgpu_sa_event()
/linux-4.4.14/drivers/hwmon/
H A Dlm75.h25 which contains this code, we don't worry about the wasted space.
/linux-4.4.14/arch/arm/mach-hisi/
H A Dhisilicon.c28 * spaces wasted since ioremap() may be called multi times for the same
/linux-4.4.14/mm/
H A Dpercpu-km.c26 * kernel memory block using alloc_pages(), memory will be wasted if
H A Dpage_ext.c43 * none of memory is wasted.
H A Dpercpu.c1839 int allocs = 0, wasted = 0; local
1847 wasted += this_allocs * upa - group_cnt[group];
1855 if (wasted > num_possible_cpus() / 3)
H A Dslub.c3003 * would be wasted.
/linux-4.4.14/tools/vm/
H A Dslabinfo.c822 unsigned long long wasted; totals() local
834 wasted = size - used; totals()
855 if (wasted < min_waste) totals()
856 min_waste = wasted; totals()
880 if (wasted > max_waste) totals()
881 max_waste = wasted; totals()
900 total_waste += wasted; totals()
/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc_dt.c142 * wasted bootmem) and hand off chunks of it to callers. prom_early_alloc()
/linux-4.4.14/security/selinux/
H A Dnetnode.c63 * address families at the same time so one table will usually end up wasted,
H A Dnetport.c62 * address families at the same time so one table will usually end up wasted,
/linux-4.4.14/arch/sh/kernel/cpu/sh5/
H A Dswitchto.S36 some wasted effort since we won't need to look at the values.
/linux-4.4.14/arch/microblaze/mm/
H A Dconsistent.c124 * free wasted pages. We skip the first page since we know consistent_alloc()
/linux-4.4.14/drivers/sbus/char/
H A Djsflash.c66 #define JSF_MAX 3 /* 3 minors wasted total so far. */
/linux-4.4.14/arch/powerpc/mm/
H A Dinit_64.c70 #warning Limited user VSID range means pagetable space is wasted
/linux-4.4.14/drivers/net/usb/
H A Drndis_host.c573 * packets; Linux minimizes wasted bandwidth through tx queues. rndis_tx_fixup()
/linux-4.4.14/arch/powerpc/net/
H A Dbpf_jit_comp.c614 * otherwise be wasted by the (small) current code shrinkage. bpf_jit_compile()
/linux-4.4.14/fs/ubifs/
H A Dio.c29 * would have been wasted for padding to the nearest minimal I/O unit boundary.
311 * media is being scanned. If the amount of wasted space is not enough to fit a
H A Dlpt_commit.c1780 * o %2 - switched to a different LEB and wasted @len bytes;
1782 * o %4 - wasted @len bytes;
H A Dbudget.c27 * Factors such as compression, wasted space at the ends of LEBs, space in other
H A Dtnc_commit.c153 dbg_gc("LEB %d:%d to %d len %d nodes written %d wasted bytes %d", fill_gap()
H A Dubifs.h680 * synchronized in order to notify how much space was wasted due to
1122 * @leb_overhead: how many bytes are wasted in an LEB when it is filled with
H A Drecovery.c1362 * consequence of which is wasted space.
H A Dsuper.c609 * Calculate how many bytes would be wasted at the end of LEB if it was init_constants_early()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_init_chip.c725 * rest would be wasted. ipath_init_chip()
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-yuv.c557 /* Okay, we've wasted time working out the correct value, ivtv_yuv_handle_vertical()
/linux-4.4.14/drivers/video/fbdev/
H A Dskeletonfb.c742 * large enough that memory is wasted. A safe size is xxxfb_probe()
/linux-4.4.14/drivers/net/ethernet/3com/
H A D3c515.c143 chosen to trade-off the memory wasted by passing the full-sized skbuff to
H A D3c59x.c184 the copying breakpoint: it is chosen to trade-off the memory wasted by
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-img-scb.c43 * no wasted time between I2C symbols or I2C messages.
/linux-4.4.14/drivers/net/ethernet/packetengines/
H A Dyellowfin.c166 The RX_COPYBREAK value is chosen to trade-off the memory wasted by
H A Dhamachi.c243 The RX_COPYBREAK value is chosen to trade-off the memory wasted by
/linux-4.4.14/tools/perf/
H A Dbuiltin-kmem.c1123 printf("Total bytes wasted on internal fragmentation: %'lu\n", print_slab_summary()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dpio.c387 /* warn about wasted blocks */ init_sc_pools_and_sizes()
/linux-4.4.14/drivers/misc/sgi-xp/
H A Dxpc_sn2.c1457 * not result in wasted space in the SAL xp_addr_region table because xpc_make_first_contact_sn2()
/linux-4.4.14/drivers/net/
H A Dvirtio_net.c956 * early means 16 slots are typically wasted. start_xmit()
/linux-4.4.14/drivers/net/ethernet/dlink/
H A Dsundance.c151 The RX_COPYBREAK value is chosen to trade-off the memory wasted by
/linux-4.4.14/fs/logfs/
H A Dreadwrite.c2236 * example of wasted performance and stack space.
/linux-4.4.14/drivers/net/ethernet/via/
H A Dvia-rhine.c179 The RX_COPYBREAK value is chosen to trade-off the memory wasted by
/linux-4.4.14/drivers/nvme/host/
H A Dpci.c171 * as it only leads to a small amount of wasted memory for the lifetime of
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h293 /* how many cids were wasted - need this value for cid allocation */
/linux-4.4.14/drivers/net/ethernet/natsemi/
H A Dnatsemi.c189 The RX_COPYBREAK value is chosen to trade-off the memory wasted by
/linux-4.4.14/arch/tile/include/hv/
H A Dhypervisor.h1020 * should know that it's being wasted.
/linux-4.4.14/arch/parisc/kernel/
H A Dperf_images.h1581 * are useful and they are wasted bus traffic.
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dniu.c8710 pr_warn("niu%d: Driver bug, wasted channels, RX[%d] TX[%d]\n", niu_divide_channels()

Completed in 1872 milliseconds