Home
last modified time | relevance | path

Searched refs:newlen (Results 1 – 12 of 12) sorted by relevance

/arch/mips/lasat/
Dsysctl.c43 void *newval, size_t newlen) in sysctl_lasatstring() argument
47 r = sysctl_string(table, oldval, oldlenp, newval, newlen); in sysctl_lasatstring()
51 if (newval && newlen) in sysctl_lasatstring()
117 void *newval, size_t newlen) in sysctl_lasat_intvec() argument
121 r = sysctl_intvec(table, oldval, oldlenp, newval, newlen); in sysctl_lasat_intvec()
125 if (newval && newlen) in sysctl_lasat_intvec()
135 void *newval, size_t newlen) in sysctl_lasat_rtc() argument
142 r = sysctl_intvec(table, oldval, oldlenp, newval, newlen); in sysctl_lasat_rtc()
145 if (newval && newlen) in sysctl_lasat_rtc()
215 void *newval, size_t newlen) in sysctl_lasat_prid() argument
[all …]
/arch/m68k/sun3/
Dsun3dvma.c165 unsigned long newlen; in get_baddr() local
170 newlen = len + ((hole->end - len) & (align-1)); in get_baddr()
172 newlen = len; in get_baddr()
174 if(hole->size > newlen) { in get_baddr()
175 hole->end -= newlen; in get_baddr()
176 hole->size -= newlen; in get_baddr()
177 dvma_entry_use(hole->end) = newlen; in get_baddr()
180 dvma_alloc_bytes += newlen; in get_baddr()
183 } else if(hole->size == newlen) { in get_baddr()
185 dvma_entry_use(hole->start) = newlen; in get_baddr()
[all …]
/arch/frv/kernel/
Dpm.c216 void __user *newval, size_t newlen) in cmode_sysctl() argument
231 if (newval && newlen) { in cmode_sysctl()
234 if (newlen != sizeof(int)) in cmode_sysctl()
319 void __user *newval, size_t newlen) in p0_sysctl() argument
334 if (newval && newlen) { in p0_sysctl()
337 if (newlen != sizeof(int)) in p0_sysctl()
363 void __user *newval, size_t newlen) in cm_sysctl() argument
378 if (newval && newlen) { in cm_sysctl()
381 if (newlen != sizeof(int)) in cm_sysctl()
/arch/powerpc/boot/libfdt/
Dfdt_rw.c97 static int _fdt_splice(void *fdt, void *splicepoint, int oldlen, int newlen) in _fdt_splice() argument
104 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
106 memmove(p + newlen, p + oldlen, end - p - oldlen); in _fdt_splice()
124 int oldlen, int newlen) in _fdt_splice_struct() argument
126 int delta = newlen - oldlen; in _fdt_splice_struct()
129 if ((err = _fdt_splice(fdt, p, oldlen, newlen))) in _fdt_splice_struct()
137 static int _fdt_splice_string(void *fdt, int newlen) in _fdt_splice_string() argument
143 if ((err = _fdt_splice(fdt, p, 0, newlen))) in _fdt_splice_string()
146 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) + newlen); in _fdt_splice_string()
254 int oldlen, newlen; in fdt_set_name() local
[all …]
/arch/powerpc/boot/dtc-src/
Ddata.c288 int newlen = ALIGN(d.len, align); in data_append_align() local
289 return data_append_zeroes(d, newlen - d.len); in data_append_align()
/arch/parisc/kernel/
Dsys_parisc32.c107 u32 newlen; member
149 (void __user *)(u64)tmp.newval, tmp.newlen); in sys32_sysctl()
/arch/mips/kernel/
Dlinux32.c276 compat_size_t newlen; member
308 oldlenp, (void __user *)A(tmp.newval), tmp.newlen);
/arch/powerpc/kernel/
Dsys_ppc32.c519 u32 newlen; member
550 compat_ptr(tmp.newval), tmp.newlen); in compat_sys_sysctl()
/arch/sparc/kernel/
Dsys_sparc32.c610 u32 newlen; member
646 tmp.newlen); in sys32_sysctl()
/arch/x86/ia32/
Dsys_ia32.c467 unsigned int newlen; member
505 newvalp, (size_t) a32.newlen); in sys32_sysctl()
/arch/s390/kernel/
Dcompat_linux.c579 u32 newlen; member
609 oldlenp, compat_ptr(tmp.newval), tmp.newlen); in sys32_sysctl()
/arch/ia64/ia32/
Dsys_ia32.c1637 unsigned int newlen; member
1675 newvalp, (size_t) a32.newlen); in sys32_sysctl()