Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 53 of 53) sorted by relevance

/linux-4.4.14/fs/reiserfs/
Dsuper.c206 int truncate; in finish_unfinished() local
276 truncate = 1; in finish_unfinished()
278 truncate = 0; in finish_unfinished()
302 if (!truncate && inode->i_nlink) { in finish_unfinished()
314 if (truncate && S_ISDIR(inode->i_mode)) { in finish_unfinished()
327 truncate = 0; in finish_unfinished()
332 if (truncate) { in finish_unfinished()
345 retval = remove_save_link(inode, truncate); in finish_unfinished()
397 struct inode *inode, int truncate) in add_save_link() argument
408 RFALSE(truncate && in add_save_link()
[all …]
Dreiserfs.h2953 struct inode *inode, int truncate);
2954 int remove_save_link(struct inode *inode, int truncate);
/linux-4.4.14/fs/udf/
DMakefile8 partition.o super.o truncate.o symlink.o \
/linux-4.4.14/arch/m68k/fpsp040/
Dround.S56 bra truncate
83 bmi truncate |if positive then truncate
104 | Always truncate.
107 bra truncate
118 bcc truncate |if (g=1) then
204 andil #0xffffff00,LOCAL_HI(%a0) |truncate bits beyond sgl limit
246 andil #0xfffff800,LOCAL_LO(%a0) |truncate bits beyond dbl limit
260 truncate: label
Dsetox.S190 | 8.4 K := (N-J)/64, M1 := truncate(K/2), M = K-M1, AdjFlag := 1.
/linux-4.4.14/fs/minix/
Ditree_v1.c61 truncate(inode); in V1_minix_truncate()
Ditree_v2.c70 truncate(inode); in V2_minix_truncate()
Ditree_common.c293 static inline void truncate (struct inode * inode) in truncate() function
/linux-4.4.14/fs/affs/
DChanges95 - Corruption in truncate() bugfix [Ken Tyler <kent@werple.net.au>]
112 - truncate() zeroes the unused remainder of a
173 up if a file was enlarged via truncate() and there
249 - truncate() didn't allocate an extension block
251 truncate(), this led to an Oops.
/linux-4.4.14/sound/soc/tegra/
Dtegra30_ahub.c138 cif_conf.truncate = 0; in tegra30_ahub_allocate_rx_fifo()
240 cif_conf.truncate = 0; in tegra30_ahub_allocate_tx_fifo()
709 (conf->truncate << in tegra30_ahub_set_cif()
741 (conf->truncate << in tegra124_ahub_set_cif()
Dtegra30_ahub.h495 unsigned int truncate; member
Dtegra30_i2s.c189 cif_conf.truncate = 0; in tegra30_i2s_hw_params()
/linux-4.4.14/arch/um/os-Linux/
Duser_syms.c70 EXPORT_SYMBOL_PROTO(truncate);
/linux-4.4.14/fs/nfs/
Dcallback.h80 uint32_t truncate; member
Dcallback_xdr.c222 args->truncate = ntohl(*p); in decode_recall_args()
Dnfs4proc.c2675 bool truncate; in _nfs4_do_setattr() local
2685 truncate = (sattr->ia_valid & ATTR_SIZE) ? true : false; in _nfs4_do_setattr()
2686 fmode = truncate ? FMODE_WRITE : FMODE_READ; in _nfs4_do_setattr()
2690 } else if (truncate && state != NULL) { in _nfs4_do_setattr()
/linux-4.4.14/Documentation/filesystems/
Dexofs.txt151 readpage, writepage, update_inode, and truncate. The following pairs of
170 - create/truncate: truncate should wait until the object is
Dmandatory-locking.txt150 write(), readv(), writev(), open(), creat(), mmap(), truncate() and
151 ftruncate(). truncate() and ftruncate() are considered to be "write" actions
155 for the total number of bytes read or written. For the truncate calls it is
Ddnotify.txt16 DN_MODIFY A file in the directory was modified (write,truncate)
Dporting86 ->lookup(), ->truncate(), ->create(), ->unlink(), ->mknod(), ->mkdir(),
284 ->truncate is gone. The whole truncate sequence needs to be
DLocking55 void (*truncate) (struct inode *);
545 subsequent truncate), and then return with VM_FAULT_LOCKED, and the page
559 no truncate/invalidate races, and then return with the page locked. If
Dhpfs.txt153 about 1/50) or to truncate file first to make some space.
268 Now it tries to truncate the file if there's not enough space when deleting
Dntfs.txt85 - The new driver supports truncate(2) and open(2) with O_TRUNC. But at present
88 limitation is that at present truncate(2) will never create sparse files,
Dext4.txt318 the replace-via-rename and replace-via-truncate
Dcoda.txt779 to return a file descriptor. The truncate and exclusive options,
Dproc.txt1582 The big inaccuracy here is truncate. If a process writes 1MB to a file and
/linux-4.4.14/fs/isofs/
Drock.c204 int truncate = 0; in get_rock_ridge_filename() local
253 if (truncate) in get_rock_ridge_filename()
274 truncate = 1; in get_rock_ridge_filename()
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db267 API-truncate-inode-pages-range
268 API-truncate-inode-pages
269 API-truncate-inode-pages-final
273 API-truncate-pagecache
274 API-truncate-setsize
276 API-truncate-pagecache-range
D.kernel-api.xml.cmd2 …lloc.c mm/page_alloc.c mm/mempool.c mm/dmapool.c mm/page-writeback.c mm/truncate.c ipc/util.c incl…
Dnetworking.xml.db195 API-xdr-truncate-encode
/linux-4.4.14/mm/
DMakefile19 readahead.o swap.o truncate.o vmscan.o shmem.o \
/linux-4.4.14/drivers/vhost/
Dvringh.c121 goto truncate; in range_check()
132 goto truncate; in range_check()
135 truncate: in range_check()
/linux-4.4.14/Documentation/
Dnommu-mmap.txt82 (such as ramfs or tmpfs) may choose to honour an open, truncate, mmap
94 truncate being called. The ramdisk driver could do this if it allocated
261 It is recommended that a truncate operation applied to such a file that
DIPMI.txt289 queue. If you want to get it and have it truncate the message, us
/linux-4.4.14/Documentation/networking/
Dnetdevices.txt44 drop, truncate, or pass up oversize packets, but dropping oversize
/linux-4.4.14/fs/hostfs/
Dhostfs_user.c228 } else if (truncate(file, attrs->ia_size)) { in set_attr()
/linux-4.4.14/drivers/net/wireless/p54/
Dlmac.h312 __le16 truncate; member
Dfwio.c379 setup->v2.truncate = cpu_to_le16(48896); in p54_setup_mac()
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S168 ENTRY_COMP(truncate)
/linux-4.4.14/fs/
Dopen.c142 SYSCALL_DEFINE2(truncate, const char __user *, path, long, length) in SYSCALL_DEFINE2() argument
148 COMPAT_SYSCALL_DEFINE2(truncate, const char __user *, path, compat_off_t, length) in COMPAT_SYSCALL_DEFINE2() argument
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h99 COMPAT_SYS_SPU(truncate)
/linux-4.4.14/drivers/staging/lustre/
Dsysfs-fs-lustre582 Controls whether lockless truncate RPCs are allowed to this
584 Lockless truncate causes server to perform the locking which
585 is beneficial if the truncate is not followed by a write
/linux-4.4.14/net/ipv4/
Digmp.c438 int scount, stotal, first, isquery, truncate; in add_grec() local
447 truncate = type == IGMPV3_MODE_IS_EXCLUDE || in add_grec()
460 if (truncate) { in add_grec()
486 if (truncate && !first) in add_grec()
/linux-4.4.14/net/ipv6/
Dmcast.c1702 int scount, stotal, first, isquery, truncate; in add_grec() local
1709 truncate = type == MLD2_MODE_IS_EXCLUDE || in add_grec()
1722 if (truncate) { in add_grec()
1748 if (truncate && !first) in add_grec()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl85 76 common truncate sys_truncate
Dsyscall_32.tbl101 92 i386 truncate sys_truncate compat_sys_truncate
/linux-4.4.14/fs/xfs/
Dxfs_inode.c1873 int truncate = 0; in xfs_inactive() local
1906 truncate = 1; in xfs_inactive()
1914 else if (truncate) in xfs_inactive()
/linux-4.4.14/Documentation/filesystems/caching/
Dobject.txt137 getxattr, truncate, unlink, rmdir, rename).
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES702 Fix truncate of existing files opened with O_CREAT but not O_TRUNC set.
800 Fix truncate bug (set file size) that could cause hangs e.g. running fsx
862 Fix data corruption (in partial page after truncate) that caused fsx to
/linux-4.4.14/Documentation/scsi/
DChangeLog.1992-19971571 * ultrastor.c: Do not truncate cylinders to 1024.
1879 Do not truncate number of cylinders at 1024 for biosparam call.
1911 * ultrastor.c: Do not truncate number of cylinders at 1024 for
Dst.txt265 a filemark to truncate a read request or that don't like backspacing.
/linux-4.4.14/fs/btrfs/
Drelocation.c3449 goto truncate;
3462 truncate:
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfplsp.S6849 # 8.4 K := (N-J)/64, M1 := truncate(K/2), M = K-M1, #