Searched refs:trim (Results 1 - 140 of 140) sorted by relevance

/linux-4.4.14/arch/alpha/mm/
H A Dextable.c58 /*trim the beginning*/ trim_init_extable()
64 /*trim the end*/ trim_init_extable()
/linux-4.4.14/fs/jfs/
H A Djfs_discard.c91 * start: First Byte to trim jfs_ioc_trim()
92 * len: number of Bytes to trim from start jfs_ioc_trim()
110 * we trim all ag's within the range jfs_ioc_trim()
H A Djfs_incore.h201 uint minblks_trim; /* minimum blocks, for online trim */
H A Djfs_dmap.c1597 * 2) trim all these saved block/length values
1613 * agno - ag to trim
1633 /* max blkno / nblocks pairs to trim */ dbDiscardAG()
1646 jfs_error(bmp->db_ipbmap->i_sb, "no memory for trim array\n"); dbDiscardAG()
1662 /* the whole ag is free, trim now */ dbDiscardAG()
1679 /* check, if our trim array is full */ dbDiscardAG()
/linux-4.4.14/drivers/net/phy/
H A Dbcm7xxx.c67 /* Disable loading of TVCO buffer to bandgap, set bandgap trim bcm7xxx_28nm_b0_afe_config_init()
72 /* Adjust bias current trim by -3 */ bcm7xxx_28nm_b0_afe_config_init()
126 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */ bcm7xxx_28nm_d0_afe_config_init()
129 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */ bcm7xxx_28nm_d0_afe_config_init()
154 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */ bcm7xxx_28nm_e0_plus_afe_config_init()
157 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */ bcm7xxx_28nm_e0_plus_afe_config_init()
H A Dbcm-cygnus.c58 /* Adjust bias current trim to overcome digital offSet */ bcm_cygnus_afe_config()
/linux-4.4.14/lib/
H A Dextable.c50 /*trim the beginning*/ trim_init_extable()
55 /*trim the end*/ trim_init_extable()
H A Ddynamic_debug.c114 /* trim any trailing newlines */ vpr_info_dq()
/linux-4.4.14/arch/ia64/mm/
H A Dextable.c68 /*trim the beginning*/ trim_init_extable()
74 /*trim the end*/ trim_init_extable()
/linux-4.4.14/drivers/rtc/
H A Drtc-x1205.c298 static int x1205_get_dtrim(struct i2c_client *client, int *trim) x1205_get_dtrim() argument
325 *trim = 0; x1205_get_dtrim()
328 *trim += 20; x1205_get_dtrim()
331 *trim += 10; x1205_get_dtrim()
334 *trim = -*trim; x1205_get_dtrim()
339 static int x1205_get_atrim(struct i2c_client *client, int *trim) x1205_get_atrim() argument
374 *trim = (atr * 250) + 11000; x1205_get_atrim()
376 dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim); x1205_get_atrim()
H A Drtc-rs5c372.c252 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) rs5c372_get_trim() argument
260 if (trim) { rs5c372_get_trim()
261 dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp); rs5c372_get_trim()
274 *trim = tmp; rs5c372_get_trim()
419 int err, osc, trim; rs5c372_rtc_proc() local
421 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); rs5c372_rtc_proc()
425 seq_printf(seq, "trim\t\t: %d\n", trim); rs5c372_rtc_proc()
449 int err, trim; rs5c372_sysfs_show_trim() local
451 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); rs5c372_sysfs_show_trim()
455 return sprintf(buf, "%d\n", trim); rs5c372_sysfs_show_trim()
457 static DEVICE_ATTR(trim, S_IRUGO, rs5c372_sysfs_show_trim, NULL);
H A Drtc-sa1100.c212 seq_printf(seq, "trim/divider\t\t: 0x%08x\n", readl_relaxed(info->rttr)); sa1100_rtc_proc()
255 "initializing default clock divider/trim value\n"); sa1100_rtc_init()
H A Drtc-pxa.c301 seq_printf(seq, "trim/divider\t: 0x%08x\n", rtc_readl(pxa_rtc, RTTR)); pxa_rtc_proc()
/linux-4.4.14/scripts/
H A Dkernel-doc-xml-ref83 sub trim($_) subroutine
106 $key = trim($key);
176 # trim
H A Dcheckpatch.pl833 $name = trim($name);
848 $name = trim($name);
850 $address = trim($address);
866 $name = trim($name);
868 $address = trim($address);
1865 sub trim { subroutine
3284 my $comment = trim($1);
3358 my $tmp = trim($1);
3589 fix_insert_line($fixlinenr, "\+\t" . trim($line2));
3841 $good = $fix_elements[$n] . trim($fix_elements[$n + 1]) . " ";
3859 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
3888 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
3890 $good = $fix_elements[$n] . trim($fix_elements[$n + 1]);
3935 $good = $fix_elements[$n] . trim($fix_elements[$n + 1]) . " ";
3943 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
3950 $good = $fix_elements[$n] . trim($fix_elements[$n + 1]);
3969 $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]) . " ";
3976 $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]);
3983 $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]) . " ";
3997 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
4030 $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]) . " ";
4421 $trailing = trim($trailing);
4836 $fixedline .= substr($extracted_string, 1) . trim($comma_close);
5000 $fixed[$fixlinenr] =~ s/(\bstatic\s+(?:const\s+)?)(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*([=;])\s*/"$1" . trim(string_find_replace($2, "\\s*$attr\\s*", " ")) . " " . trim(string_find_replace($3, "\\s*$attr\\s*", "")) . " $attr" . ("$4" eq ";" ? ";" : " = ")/e;
5202 $fixed[$fixlinenr] =~ s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.*)\)\s*\)\s*\)/"__printf(" . trim($1) . ")"/ex;
5213 $fixed[$fixlinenr] =~ s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*scanf\s*,\s*(.*)\)\s*\)\s*\)/"__scanf(" . trim($1) . ")"/ex;
5255 $fixed[$fixlinenr] =~ s/\bsizeof\s+((?:\*\s*|)$Lval|$Type(?:\s+$Lval|))/"sizeof(" . trim($1) . ")"/ex;
5499 $fixed[$fixlinenr] =~ s/\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . ', ' . trim($r2)/e;
H A Dget_maintainer.pl354 s/^\s+|\s+$//g; #trim
H A Danalyze_suspend.py360 # first trim out any standby or freeze clock time
/linux-4.4.14/arch/x86/mm/
H A Dextable.c158 /*trim the beginning*/ trim_init_extable()
164 /*trim the end*/ trim_init_extable()
H A Dnuma.c241 /* first, trim all entries */ numa_cleanup_meminfo()
/linux-4.4.14/include/uapi/linux/
H A Dnbd.h45 #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */
/linux-4.4.14/sound/soc/codecs/
H A Dtwl6040.h41 int twl6040_get_trim_value(struct snd_soc_codec *codec, enum twl6040_trim trim);
H A Dtwl6040.c564 int twl6040_get_trim_value(struct snd_soc_codec *codec, enum twl6040_trim trim) twl6040_get_trim_value() argument
566 if (unlikely(trim >= TWL6040_TRIM_INVAL)) twl6040_get_trim_value()
569 return twl6040_read(codec, TWL6040_REG_TRIM1 + trim); twl6040_get_trim_value()
H A Dtas5086.c86 #define TAS5086_OSC_TRIM 0x1b /* Oscillator trim register */
522 /* enable factory trim */ tas5086_init()
/linux-4.4.14/drivers/scsi/libfc/
H A Dfc_frame.c85 /* trim is OK, we just allocated it so there are no fragments */ fc_frame_alloc_fill()
/linux-4.4.14/fs/xfs/
H A Dxfs_discard.c108 * supposed to discard skip it. Do not bother to trim xfs_trim_extents()
146 * trim a range of the filesystem.
152 * comparisons for determining the correct offset and regions to trim.
H A Dxfs_rtalloc.c225 * bitmap block bbno. If we don't get maxlen then use prod to trim
310 xfs_extlen_t p; /* amount to trim length by */ xfs_rtallocate_extent_block()
338 * bno. If we don't get maxlen then use prod to trim the length, if given.
418 * to bno as possible. If we don't get maxlen then use prod to trim
613 * specified. If we don't get maxlen then use prod to trim
H A Dxfs_icache.c614 * Background scanning to trim post-EOF preallocated space. This is queued
H A Dxfs_aops.c1485 /* trim mapping down to size requested */ __xfs_get_blocks()
H A Dxfs_log_recover.c2206 * the log. Hence we need to trim nbits back to the length of xlog_recover_do_reg_buffer()
/linux-4.4.14/include/xen/interface/io/
H A Dblkif.h63 * The "feature-discard" node contains a boolean indicating whether trim
80 * underlying block device supports trim (ATA) or unmap (SCSI) operations,
82 * More information about trim/unmap operations at:
/linux-4.4.14/drivers/staging/iio/light/
H A Dtsl2x7x.h43 * @als_gain_trim: default gain trim to account for
H A Dtsl2583.c150 /* default gain trim to account for aperture effects */ taos_defaults()
776 &dev_attr_illuminance0_calibbias.attr, /* trim */
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_string.h52 /* trim leading and trailing space characters */
/linux-4.4.14/net/sunrpc/
H A Dxdr.c1073 * that it's possible that we'll trim less than that amount if the xdr_buf is
1080 unsigned int trim = len; xdr_buf_trim() local
1083 cur = min_t(size_t, buf->tail[0].iov_len, trim); xdr_buf_trim()
1085 trim -= cur; xdr_buf_trim()
1086 if (!trim) xdr_buf_trim()
1091 cur = min_t(unsigned int, buf->page_len, trim); xdr_buf_trim()
1093 trim -= cur; xdr_buf_trim()
1094 if (!trim) xdr_buf_trim()
1099 cur = min_t(size_t, buf->head[0].iov_len, trim); xdr_buf_trim()
1101 trim -= cur; xdr_buf_trim()
1104 buf->len -= (len - trim); xdr_buf_trim()
/linux-4.4.14/drivers/block/mtip32xx/
H A Dmtip32xx.h204 u16 range; /* # of 512b blocks to trim */
208 /* Array of regions to trim */
487 bool trim_supp; /* flag indicating trim support */
H A Dmtip32xx.c1402 /* Demux ID.DRAT & ID.RZAT to determine trim support */ mtip_get_identify()
1603 * @len # of 512b sectors to trim
1607 * -EINVAL Invalid parameters passed in, trim not supported
1608 * -EIO Error submitting trim request to hw
1631 /* Allocate a DMA buffer for the trim structure */ mtip_send_trim()
4040 /* Signal trim support */ mtip_block_initialize()
/linux-4.4.14/include/linux/mmc/
H A Dcard.h75 unsigned int sec_trim_mult; /* Secure trim multiplier */
279 #define MMC_QUIRK_SEC_ERASE_TRIM_BROKEN (1<<10) /* Skip secure for erase/trim */
281 #define MMC_QUIRK_TRIM_BROKEN (1<<12) /* Skip trim */
H A Dhost.h250 #define MMC_CAP_ERASE (1 << 10) /* Allow erase/trim commands */
/linux-4.4.14/arch/tile/kernel/
H A Dmodule.c86 * FIXME: Add module_arch_freeing_init to trim exception module_memfree()
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c862 * mtrr_trim_uncached_memory - trim RAM not covered by MTRRs
868 * all of the memory the kernel is intending to use. If not, it'll trim any
881 * Make sure we only trim uncachable memory on machines that mtrr_trim_uncached_memory()
912 /* kvm/qemu doesn't have mtrr set right, don't trim them all: */ mtrr_trim_uncached_memory()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
H A Dwii.c82 /* trim unaligned tail */ wii_memory_fixups()
/linux-4.4.14/drivers/lguest/
H A Dsegments.c5 * Guest<->Host Switcher, and then we had to trim Guest segments, and restore
6 * for userspace per-thread segments, but trim again for on userspace->kernel
H A Dpage_tables.c25 * to swap out. If we had this, and a shrinker callback to trim PTE pages, we
/linux-4.4.14/drivers/iio/adc/
H A Dtwl6030-gpadc.c567 * The difference(d1, d2) between ideal and measured codes stored in trim
612 * bit 0 - sign, bit 7 - reserved, 6..1 - trim value twl6030_gpadc_get_trim_offset()
613 * though, the documentation states that trim value twl6030_gpadc_get_trim_offset()
/linux-4.4.14/fs/afs/
H A Dproc.c242 /* trim to first NL */ afs_proc_cells_write()
328 /* trim to first NL */ afs_proc_rootcell_write()
/linux-4.4.14/drivers/hwmon/
H A Dda9052-hwmon.c174 * T_OFFSET is a trim value used to improve accuracy of the result da9052_read_tjunc()
H A Dda9055-hwmon.c196 * T_OFFSET is a trim value used to improve accuracy of the result da9055_read_tjunc()
/linux-4.4.14/drivers/nvdimm/
H A Dbtt.c136 int *trim, int *error) btt_map_read()
156 /* Reuse the {z,e}_flag variables for *trim and *error */ btt_map_read()
180 if (trim) btt_map_read()
181 *trim = z_flag; btt_map_read()
135 btt_map_read(struct arena_info *arena, u32 lba, u32 *mapping, int *trim, int *error) btt_map_read() argument
/linux-4.4.14/fs/ramfs/
H A Dfile-nommu.c98 /* trim off any pages we don't actually require */ ramfs_nommu_expand_for_mapping()
/linux-4.4.14/drivers/staging/wlan-ng/
H A Dp80211conv.c137 /* trim off ethernet header */ skb_ether_to_p80211()
146 /* trim off ethernet header */ skb_ether_to_p80211()
/linux-4.4.14/drivers/ata/
H A Dlibata-transport.c584 static DEVICE_ATTR(trim, S_IRUGO, show_ata_dev_trim, NULL);
759 SETUP_DEV_ATTRIBUTE(trim); ata_attach_transport()
H A Dsata_sil.c633 /* This controller doesn't support trim */ sil_dev_config()
/linux-4.4.14/drivers/s390/block/
H A Dxpram.c237 * get geometry: we have to fake one... trim the size to a xpram_getgeo()
/linux-4.4.14/block/
H A Dblk-throttle.c619 * renewed. Don't try to trim the slice if slice is used. A new throtl_trim_slice()
663 "[%c] trim slice nr=%lu bytes=%llu io=%lu start=%lu end=%lu jiffies=%lu", throtl_trim_slice()
1431 * We need to trim slice even when bios are not being queued blk_throtl_bio()
1433 * a long time and slice keeps on extending and trim is not blk_throtl_bio()
H A Dbio.c1817 * bio_trim - trim a bio
1818 * @bio: bio to trim
1819 * @offset: number of sectors to trim from the front of @bio
1820 * @size: size we want to trim @bio to, in sectors
1824 /* 'bio' is a cloned bio which we need to trim to match bio_trim()
H A Dbio-integrity.c435 * Description: Used to trim the integrity vector in a cloned bio.
/linux-4.4.14/fs/cifs/
H A Dcifs_dfs_ref.c81 /* trim off any trailing delimiters */ cifs_build_devname()
/linux-4.4.14/arch/powerpc/perf/
H A Dpower7-pmu.c222 psel = event & PM_PMCSEL_MSK & ~1; /* trim off edge/level bit */ power7_marked_instr_event()
/linux-4.4.14/net/rds/
H A Dtcp_recv.c219 pr_warn("rds_tcp_data_recv: pull/trim failed " rds_tcp_data_recv()
/linux-4.4.14/fs/nilfs2/
H A Dsufile.c1011 * nilfs_sufile_trim_fs() - trim ioctl handle function
1015 * start: First Byte to trim
1016 * len: number of Bytes to trim from start
H A Dioctl.c1073 * nilfs_ioctl_trim_fs() - trim ioctl handle function
1079 * performs the actual trim operation.
/linux-4.4.14/drivers/mmc/core/
H A Dcore.c2072 * Note that the timeout for secure trim 2 will only be correct if the mmc_do_erase()
2074 * preceding secure trim 1 commands. Since the power may have been mmc_do_erase()
2075 * lost since the secure trim 1 commands occurred, it is generally mmc_do_erase()
2076 * impossible to calculate the secure trim 2 timeout correctly. mmc_do_erase()
2346 * When specifying a sector range to trim, chances are we might cross mmc_do_calc_max_discard()
2351 * single trim operation. We flag that special case with "eg_boundary". mmc_do_calc_max_discard()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c430 * Set DAC manual trim IB. qib_sd7220_init()
437 qib_dev_err(dd, "Failed IB SERDES DAC trim\n"); qib_sd7220_init()
789 * and select various memories based on this. For now, just trim qib_sd7220_ram_xfer()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_string.c121 /* trim leading spaces */ cfs_firststr()
/linux-4.4.14/drivers/mmc/card/
H A Dmmc_test.c1685 * Single trim performance by transfer size.
1802 * Consecutive trim performance by transfer size.
2493 .name = "Single trim performance by transfer size",
2514 .name = "Consecutive trim performance by transfer size",
H A Dblock.c2526 * secure trim can result in unrecoverable corruption due to a
2547 * On Some Kingston eMMCs, performing trim can result in
/linux-4.4.14/fs/hpfs/
H A Dalloc.c566 if (!(bmp = hpfs_map_bitmap(s, start_bmp, &qbh, "trim"))) { hpfs_trim_fs()
/linux-4.4.14/fs/ocfs2/
H A Dsuper.c597 unsigned int trim = bytes; ocfs2_max_file_offset() local
614 trim = 1; ocfs2_max_file_offset()
627 trim = 1; ocfs2_max_file_offset()
637 return (((unsigned long long)bytes) << bitshift) - trim; ocfs2_max_file_offset()
H A Drefcounttree.c2934 * So trim 'end' to i_size. ocfs2_duplicate_clusters_by_page()
/linux-4.4.14/fs/proc/
H A Dkcore.c447 /* trim buflen to not go beyond EOF */ read_kcore()
H A Dvmcore.c195 /* trim buflen to not go beyond EOF */ __read_vmcore()
/linux-4.4.14/net/ipv4/
H A Dip_input.c439 * is IP we can trim to the true length of the frame. ip_rcv()
/linux-4.4.14/drivers/thermal/samsung/
H A Dexynos_tmu.c183 * @temp_error1: fused value of the first point trim.
184 * @temp_error2: fused value of the second point trim.
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dcb_pcidas.c135 #define PCIDAS_CALIB_TRIM_SEL BIT(9) /* select ad7376 trim pot */
1396 /* Calibration subdevice - trim potentiometer */ cb_pcidas_auto_attach()
/linux-4.4.14/fs/ext4/
H A Dmballoc.c2822 * ext4_trim_fs can trim it. ext4_free_data_callback()
4342 /* Now trim the list to be not more than 8 elements */ ext4_mb_add_n_trim()
5081 * ext4_trim_all_free -- function to trim all free space in alloc. group
5173 * ext4_trim_fs() -- trim ioctl handle function
5177 * start: First Byte to trim
5178 * len: number of Bytes to trim from start
5182 * is invoked to trim all free space.
/linux-4.4.14/drivers/ide/
H A Dit821x.c257 /* trim PIO to the slowest of the master/slave */ it821x_set_pio_mode()
H A Dsiimage.c259 /* trim *taskfile* PIO to the slowest of the master/slave */ sil_set_pio_mode()
/linux-4.4.14/drivers/input/mouse/
H A Dcyapa_gen6.c649 /* set attenuator trim values. */ cyapa_gen6_show_baseline()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dpwrseq.h464 /* 0x2C[23:12]=0x820 ; XTAL trim */}, \
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnvm.c510 /* trim pba length from start of string */ e1000_read_pba_string_generic()
H A Dphy.c2180 /* BG temp curve trim */ e1000e_phy_init_script_igp3()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c588 /* trim pba length from start of string */ igb_read_part_string()
H A De1000_phy.c2140 /* BG temp curve trim */ igb_phy_init_script_igp3()
/linux-4.4.14/drivers/dma/ioat/
H A Ddma.c396 /* allocate/trim descriptors as needed */ reshape_ring()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_debugfs.c246 seq_puts(m, "trim"); seq_print_peer_request_flags()
H A Ddrbd_receiver.c1600 struct p_trim *trim = (pi->cmd == P_TRIM) ? pi->data : NULL; __must_hold() local
1603 if (!trim && peer_device->connection->peer_integrity_tfm) { __must_hold()
1615 if (trim) { __must_hold()
1617 data_size = be32_to_cpu(trim->size); __must_hold()
1622 /* prepare for larger trim requests. */ __must_hold()
1623 if (!trim && !expect(data_size <= DRBD_MAX_BIO_SIZE)) __must_hold()
1639 peer_req = drbd_alloc_peer_req(peer_device, id, sector, data_size, trim == NULL, GFP_NOIO); __must_hold()
1644 if (trim) __must_hold()
H A Ddrbd_int.h443 /* our lower level cannot handle trim,
/linux-4.4.14/kernel/
H A Daudit_tree.c509 /* trim the uncommitted chunks from tree */
H A Daudit.c968 audit_log_format(ab, " op=trim res=1"); audit_receive_msg()
/linux-4.4.14/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c294 pr_debug("Can't trim\n"); nf_ct_frag6_queue()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Drw.c318 * (ria_start + ret) has grown across an RPC boundary, then trim ll_ra_count_get()
722 /* Note: we only trim the RPC, instead of extending the RPC ll_readahead()
/linux-4.4.14/include/net/
H A Dnetlink.h41 * nlmsg_trim() trim part of message
516 * @mark: mark to trim to
/linux-4.4.14/fs/btrfs/
H A Dioctl.c3756 u64 trim = 0; btrfs_clone() local
3764 trim = key.offset + datal - (off + len); btrfs_clone()
3766 if (comp && (skip || trim)) { btrfs_clone()
3771 size -= skip + trim; btrfs_clone()
3772 datal -= skip + trim; btrfs_clone()
H A Dextent-tree.c10232 * fs trim operation (btrfs_trim_fs() / btrfs_ioctl_fitrim()) is btrfs_remove_block_group()
10238 * There may also be an implicit trim operation if the file system btrfs_remove_block_group()
10463 /* Implicit trim during transaction commit. */ btrfs_delete_unused_bgs()
10552 * Iterating over them would be enough to trim unused space. Since we
10651 * try to trim all FS space, our block group may start from non-zero. btrfs_trim_fs()
H A Dfree-space-cache.c1291 * locked while doing it because a concurrent trim can be manipulating __btrfs_write_out_cache()
H A Dctree.h1815 * Chunks that can't be freed yet (under a trim/discard operation)
H A Dscrub.c3323 * trim extent to this stripe scrub_stripe()
/linux-4.4.14/fs/ceph/
H A Dmds_client.c1472 dout("trim_caps mds%d start: %d / %d, trim %d\n", trim_caps()
2953 /* trim unused caps to reduce MDS's cache rejoin time */ send_mds_reconnect()
3361 * delayed work -- periodically trim expired leases, renew caps with mds
/linux-4.4.14/sound/pci/emu10k1/
H A Demu10k1_main.c563 * trim value consists of a 16bit value which is composed of two
564 * 8 bit gain/trim values, one for the left channel and one for the
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_ether.c220 * reads (e.g. DMA must be N*maxpacket), so for now don't trim a rx_submit()
/linux-4.4.14/drivers/hv/
H A Dvmbus_drv.c1169 * so trim this into the part that vmbus_allocate_mmio()
/linux-4.4.14/drivers/net/usb/
H A Dsierra_net.c790 /* trim next packet to it's length */ sierra_net_skb_clone()
/linux-4.4.14/drivers/block/
H A Dnbd.c108 case NBD_CMD_TRIM: return "trim/discard"; nbdcmd_to_ascii()
H A Dumem.c775 * get geometry: we have to fake one... trim the size to a mm_getgeo()
/linux-4.4.14/net/dccp/ccids/
H A Dccid2.c690 /* trim acked packets in tail */ ccid2_hc_tx_packet_recv()
/linux-4.4.14/include/linux/
H A Data.h833 /* DSM supported, deterministic read, and read zero after trim set */ ata_id_has_zero_after_trim()
H A Dlibata.h434 ATA_HORKAGE_ZERO_AFTER_TRIM = (1 << 22),/* guarantees zero after trim */
H A Dskbuff.h2769 * pskb_trim_rcsum - trim received skb and update checksum
2770 * @skb: buffer to trim
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dclock-commonclk.c895 size_t idx; /* used as mclk_idx, just to trim line length */ mpc512x_clk_setup_clock_tree()
/linux-4.4.14/sound/drivers/
H A Daloop.c414 /* check if playback is draining, trim the capture copy size copy_play_buf()
/linux-4.4.14/drivers/media/pci/zoran/
H A Dzoran_device.c548 /* trim clips that extend beyond the window */ write_overlay_mask()
/linux-4.4.14/drivers/media/rc/
H A Dite-cir.c113 /* trim to limits */ ite_get_carrier_freq_bits()
H A Dimon.c1294 * the table trim, we always or in the bits to look up 0x8000ff4xx, imon_mce_key_lookup()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c1302 /* trim to exclude trailer */ i40e_fcoe_tx_map()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dscan.c1307 * 16-bit delays), trim it down to 16-bits. iwl_mvm_sched_scan_start()
/linux-4.4.14/drivers/net/ieee802154/
H A Dat86rf230.c1498 ret = of_property_read_u8(spi->dev.of_node, "xtal-trim", xtal_trim); at86rf230_get_pdata()
/linux-4.4.14/drivers/net/wimax/i2400m/
H A Drx.c1016 /* now we have to pull and trim so that the skb points to the i2400m_rx_edata()
/linux-4.4.14/fs/f2fs/
H A Dfile.c685 * do not trim all blocks after i_size if target size is f2fs_setattr()
H A Df2fs.h625 unsigned int trim_sections; /* # of sections to trim */
/linux-4.4.14/net/ipv6/
H A Dip6_fib.c1274 * Called to trim the tree of intermediate nodes when possible. "fn"
/linux-4.4.14/fs/
H A Dinode.c754 * to trim from the LRU. Inodes to be freed are moved to a temporary list and
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c860 /* trim off the mic and padding at the end before returning */ unwrap_integ_data()
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c1691 int rval; /* successful free trim? */ xfs_dir2_node_to_leaf()
H A Dxfs_dir2_node.c1099 * If this was the last entry in the table, we can trim the table size xfs_dir3_data_block_free()
H A Dxfs_bmap.c3318 * Set the start to the minimum then trim the length. xfs_bmap_extsize_align()
/linux-4.4.14/sound/pci/asihpi/
H A Dhpi.h255 HPI_CONTROL_LEVEL = 8, /**< level/trim control - works in d_bu. */
/linux-4.4.14/drivers/md/
H A Draid1.c2156 * We repeatedly clone the bio and trim down to one block, narrow_write_error()
H A Draid10.c2441 * We repeatedly clone the bio and trim down to one block, narrow_write_error()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Ddib0090.c1650 /* addr ; trim reg offset ; pga ; CTRL_BB1 value ; i or q */
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1624 "trim buffer_info->skb : %d\n", i); pch_gbe_clean_tx()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c748 * Flush: payload trim or drop
/linux-4.4.14/net/core/
H A Drtnetlink.c1321 * means we should trim the attribute header and rtnl_fill_ifinfo()
/linux-4.4.14/fs/ubifs/
H A Dubifs.h151 * considered "young". This is used by shrinker when selecting znode to trim
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c576 /* trim pba length from start of string */ ixgbe_read_pba_string_generic()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c1114 size -= 8; /* trim off version and checksum */ t3_load_fw()
/linux-4.4.14/mm/
H A Dhugetlb.c468 * and either trim, delete or split the existing regions.
/linux-4.4.14/tools/lguest/
H A Dlguest.c2957 /* Find and trim end of iov input array, for our status byte. */ blk_request()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Datombios.h4638 // 4:2 – load line slope trim.
4639 // 1:0 – offset trim,
/linux-4.4.14/drivers/gpu/drm/amd/include/
H A Datombios.h4771 // 4:2 � load line slope trim.
4772 // 1:0 � offset trim,
/linux-4.4.14/drivers/net/ethernet/nvidia/
H A Dforcedeth.c2779 /* more data on wire than in 802 header, trim of nv_getlen()

Completed in 5964 milliseconds