Symbol: truncate
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
61
int (*truncate)(struct drm_i915_gem_object *obj);
drivers/gpu/drm/i915/gem/i915_gem_pages.c
173
if (obj->ops->truncate)
drivers/gpu/drm/i915/gem/i915_gem_pages.c
174
return obj->ops->truncate(obj);
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
494
.truncate = shmem_truncate,
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
1232
.truncate = i915_ttm_truncate,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/sample.c
20
if (act->sample.truncate)
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
2184
u32 trunc_size, bool truncate, bool ingress,
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
2196
truncate, ingress, &sampler->span_id,
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
2227
u32 rate, u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
2240
rate, trunc_size, truncate, ingress,
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
108
u32 rate, u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
35
u32 trunc_size, bool truncate, bool ingress,
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
2805
trigger_node->params.truncate != params->truncate ||
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
1051
u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
279
bool truncate;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
792
u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
809
truncate, binding->ingress,
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c
197
u32 rate, u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c
229
u32 rate, u32 trunc_size, bool truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c
247
params.truncate = truncate;
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c
283
act->sample.truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c
276
mall_entry->sample.params.truncate = act->sample.truncate;
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
241
bool truncate, u32 trunc_size)
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
246
md->trunc_size = truncate ? trunc_size : skb->len;
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
289
mlxsw_sp_port->dev->ifindex, params->truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
339
mlxsw_sp_port->dev->ifindex, params->truncate,
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c
375
mlxsw_sp_port->dev->ifindex, params->truncate,
drivers/net/wireless/intersil/p54/fwio.c
376
setup->v2.truncate = cpu_to_le16(48896);
drivers/net/wireless/intersil/p54/lmac.h
309
__le16 truncate;
drivers/vhost/vringh.c
158
goto truncate;
drivers/vhost/vringh.c
169
goto truncate;
drivers/vhost/vringh.c
172
truncate:
fs/btrfs/relocation.c
3217
goto truncate;
fs/btrfs/relocation.c
3224
truncate:
fs/f2fs/file.c
2262
static int f2fs_ioc_start_atomic_write(struct file *filp, bool truncate)
fs/f2fs/file.c
2350
if (truncate) {
fs/f2fs/segment.c
289
bool truncate = is_inode_flag_set(inode, FI_ATOMIC_REPLACE);
fs/f2fs/segment.c
295
} else if (truncate) {
fs/f2fs/segment.c
304
if (!revoke && truncate)
fs/hostfs/hostfs_user.c
239
} else if (truncate(file, attrs->ia_size)) {
fs/isofs/rock.c
205
int truncate = 0;
fs/isofs/rock.c
254
if (truncate)
fs/isofs/rock.c
275
truncate = 1;
fs/minix/itree_v1.c
61
truncate(inode);
fs/minix/itree_v2.c
69
truncate(inode);
fs/nfs/callback.h
65
uint32_t truncate;
fs/nfs/callback_xdr.c
202
args->truncate = ntohl(*p);
fs/nfs/nfs4proc.c
3323
bool truncate;
fs/nfs/nfs4proc.c
3329
truncate = (arg->iap->ia_valid & ATTR_SIZE) ? true : false;
fs/nfs/nfs4proc.c
3330
if (!truncate) {
fs/nfs/nfstrace.h
291
DEFINE_NFS_UPDATE_SIZE_EVENT(truncate);
fs/open.c
152
SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
fs/open.c
158
COMPAT_SYSCALL_DEFINE2(truncate, const char __user *, path, compat_off_t, length)
fs/orangefs/inode.c
715
new_op->upcall.req.truncate.refn = orangefs_inode->refn;
fs/orangefs/inode.c
716
new_op->upcall.req.truncate.size = (__s64) iattr->ia_size;
fs/orangefs/orangefs-utils.c
54
fsid = op->upcall.req.truncate.refn.fs_id;
fs/orangefs/upcall.h
243
struct orangefs_truncate_request_s truncate;
fs/xfs/scrub/quota_repair.c
404
bool truncate = false;
fs/xfs/scrub/quota_repair.c
423
truncate = true;
fs/xfs/scrub/quota_repair.c
456
if (truncate) {
fs/xfs/xfs_inode.c
1391
int truncate = 0;
fs/xfs/xfs_inode.c
1440
truncate = 1;
fs/xfs/xfs_inode.c
1460
truncate = 1;
fs/xfs/xfs_inode.c
1465
else if (truncate)
include/net/erspan.h
175
bool truncate, bool is_ipv4)
include/net/erspan.h
211
ershdr->t = truncate;
include/net/erspan.h
269
bool truncate, bool is_ipv4)
include/net/erspan.h
305
ershdr->t = truncate;
include/net/flow_offload.h
291
bool truncate;
include/net/tc_act/tc_sample.h
12
bool truncate;
include/net/tc_act/tc_sample.h
27
return to_sample(a)->truncate;
lib/tests/string_kunit.c
530
static const char truncate[] = "this is too long";
lib/tests/string_kunit.c
554
strtomem(wrap.output, truncate);
lib/tests/string_kunit.c
557
KUNIT_EXPECT_EQ(test, wrap.output[i], truncate[i]);
lib/tests/string_kunit.c
572
strtomem(wrap.output, truncate);
lib/tests/string_kunit.c
575
KUNIT_EXPECT_EQ(test, wrap.output[i], truncate[i]);
net/ipv4/igmp.c
471
int scount, stotal, first, isquery, truncate;
net/ipv4/igmp.c
486
truncate = type == IGMPV3_MODE_IS_EXCLUDE ||
net/ipv4/igmp.c
499
if (truncate) {
net/ipv4/igmp.c
534
if (truncate && !first)
net/ipv4/ip_gre.c
116
bool truncate, bool is_ipv4);
net/ipv4/ip_gre.c
549
bool truncate = false;
net/ipv4/ip_gre.c
580
truncate = true;
net/ipv4/ip_gre.c
586
truncate = true;
net/ipv4/ip_gre.c
596
truncate = true;
net/ipv4/ip_gre.c
601
ntohl(md->u.index), truncate, true);
net/ipv4/ip_gre.c
608
truncate, true);
net/ipv4/ip_gre.c
707
bool truncate = false;
net/ipv4/ip_gre.c
727
truncate = true;
net/ipv4/ip_gre.c
737
truncate, true);
net/ipv4/ip_gre.c
742
truncate, true);
net/ipv6/ip6_gre.c
1002
ntohl(md->u.index), truncate,
net/ipv6/ip6_gre.c
1010
truncate, false);
net/ipv6/ip6_gre.c
1037
truncate, false);
net/ipv6/ip6_gre.c
1043
truncate, false);
net/ipv6/ip6_gre.c
923
bool truncate = false;
net/ipv6/ip6_gre.c
944
truncate = true;
net/ipv6/ip6_gre.c
950
truncate = true;
net/ipv6/ip6_gre.c
960
truncate = true;
net/ipv6/mcast.c
1908
int scount, stotal, first, isquery, truncate;
net/ipv6/mcast.c
1927
truncate = type == MLD2_MODE_IS_EXCLUDE ||
net/ipv6/mcast.c
1940
if (truncate) {
net/ipv6/mcast.c
1977
if (truncate && !first)
net/sched/act_sample.c
117
s->truncate = true;
net/sched/act_sample.c
204
md.trunc_size = s->truncate ? s->trunc_size : skb->len;
net/sched/act_sample.c
248
if (s->truncate)
net/sched/act_sample.c
305
entry->sample.truncate = tcf_sample_truncate(act);
security/landlock/domain.c
161
const unsigned long truncate = BIT_INDEX(LANDLOCK_ACCESS_FS_TRUNCATE);
security/landlock/domain.c
166
truncate, 0));
security/landlock/domain.c
169
truncate, 3));
sound/soc/tegra/tegra30_ahub.c
144
cif_conf.truncate = 0;
sound/soc/tegra/tegra30_ahub.c
246
cif_conf.truncate = 0;
sound/soc/tegra/tegra30_ahub.c
642
(conf->truncate <<
sound/soc/tegra/tegra30_ahub.c
674
(conf->truncate <<
sound/soc/tegra/tegra30_ahub.h
484
unsigned int truncate;
sound/soc/tegra/tegra30_i2s.c
188
cif_conf.truncate = 0;
sound/soc/tegra/tegra_cif.h
45
unsigned int truncate;
sound/soc/tegra/tegra_cif.h
62
(conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) |
sound/soc/tegra/tegra_cif.h
81
(conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) |
tools/objtool/elf.c
1735
if (sec->truncate && elf_truncate_section(elf, sec))
tools/objtool/elf.c
797
symtab->truncate = true;
tools/objtool/elf.c
812
symtab_shndx->truncate = true;
tools/objtool/include/objtool/elf.h
54
bool _changed, text, rodata, noinstr, init, truncate;
tools/testing/selftests/filesystems/fuse/fuse_mnt.c
140
.truncate = test_truncate,
tools/testing/selftests/landlock/fs_test.c
3674
if (truncate(path, 10) < 0)
tools/testing/selftests/landlock/fs_test.c
3760
TEST_F_FORK(layout1, truncate)
tools/testing/selftests/landlock/fs_test.c
7583
TEST_F(audit_layout1, truncate)
tools/testing/selftests/landlock/fs_test.c
7591
EXPECT_EQ(-1, truncate(file1_s1d3, 0));