Home
last modified time | relevance | path

Searched full:trimmed (Results 1 – 25 of 69) sorted by relevance

123

/linux/fs/jfs/
H A Djfs_discard.c24 * blkno - starting block number to be trimmed (0..N)
25 * nblocks - number of blocks to be trimmed
72 u64 trimmed = 0; in jfs_ioc_trim() local
105 trimmed += dbDiscardAG(ip, agno, minlen); in jfs_ioc_trim()
110 range->len = trimmed << sb->s_blocksize_bits; in jfs_ioc_trim()
/linux/fs/btrfs/
H A Ddiscard.c47 * trimmed regions merge with other trimmed regions. This can cause
50 * the trimmed flag is set on the bitmap. Otherwise, if an allocation comes in,
454 * a pass on a discard list. If it is unused and fully trimmed, we can mark it
488 u64 trimmed = 0; in btrfs_discard_workfn() local
518 btrfs_trim_block_group_bitmaps(block_group, &trimmed, in btrfs_discard_workfn()
522 discard_ctl->discard_bitmap_bytes += trimmed; in btrfs_discard_workfn()
524 btrfs_trim_block_group_extents(block_group, &trimmed, in btrfs_discard_workfn()
528 discard_ctl->discard_extent_bytes += trimmed; in btrfs_discard_workfn()
548 discard_ctl->prev_discard = trimmed; in btrfs_discard_workfn()
676 * block groups are trimmed via a single large trim in transaction commit. This
H A Dfree-space-cache.h28 * This is reset should any free space other than trimmed space be added to the
162 u64 *trimmed, u64 start, u64 end, u64 minlen);
164 u64 *trimmed, u64 start, u64 end, u64 minlen,
167 u64 *trimmed, u64 start, u64 end, u64 minlen,
H A Dfree-space-cache.c2440 * 1) Merge trimmed areas together
2441 * 2) Let untrimmed areas coalesce with trimmed areas
2449 * space is trimmed, it will prevent aggregating trimmed new region and
2785 * it on loading of a block group, we want to consider it trimmed.
3060 * Walk @block_group's free space rb_tree to determine if everything is trimmed.
3666 u64 trimmed = 0; in do_trimming() local
3678 ret = btrfs_discard_extent(fs_info, start, bytes, &trimmed); in do_trimming()
3680 *total_trimmed += trimmed; in do_trimming()
3742 /* Skip bitmaps and if async, already trimmed entries */ in trim_no_bitmap()
3910 * Bitmaps are marked trimmed lossily now to prevent constant in trim_bitmaps()
[all …]
H A Dordered-data.c1270 * btrfs_wait_ordered_extents() getting the trimmed ordered extent in btrfs_split_ordered_extent()
1272 * extent before it's trimmed and the new one inserted, right before it in btrfs_split_ordered_extent()
1274 * trimmed in the meanwhile, and it missed the new ordered extent. in btrfs_split_ordered_extent()
/linux/drivers/gpio/
H A Dgpio-sim.c716 char *trimmed; in gpio_sim_strdup_trimmed() local
718 trimmed = kstrndup(skip_spaces(str), count, GFP_KERNEL); in gpio_sim_strdup_trimmed()
719 if (!trimmed) in gpio_sim_strdup_trimmed()
722 return strim(trimmed); in gpio_sim_strdup_trimmed()
1147 char *trimmed; in gpio_sim_bank_config_label_store() local
1154 trimmed = gpio_sim_strdup_trimmed(page, count); in gpio_sim_bank_config_label_store()
1155 if (!trimmed) in gpio_sim_bank_config_label_store()
1159 bank->label = trimmed; in gpio_sim_bank_config_label_store()
1228 char *trimmed; in gpio_sim_line_config_name_store() local
1235 trimmed = gpio_sim_strdup_trimmed(page, count); in gpio_sim_line_config_name_store()
[all …]
H A Dgpio-virtuser.c400 char buf[32], *trimmed; in gpio_virtuser_direction_do_write() local
407 trimmed = strim(buf); in gpio_virtuser_direction_do_write()
409 if (strcmp(trimmed, "input") == 0) { in gpio_virtuser_direction_do_write()
411 } else if (strcmp(trimmed, "output-high") == 0) { in gpio_virtuser_direction_do_write()
414 } else if (strcmp(trimmed, "output-low") == 0) { in gpio_virtuser_direction_do_write()
/linux/fs/bcachefs/
H A Dextents_format.h11 * represent extents that have been partially overwritten and thus trimmed:
13 * If an extent is not checksummed or compressed, when the extent is trimmed we
32 * when the extent is trimmed, instead of modifying the offset field of the
/linux/drivers/phy/socionext/
H A Dphy-uniphier-usb3hs.c146 int ret, trimmed = 0; in uniphier_u3hsphy_update_config() local
160 trimmed = 1; in uniphier_u3hsphy_update_config()
167 if (!trimmed) { in uniphier_u3hsphy_update_config()
/linux/Documentation/misc-devices/
H A Dad525x_dpot.rst38 address of 0x2f, we descend (unrelated sysfs entries have been trimmed)::
/linux/fs/fat/
H A Dfatent.c769 u64 ent_start, ent_end, minlen, trimmed = 0; in fat_trim_fs() local
810 trimmed += free; in fat_trim_fs()
837 trimmed += free; in fat_trim_fs()
845 range->len = trimmed << sbi->cluster_bits; in fat_trim_fs()
/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc2947.yaml27 The LTC2947 uses either a trimmed internal oscillator or an external clock
/linux/arch/x86/include/asm/
H A Dsgx.h260 * %SGX_PAGE_TYPE_TRIM: a page in trimmed state
285 * %SGX_SECINFO_TRIM: a page in trimmed state
/linux/arch/x86/kernel/cpu/sgx/
H A Dioctl.c938 * or SGX_PAGE_TYPE_TRIM but TCS pages can only be trimmed. in sgx_enclave_modify_types()
1089 * sgx_encl_remove_pages() - Remove trimmed pages from SGX enclave
1131 * ENCLS[EMODPR] is run with RWX on a trimmed page that is in sgx_encl_remove_pages()
1133 * %SGX_PAGE_NOT_MODIFIABLE, after the trimmed page is in sgx_encl_remove_pages()
/linux/drivers/firmware/efi/stmm/
H A Dtee_stmm_efi.c331 /* Update with reported data size for trimmed case */ in tee_get_variable()
397 /* Update with reported data size for trimmed case */ in tee_get_next_variable()
/linux/fs/ocfs2/
H A Ddlmglue.h77 u64 tf_trimlen; /* trimmed length in bytes */
/linux/Documentation/bpf/
H A Dprog_cgroup_sockopt.rst98 indicates that the kernel should use BPF's trimmed ``optval``.
/linux/drivers/net/
H A Deql.c64 * printk's trimmed out.
80 * Log trimmed of non-pertinent 1.x branch messages
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm7 (typical -55 degC to 125 degC), if not values will be trimmed
/linux/fs/iomap/
H A Dswapfile.c26 * the swap code must be trimmed to align to a page boundary. The logical
/linux/drivers/hwmon/
H A Dhp-wmi-sensors.c472 dst = hp_wmi_strdup(dev, strim(src)); /* Note: Copy is trimmed. */ in hp_wmi_wstrdup()
937 char *trimmed; in update_numeric_sensor_from_wobj() local
967 trimmed = strim(string); in update_numeric_sensor_from_wobj()
968 if (strcmp(trimmed, nsensor->current_state)) { in update_numeric_sensor_from_wobj()
969 new_string = hp_wmi_strdup(dev, trimmed); in update_numeric_sensor_from_wobj()
/linux/tools/testing/memblock/tests/
H A Dbasic_api.c2171 * aligned. Expect that the memory will not be trimmed. Expect the counter to
2217 * Expect that r1 will not be trimmed and r2 will be removed. Expect the
2269 * Expect that r1 will not be trimmed and r2 will be trimmed at the base.
2330 * Expect that r1 will not be trimmed and r2 will be trimmed at the end.
/linux/Documentation/kbuild/
H A Dkconfig-macro-language.rst153 whitespace. Then, leading whitespaces are trimmed from the first argument,
/linux/Documentation/block/
H A Ddata-integrity.rst139 Essentially a bip is a trimmed down struct bio which holds a bio_vec
/linux/net/core/
H A Dskmsg.c286 /* Adjust copybreak if it falls into the trimmed part of last buf */ in sk_msg_trim()
296 * However trimmed data that has not yet been used in a copy op in sk_msg_trim()

123