Home
last modified time | relevance | path

Searched refs:brk (Results 1 – 25 of 76) sorted by relevance

1234

/linux-2.4.37.9/arch/ppc/boot/prep/
Dkbd.c22 unsigned char dt, brk, val; in kbd() local
32 brk = dt & 0x80; /* brk == 1 on key release */ in kbd()
45 if (brk) in kbd()
54 if (brk) in kbd()
61 if (brk) in kbd()
77 if (brk) in kbd()
90 shfts = brk ? 0 : 1; in kbd()
94 alts = brk ? 0 : 1; in kbd()
99 ctls = brk ? 0 : 1; in kbd()
109 if (brk) in kbd()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsys_ia64.c100 ia64_brk (unsigned long brk) in ia64_brk() argument
113 if (brk < mm->end_code) in ia64_brk()
115 newbrk = PAGE_ALIGN(brk); in ia64_brk()
116 oldbrk = PAGE_ALIGN(mm->brk); in ia64_brk()
121 if (brk <= mm->brk) { in ia64_brk()
133 if (rlim < RLIM_INFINITY && brk - mm->start_data > rlim) in ia64_brk()
148 mm->brk = brk; in ia64_brk()
150 retval = mm->brk; in ia64_brk()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c142 asmlinkage int sunos_brk(unsigned long brk) in sunos_brk() argument
150 if(brk >= 0x20000000 && brk < 0xe0000000) { in sunos_brk()
155 if (brk < current->mm->end_code) in sunos_brk()
158 newbrk = PAGE_ALIGN(brk); in sunos_brk()
159 oldbrk = PAGE_ALIGN(current->mm->brk); in sunos_brk()
162 current->mm->brk = brk; in sunos_brk()
169 if (brk <= current->mm->brk) { in sunos_brk()
170 current->mm->brk = brk; in sunos_brk()
181 if (brk - current->mm->end_code > rlim) in sunos_brk()
207 current->mm->brk = brk; in sunos_brk()
[all …]
Dsys_sparc.c81 extern asmlinkage unsigned long sys_brk(unsigned long brk);
83 asmlinkage unsigned long sparc_brk(unsigned long brk) in sparc_brk() argument
86 if ((brk & 0xe0000000) != (current->mm->brk & 0xe0000000)) in sparc_brk()
87 return current->mm->brk; in sparc_brk()
89 return sys_brk(brk); in sparc_brk()
/linux-2.4.37.9/drivers/char/
Dhp_keyb.c462 static int brk; in handle_at_scancode() local
473 brk = 0x80; in handle_at_scancode()
496 if (esc1==2) scancode = brk | 0x1d; in handle_at_scancode()
499 if (esc1==1) scancode = brk | 0x45; in handle_at_scancode()
505 if (esc0==1) scancode = brk | 0x2a; in handle_at_scancode()
511 if (!scancode) scancode = brk | keycode_translate[keyval]; in handle_at_scancode()
523 brk = 0; in handle_at_scancode()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc.c138 extern asmlinkage unsigned long sys_brk(unsigned long brk);
140 asmlinkage unsigned long sparc_brk(unsigned long brk) in sparc_brk() argument
144 brk >= 0xf0000000UL) in sparc_brk()
145 return current->mm->brk; in sparc_brk()
147 if ((current->mm->brk & PAGE_OFFSET) != (brk & PAGE_OFFSET)) in sparc_brk()
148 return current->mm->brk; in sparc_brk()
149 return sys_brk(brk); in sparc_brk()
Dsys_sunos32.c127 unsigned long newbrk, oldbrk, brk = (unsigned long) baddr; in sunos_brk() local
130 if (brk < current->mm->end_code) in sunos_brk()
132 newbrk = PAGE_ALIGN(brk); in sunos_brk()
133 oldbrk = PAGE_ALIGN(current->mm->brk); in sunos_brk()
136 current->mm->brk = brk; in sunos_brk()
140 if (brk <= current->mm->brk) { in sunos_brk()
141 current->mm->brk = brk; in sunos_brk()
150 if (brk - current->mm->end_code > rlim) in sunos_brk()
169 current->mm->brk = brk; in sunos_brk()
182 oldbrk = (int)current->mm->brk; in sunos_sbrk()
[all …]
Dbinfmt_aout32.c241 current->mm->brk = ex.a_bss + in load_aout32_binary()
318 set_brk(current->mm->start_brk, current->mm->brk); in load_aout32_binary()
/linux-2.4.37.9/include/linux/
Dserial.h22 __u32 frame, parity, overrun, brk; member
170 int frame, overrun, parity, brk; member
Dsynclink.h201 __u32 frame, parity, overrun, brk; member
/linux-2.4.37.9/mm/
Dmmap.c150 asmlinkage unsigned long sys_brk(unsigned long brk) in sys_brk() argument
158 if (brk < mm->end_code) in sys_brk()
160 newbrk = PAGE_ALIGN(brk); in sys_brk()
161 oldbrk = PAGE_ALIGN(mm->brk); in sys_brk()
166 if (brk <= mm->brk) { in sys_brk()
174 if (rlim < RLIM_INFINITY && brk - mm->start_data > rlim) in sys_brk()
189 mm->brk = brk; in sys_brk()
191 retval = mm->brk; in sys_brk()
/linux-2.4.37.9/include/asm-ia64/sn/
Dserialio.h144 int (*down_break) (sioport_t *port, int brk);
225 #define DOWN_BREAK(p, brk) \ argument
226 ((p)->sio_calldown->down_break(p, brk))
/linux-2.4.37.9/arch/mips/kernel/
Dsysirix.c530 asmlinkage int irix_brk(unsigned long brk) in irix_brk() argument
538 if (brk < mm->end_code) { in irix_brk()
543 newbrk = PAGE_ALIGN(brk); in irix_brk()
544 oldbrk = PAGE_ALIGN(mm->brk); in irix_brk()
546 mm->brk = brk; in irix_brk()
554 if (brk <= mm->brk) { in irix_brk()
555 mm->brk = brk; in irix_brk()
566 if (brk - mm->end_code > rlim) { in irix_brk()
590 mm->brk = brk; in irix_brk()
/linux-2.4.37.9/fs/
Dbinfmt_som.c167 current->mm->start_brk = current->mm->brk = som_brk; in map_som_binary()
266 printk("(brk) %08lx\n" , (unsigned long) current->mm->brk); in do_load_som_binary()
/linux-2.4.37.9/drivers/usb/serial/
Dwhiteheat.c170 static inline void set_break (struct usb_serial_port *port, unsigned char brk);
667 static inline void set_break (struct usb_serial_port *port, unsigned char brk) in set_break() argument
669 set_command (port, brk, WHITEHEAT_SET_BREAK); in set_break()
/linux-2.4.37.9/net/irda/ircomm/
Dircomm_tty_ioctl.c444 put_user(cnow.brk, &p_cuser->brk) || in ircomm_tty_ioctl()
/linux-2.4.37.9/arch/cris/kernel/
Dsetup.c106 init_mm.brk = (unsigned long) &_end; in setup_arch()
Dprocess.c311 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread()
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c55 asmlinkage unsigned long osf_brk(unsigned long brk) in osf_brk() argument
57 unsigned long retval = sys_brk(brk); in osf_brk()
58 if (brk && brk != retval) in osf_brk()
75 mm->brk = bss_start + bss_len; in osf_set_program_attributes()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ioc4/
Dsio_ioc4.c332 static int ioc4_break (sioport_t *port, int brk);
425 uint brk; member
1643 ioc4_break(sioport_t *port, int brk) in ioc4_break() argument
1663 if (brk) { in ioc4_break()
1677 dprintf(("break port 0x%p, brk %d\n", (void *)port, brk)); in ioc4_break()
1960 DEBUGINC(brk, 1); in ioc4_read()
/linux-2.4.37.9/arch/sparc64/lib/
Dchecksum.S157 jmpl %o5 + %lo(12f), %g0 ! CTI Group brk forced
183 1: retl ! CTI Group brk forced
385 jmpl %o5 + %lo(12f), %g0 ! CTI Group brk forced
414 1: retl ! CTI Group brk forced
/linux-2.4.37.9/arch/arm/kernel/
Dsetup.c276 kernel_data.end = __virt_to_phys(init_mm.brk - 1); in request_standard_resources()
536 init_mm.brk = (unsigned long) &_end; in setup_arch()
/linux-2.4.37.9/arch/s390/kernel/
Dprocess.c279 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread()
/linux-2.4.37.9/arch/sh64/kernel/
Dsetup.c177 init_mm.brk = (unsigned long) &_end; in setup_arch()
/linux-2.4.37.9/arch/s390x/kernel/
Dprocess.c308 dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread()

1234