Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 892) sorted by relevance

12345678910>>...36

/linux-2.4.37.9/kernel/
Dsysctl.c99 int proc_dol2crvec(ctl_table *table, int write, struct file *filp,
101 int proc_dol3crvec(ctl_table *table, int write, struct file *filp,
113 static int proc_doutsstring(ctl_table *table, int write, struct file *filp,
141 write: proc_writesys,
786 static ssize_t do_rw_proc(int write, struct file * file, char * buf, in do_rw_proc() argument
807 op = (write ? 002 : 004); in do_rw_proc()
818 error = (*table->proc_handler)(table, write, file, in do_rw_proc()
864 int proc_dostring(ctl_table *table, int write, struct file *filp, in proc_dostring() argument
871 (filp->f_pos && !write)) { in proc_dostring()
876 if (write) { in proc_dostring()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dperf_asm.S1386 sync ; RDR 0 write sequence
1395 sync ; RDR 1 write sequence
1404 sync ; RDR 2 write sequence
1413 sync ; RDR 3 write sequence
1422 sync ; RDR 4 write sequence
1431 sync ; RDR 5 write sequence
1440 sync ; RDR 6 write sequence
1449 sync ; RDR 7 write sequence
1458 sync ; RDR 8 write sequence
1467 sync ; RDR 9 write sequence
[all …]
/linux-2.4.37.9/arch/ppc/boot/utils/
Dmkprep.c224 write( out, block, sizeof(block) ); in write_prep_partition()
225 write( out, entry, sizeof(*entry) ); in write_prep_partition()
226 write( out, length, sizeof(*length) ); in write_prep_partition()
240 write(out, buf, n); in copy_image()
253 write( out, "\t.data\n\t.globl input_data\ninput_data:\n", in write_asm_data()
266 write( out, "\t.long\t", strlen( "\t.long\t" ) ); in write_asm_data()
269 write( out, str, strlen(str) ); in write_asm_data()
277 write( out, str, strlen(str) ); in write_asm_data()
280 write( out, ",", 1 ); in write_asm_data()
285 write( out, "0\n", 2 ); in write_asm_data()
[all …]
/linux-2.4.37.9/arch/mips/lasat/
Dsysctl.c67 int proc_dolasatstring(ctl_table *table, int write, struct file *filp, in proc_dolasatstring() argument
72 r = proc_dostring(table, write, filp, buffer, lenp); in proc_dolasatstring()
73 if ( (!write) || r) { in proc_dolasatstring()
83 int proc_dolasatint(ctl_table *table, int write, struct file *filp, in proc_dolasatint() argument
88 r = proc_dointvec(table, write, filp, buffer, lenp); in proc_dolasatint()
89 if ( (!write) || r) { in proc_dolasatint()
136 int proc_lasat_ip(ctl_table *table, int write, struct file *filp, in proc_lasat_ip() argument
144 (filp->f_pos && !write)) { in proc_lasat_ip()
150 if (write) { in proc_lasat_ip()
233 int proc_lasat_eeprom_value(ctl_table *table, int write, struct file *filp, in proc_lasat_eeprom_value() argument
[all …]
/linux-2.4.37.9/drivers/hil/
Dhil_kbd.c340 serio->write(serio, 0); in hil_kbd_connect()
341 serio->write(serio, 0); in hil_kbd_connect()
342 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
343 serio->write(serio, HIL_CMD_IDD); in hil_kbd_connect()
346 serio->write(serio, 0); in hil_kbd_connect()
347 serio->write(serio, 0); in hil_kbd_connect()
348 serio->write(serio, HIL_PKT_CMD >> 8); in hil_kbd_connect()
349 serio->write(serio, HIL_CMD_RSC); in hil_kbd_connect()
352 serio->write(serio, 0); in hil_kbd_connect()
353 serio->write(serio, 0); in hil_kbd_connect()
[all …]
Dhil_ptr.c260 serio->write(serio, 0); in hil_ptr_connect()
261 serio->write(serio, 0); in hil_ptr_connect()
262 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
263 serio->write(serio, HIL_CMD_IDD); in hil_ptr_connect()
266 serio->write(serio, 0); in hil_ptr_connect()
267 serio->write(serio, 0); in hil_ptr_connect()
268 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
269 serio->write(serio, HIL_CMD_RSC); in hil_ptr_connect()
272 serio->write(serio, 0); in hil_ptr_connect()
273 serio->write(serio, 0); in hil_ptr_connect()
[all …]
/linux-2.4.37.9/lib/zlib_inflate/
Dinfutil.c37 n = (uInt)((q <= s->write ? s->write : s->end) - q);
59 if (s->write == s->end)
60 s->write = s->window;
63 n = (uInt)(s->write - q);
/linux-2.4.37.9/net/khttpd/
Dsysctl.c74 static int proc_dosecurestring(ctl_table *table, int write, struct file *filp,
76 static int khttpd_stop_wrap_proc_dointvec(ctl_table *table, int write, struct file *filp,
262 static int proc_dosecurestring(ctl_table *table, int write, struct file *filp, in proc_dosecurestring() argument
270 ((filp->f_pos!=0) && (write==0))) { in proc_dosecurestring()
275 if (write!=0) { in proc_dosecurestring()
318 static int khttpd_stop_wrap_proc_dointvec(ctl_table *table, int write, struct file *filp, in khttpd_stop_wrap_proc_dointvec() argument
323 rv = proc_dointvec(table, write, filp, buffer, lenp); in khttpd_stop_wrap_proc_dointvec()
/linux-2.4.37.9/arch/mips/boot/
Daddinitrd.c103 if (write (fd_outfile, &efile, sizeof efile) != sizeof efile) in main()
105 if (write (fd_outfile, &eaout, sizeof eaout) != sizeof eaout) in main()
107 if (write (fd_outfile, esecs, sizeof esecs) != sizeof esecs) in main()
119 if (write (fd_outfile, buf, i) != i) in main()
123 if (write (fd_outfile, initrd_header, sizeof initrd_header) != sizeof initrd_header) in main()
126 if (write (fd_outfile, buf, i) != i) in main()
/linux-2.4.37.9/arch/sparc/mm/
Dfault.c222 asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, in do_sparc_fault() argument
281 if(write) { in do_sparc_fault()
295 switch (handle_mm_fault(mm, vma, address, write)) { in do_sparc_fault()
418 asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, in do_sun4c_fault() argument
431 } else if (!write && in do_sun4c_fault()
438 write = 1; in do_sun4c_fault()
446 if (write) { in do_sun4c_fault()
484 if (pgd_val(*pgdp) && !(write && !(pte_val(*ptep) & _SUN4C_PAGE_WRITE)) in do_sun4c_fault()
495 do_sparc_fault(regs, text_fault, write, address); in do_sun4c_fault()
499 inline void force_user_fault(unsigned long address, int write) in force_user_fault() argument
[all …]
/linux-2.4.37.9/drivers/net/
Daironet4500_proc.c68 int awc_proc_format_array(int write,char * buff, size_t * len, struct awc_rid_dir * rid_dir, struct… in awc_proc_format_array() argument
103 if (!write){ in awc_proc_format_array()
193 int awc_proc_format_bits(int write,u32 * buff, size_t* lenp, struct awc_rid_dir * rid_dir, struct a… in awc_proc_format_bits() argument
217 if (!write){ in awc_proc_format_bits()
259 int awc_proc_fun(ctl_table *ctl, int write, struct file * filp, in awc_proc_fun() argument
275 if (!write && filp) in awc_proc_fun()
299 if ((rid->selector->read_only || rid->read_only) && write){ in awc_proc_fun()
304 if (!write && rid->selector->may_change) { in awc_proc_fun()
312 if (write){ in awc_proc_fun()
313 retv = proc_dostring(ctl, write, filp, buffer, lenp); in awc_proc_fun()
[all …]
/linux-2.4.37.9/arch/x86_64/boot/tools/
Dbuild.c120 if (write(1, buf, 512) != 512) in main()
126 if (write(1, buf, c) != c) in main()
142 if (write(1, buf, c) != c) in main()
170 if (write(1, buf, l) != l) in main()
179 if (write(1, buf, 1) != 1) in main()
185 if (write(1, buf, 2) != 2) in main()
/linux-2.4.37.9/arch/i386/boot/tools/
Dbuild.c120 if (write(1, buf, 512) != 512) in main()
126 if (write(1, buf, c) != c) in main()
142 if (write(1, buf, c) != c) in main()
170 if (write(1, buf, l) != l) in main()
179 if (write(1, buf, 1) != 1) in main()
185 if (write(1, buf, 2) != 2) in main()
/linux-2.4.37.9/arch/ppc/kernel/
Dppc_htab.c37 int proc_dol2crvec(ctl_table *table, int write, struct file *filp,
67 write: ppc_htab_write,
452 int proc_dol2crvec(ctl_table *table, int write, struct file *filp, in proc_dol2crvec() argument
475 if ( /*!table->maxlen ||*/ (filp->f_pos && !write)) { in proc_dol2crvec()
484 if (write) { in proc_dol2crvec()
588 if (!write && !first && left) { in proc_dol2crvec()
593 if (write) { in proc_dol2crvec()
604 if (write && first) in proc_dol2crvec()
611 int proc_dol3crvec(ctl_table *table, int write, struct file *filp, in proc_dol3crvec() argument
635 if (write) in proc_dol3crvec()
[all …]
/linux-2.4.37.9/drivers/parport/
Dprocfs.c33 static int do_active_device(ctl_table *table, int write, struct file *filp, in do_active_device() argument
41 if (write) /* can't happen anyway */ in do_active_device()
70 static int do_autoprobe(ctl_table *table, int write, struct file *filp, in do_autoprobe() argument
78 if (write) /* permissions stop this */ in do_autoprobe()
112 static int do_hardware_base_addr (ctl_table *table, int write, in do_hardware_base_addr() argument
125 if (write) /* permissions prevent this anyway */ in do_hardware_base_addr()
140 static int do_hardware_irq (ctl_table *table, int write, in do_hardware_irq() argument
153 if (write) /* permissions prevent this anyway */ in do_hardware_irq()
168 static int do_hardware_dma (ctl_table *table, int write, in do_hardware_dma() argument
181 if (write) /* permissions prevent this anyway */ in do_hardware_dma()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Dradeon_drv.h844 #define RING_LOCALS int write, _nr; unsigned int mask; u32 *ring;
857 write = dev_priv->ring.tail; \
864 write, dev_priv->ring.tail ); \
866 if (((dev_priv->ring.tail + _nr) & mask) != write) { \
870 write, __LINE__); \
872 dev_priv->ring.tail = write; \
887 (unsigned int)(x), write ); \
889 ring[write++] = (x); \
890 write &= mask; \
903 if (write + _size > mask) { \
[all …]
Dr128_drv.h483 int write; unsigned int tail_mask; volatile u32 *ring;
495 write = dev_priv->ring.tail; \
509 write, dev_priv->ring.tail ); \
511 if ( R128_BROKEN_CCE && write < 32 ) { \
514 write * sizeof(u32) ); \
517 dev_priv->ring.tail = write; \
518 R128_WRITE( R128_PM4_BUFFER_DL_WPTR, write ); \
524 (unsigned int)(x), write ); \
526 ring[write++] = cpu_to_le32( x ); \
527 write &= tail_mask; \
/linux-2.4.37.9/Documentation/filesystems/
Dadfs.txt19 Owner write
21 Other write
30 Owner write -> --w--w---w
36 Other write -> --w--w--w-
41 Hence, with the default masks, if a file is owner read/write, and
52 keep the default write protection (ownmask=0755,othmask=0577):
/linux-2.4.37.9/arch/mips64/mm/
Dfault.c98 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, in do_page_fault() argument
109 current->comm, current->pid, address, write, regs->cp0_epc); in do_page_fault()
149 if (write) { in do_page_fault()
163 switch (handle_mm_fault(mm, vma, address, write)) { in do_page_fault()
188 tsk->thread.error_code = write; in do_page_fault()
193 write ? "write access to" : "read access from", in do_page_fault()
/linux-2.4.37.9/arch/mips/mm/
Dfault.c77 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, in do_page_fault() argument
107 address, write, regs->cp0_epc); in do_page_fault()
126 if (write) { in do_page_fault()
140 switch (handle_mm_fault(mm, vma, address, write)) { in do_page_fault()
166 tsk->thread.error_code = write; in do_page_fault()
171 write ? "write access to" : "read access from", in do_page_fault()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dr128_drv.h427 #define RING_LOCALS int write; unsigned int tail_mask; volatile u32 *ring;
439 write = dev_priv->ring.tail; \
446 write, dev_priv->ring.tail ); \
448 if ( write < 32 ) { \
451 write * sizeof(u32) ); \
454 dev_priv->ring.tail = write; \
455 R128_WRITE( R128_PM4_BUFFER_DL_WPTR, write ); \
461 (unsigned int)(x), write ); \
463 ring[write++] = x; \
464 write &= tail_mask; \
/linux-2.4.37.9/arch/alpha/lib/
Dev6-memset.S57 addq $18,$16,$6 # E : max address to write to
64 xor $16,$6,$1 # E : will complete write be within one quadword?
102 sra $18,3,$3 # U : Number of remaining quads to write
103 and $18,7,$18 # E : Number of trailing bytes to write
160 wh64 ($4) # L1 : memory subsystem write hint
244 addq $18,$16,$6 # E : max address to write to
246 xor $16,$6,$1 # E : will complete write be within one quadword?
279 sra $18,3,$3 # U : Number of remaining quads to write
280 and $18,7,$18 # E : Number of trailing bytes to write
337 wh64 ($4) # L1 : memory subsystem write hint
[all …]
/linux-2.4.37.9/Documentation/
Dmtrr.txt9 a video (VGA) card on a PCI or AGP bus. Enabling write-combining
10 allows bus write transfers to be combined into a larger transfer
12 of image write operations 2.5 times or more.
22 The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These
35 which allows you to read and write. The other is an ioctl()
44 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
45 reg01: base=0x08000000 ( 128MB), size= 64MB: write-back, count=1
48 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
50 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
54 reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
[all …]
/linux-2.4.37.9/include/linux/
Dcoda_proc.h119 int do_reset_coda_vfs_stats( ctl_table * table, int write, struct file * filp,
121 int do_reset_coda_upcall_stats( ctl_table * table, int write,
124 int do_reset_coda_permission_stats( ctl_table * table, int write,
127 int do_reset_coda_cache_inv_stats( ctl_table * table, int write,
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_sysctl.c47 int write, in xfs_refcache_resize_proc_handler() argument
56 ret = proc_dointvec_minmax(ctl, write, filp, buffer, lenp); in xfs_refcache_resize_proc_handler()
59 if (!ret && write && xfs_refcache_new_size != xfs_refcache_old_size) { in xfs_refcache_resize_proc_handler()
73 int write, in xfs_stats_clear_proc_handler() argument
81 ret = proc_dointvec_minmax(ctl, write, filp, buffer, lenp); in xfs_stats_clear_proc_handler()
83 if (!ret && write && *valp) { in xfs_stats_clear_proc_handler()

12345678910>>...36