Searched refs:truncate (Results 51 - 68 of 68) sorted by relevance

123

/linux-master/fs/
H A Dopen.c56 /* Remove suid, sgid, and file capabilities on truncate too */
103 * against the truncate racing with a lease-granting setlease().
144 SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
150 COMPAT_SYSCALL_DEFINE2(truncate, const char __user *, path, compat_off_t, length)
217 /* LFS versions of truncate are only needed on 32 bit machines */
1323 /* Don't bother even trying for create/truncate/tmpfile open */
/linux-master/fs/xfs/
H A Dxfs_inode.c177 * free manner (e.g. truncate, hole punch and other extent manipulation
414 * transaction (such as truncate). This can result in deadlock since the long
1497 * truncate down, buffered (re-)write (delalloc), followed by
1535 * truncate them away first before checking for a dirty release.
1560 * Called to perform a truncate when an inode becomes unlinked.
1580 * of a system crash before the truncate completes. See the related
1799 int truncate = 0; local
1849 truncate = 1;
1869 else if (truncate)
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c273 act->sample.truncate,
H A Dspectrum.c2959 trigger_node->params.truncate != params->truncate ||
/linux-master/fs/nfs/
H A Dcallback_xdr.c201 args->truncate = ntohl(*p);
H A Dnfstrace.h269 DEFINE_NFS_UPDATE_SIZE_EVENT(truncate); variable
H A Dnfs4proc.c3330 bool truncate; local
3336 truncate = (arg->iap->ia_valid & ATTR_SIZE) ? true : false;
3337 if (!truncate) {
/linux-master/drivers/net/wireless/intersil/p54/
H A Dfwio.c374 setup->v2.truncate = cpu_to_le16(48896);
/linux-master/net/ipv4/
H A Digmp.c468 int scount, stotal, first, isquery, truncate; local
483 truncate = type == IGMPV3_MODE_IS_EXCLUDE ||
496 if (truncate) {
531 if (truncate && !first)
532 break; /* truncate these */
/linux-master/net/ipv6/
H A Dmcast.c1872 int scount, stotal, first, isquery, truncate; local
1889 truncate = type == MLD2_MODE_IS_EXCLUDE ||
1902 if (truncate) {
1939 if (truncate && !first)
1940 break; /* truncate these */
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c1228 .truncate = i915_ttm_truncate,
/linux-master/fs/reiserfs/
H A Dreiserfs.h48 * file during truncate or unlink. Safe link is used to avoid
2956 struct inode *inode, int truncate);
2957 int remove_save_link(struct inode *inode, int truncate);
3404 * think, that truncate should work without problems on a filesystem
3406 * truncate due to lack of free disk space. This spare space allows us
/linux-master/fs/f2fs/
H A Dsegment.c279 bool truncate = is_inode_flag_set(inode, FI_ATOMIC_REPLACE); local
285 } else if (truncate) {
294 if (!revoke && truncate)
H A Dfile.c672 /* An encrypted inode should have a key and truncate the last page. */
767 * direct, but we should allow write direct after truncate to zero.
2062 static int f2fs_ioc_start_atomic_write(struct file *filp, bool truncate) argument
2151 if (truncate) {
/linux-master/arch/m68k/fpsp040/
H A Dsetox.S190 | 8.4 K := (N-J)/64, M1 := truncate(K/2), M = K-M1, AdjFlag := 1.
/linux-master/fs/btrfs/
H A Drelocation.c3407 goto truncate;
3413 truncate:
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c3393 /* Invokes truncate(2) and returns its errno or 0. */
3396 if (truncate(path, 10) < 0)
3455 * Checks read right: truncate and open with O_TRUNC work, unless the
3464 * Checks write right: truncate and open with O_TRUNC work, unless the
3473 * Checks "no rights" case: truncate works but all open attempts fail,
3482 TEST_F_FORK(layout1, truncate)
3537 /* Checks read, write and truncate rights: truncation works. */
3542 /* Checks read and write rights: no truncate variant works. */
3548 * Checks read and truncate rights: truncation works.
3556 /* Checks truncate righ
[all...]
/linux-master/arch/m68k/ifpsp060/src/
H A Dfplsp.S6849 # 8.4 K := (N-J)/64, M1 := truncate(K/2), M = K-M1, #

Completed in 339 milliseconds

123