Searched refs:write (Results 51 - 75 of 113) sorted by relevance

12345

/fs/configfs/
H A Dfile.c17 * License along with this program; if not, write to the
181 * configfs_write_file - write an attribute.
183 * @buf: data to write
191 * write, so we don't support them. We expect the entire buffer to come
192 * on the first write.
194 * the value you're changing, then write entire buffer back.
235 /* File needs write support.
310 .write = configfs_write_file,
/fs/hpfs/
H A Dfile.c174 /* make sure we write it on close, if not earlier */
202 .write = new_sync_write,
/fs/logfs/
H A Dfile.c53 * Short write of a non-initialized paged. Just tell userspace
275 .write = new_sync_write,
/fs/ncpfs/
H A Dfile.c30 * Open a file with the specified read/write mode.
283 .write = ncp_file_write,
/fs/
H A Dpipe.c53 * pipe_read & write cleanup
348 /* Null write succeeds. */
857 /* We can only do regular read/write on fifos */
952 .write = new_sync_write,
1025 int pipe_proc_fn(struct ctl_table *table, int write, void __user *buf, argument
1030 ret = proc_dointvec_minmax(table, write, buf, lenp, ppos);
1031 if (ret < 0 || !write)
H A Deventfd.c29 * Every time that a write(2) is performed on an eventfd, the
311 .write = eventfd_write,
/fs/ramfs/
H A Dfile-nommu.c42 .write = new_sync_write,
/fs/reiserfs/
H A Dfile.c20 * insertion/balancing, for files that are written in one write.
235 * If this is a partial write which happened to make all buffers
238 * uptodate as a result of this (potentially partial) write.
247 .write = new_sync_write,
/fs/udf/
H A Dfile.c25 * 05/12/99 Preliminary file write support
248 .write = new_sync_write,
/fs/nfsd/
H A Dnfs4xdr.c1195 nfsd4_decode_write(struct nfsd4_compoundargs *argp, struct nfsd4_write *write) argument
1201 status = nfsd4_decode_stateid(argp, &write->wr_stateid);
1205 p = xdr_decode_hyper(p, &write->wr_offset);
1206 write->wr_stable_how = be32_to_cpup(p++);
1207 if (write->wr_stable_how > 2)
1209 write->wr_buflen = be32_to_cpup(p++);
1212 * READ_BUF(write->wr_buflen);
1213 * SAVEMEM(write->wr_buf, write->wr_buflen);
1216 if (avail + argp->pagelen < write
3589 nfsd4_encode_write(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_write *write) argument
[all...]
/fs/debugfs/
H A Dfile.c40 .write = default_write_file,
71 * debugfs_create_u8 - create a debugfs file that is used to read and write an unsigned 8-bit value
77 * @value: a pointer to the variable that the file should read to and write
97 /* if there are no write bits set, make read only */
100 /* if there are no read bits set, make write only */
123 * debugfs_create_u16 - create a debugfs file that is used to read and write an unsigned 16-bit value
129 * @value: a pointer to the variable that the file should read to and write
149 /* if there are no write bits set, make read only */
152 /* if there are no read bits set, make write only */
175 * debugfs_create_u32 - create a debugfs file that is used to read and write a
[all...]
/fs/ubifs/
H A Ddebug.c16 * this program; if not, write to the Free Software Foundation, Inc., 51
717 * of mounting/re-mounting, the write-buffers do
2452 static int power_cut_emulated(struct ubifs_info *c, int lnum, int write) argument
2489 if (write && chance(1, 2))
2499 if (write && chance(99, 100))
2505 if (write && chance(7, 8))
2511 if (write && chance(1, 2))
2524 } else if (write && !RB_EMPTY_ROOT(&c->buds) &&
2553 /* Corruption span max to end of write unit */
2578 ubifs_warn("actually write
[all...]
/fs/afs/
H A Dfile.c35 .write = new_sync_write,
300 * write back a dirty page
/fs/ecryptfs/
H A Dfile.c21 * along with this program; if not, write to the Free Software
356 .write = new_sync_write,
H A Dmiscdev.c17 * along with this program; if not, write to the Free Software
360 * ecryptfs_miscdev_write - handle write to daemon miscdev handle
467 .write = ecryptfs_miscdev_write,
/fs/jffs2/
H A Dfile.c56 .write = new_sync_write,
223 * the whole page write case until jffs2_write_end can handle the
246 /* Actually commit the write from the page cache page we're looking at.
247 * For now, we write the full page out each time. It sucks, but it's simple
270 /* When writing out the end of a page, write out the
/fs/omfs/
H A Dfile.c178 /* write in new entry */
341 .write = new_sync_write,
/fs/proc/
H A Dproc_sysctl.c480 size_t count, loff_t *ppos, int write)
496 if (sysctl_perm(head, table, write ? MAY_WRITE : MAY_READ))
506 error = table->proc_handler(table, write, buf, &res, ppos);
749 .write = proc_sys_write,
479 proc_sys_call_handler(struct file *filp, void __user *buf, size_t count, loff_t *ppos, int write) argument
/fs/nfs/
H A Ddirect.c17 * When an application requests uncached I/O, all read and write requests
21 * held on permanent storage before a direct write system call returns to
92 #define NFS_ODIRECT_RESCHED_WRITES (2) /* write verification failed */
93 struct nfs_writeverf verf; /* unstable write verifier */
140 * nfs_direct_set_hdr_verf - set the write/commit verifier
202 * @rw: direction (read or write)
210 * shunt off direct read and write requests before the VFS gets them,
314 static void nfs_direct_complete(struct nfs_direct_req *dreq, bool write) argument
318 if (dreq->iocb && write) {
327 if (write)
[all...]
/fs/ocfs2/
H A Ddlmglue.c21 * License along with this program; if not, write to the
1640 int ocfs2_rw_lock(struct inode *inode, int write) argument
1650 write ? "EXMODE" : "PRMODE");
1657 level = write ? DLM_LOCK_EX : DLM_LOCK_PR;
1667 void ocfs2_rw_unlock(struct inode *inode, int write) argument
1669 int level = write ? DLM_LOCK_EX : DLM_LOCK_PR;
1675 write ? "EXMODE" : "PRMODE");
1709 int ocfs2_try_open_lock(struct inode *inode, int write) argument
1719 write ? "EXMODE" : "PRMODE");
1722 if (write)
[all...]
/fs/jbd/
H A Djournal.c266 * journal_write_metadata_buffer: write a metadata buffer to the journal.
274 * JFS_MAGIC_NUMBER, then we can't write it to the log directly: the
285 * for the write, then we *have* to lock the buffer to prevent anyone
320 * transaction is allowed to write it, so nobody else is allowed
323 * akpm: except if we're journalling data, and write() output is
699 * We play buffer_head aliasing tricks to write data/metadata blocks to
956 * attempting a write to a potential-readonly device.
1067 * Oh, dear. A previous attempt to write the journal
1070 * be a transient write error and maybe the block will
1072 * write an
1621 journal_wipe(journal_t *journal, int write) argument
[all...]
/fs/cachefiles/
H A Ddaemon.c56 .write = cachefiles_daemon_write,
/fs/coda/
H A Dpsdev.c347 .write = coda_psdev_write,
/fs/dlm/
H A Dplock.c419 /* a write copies in one plock result that should match a plock_op
482 .write = dev_write,
/fs/fat/
H A Dfile.c174 .write = new_sync_write,
238 /* First, we write the new file size. */
301 * trying to write into the hole.

Completed in 521 milliseconds

12345