Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 18 of 18) sorted by relevance

/arch/x86/lib/
Dcmdline.c122 const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument
191 if (++len < bufsize) in __cmdline_find_option()
198 if (bufsize) in __cmdline_find_option()
210 int bufsize) in cmdline_find_option() argument
213 buffer, bufsize); in cmdline_find_option()
/arch/powerpc/platforms/pseries/
Dreconfig.c194 static int do_add_node(char *buf, size_t bufsize) in do_add_node() argument
202 end = buf + bufsize; in do_add_node()
252 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node() argument
272 static int do_add_property(char *buf, size_t bufsize) in do_add_property() argument
279 end = buf + bufsize; in do_add_property()
280 buf = parse_node(buf, bufsize, &np); in do_add_property()
297 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property() argument
301 buf = parse_node(buf, bufsize, &np); in do_remove_property()
316 static int do_update_property(char *buf, size_t bufsize) in do_update_property() argument
323 buf = parse_node(buf, bufsize, &np); in do_update_property()
[all …]
/arch/x86/boot/compressed/
Dcmdline.c23 int cmdline_find_option(const char *option, char *buffer, int bufsize) in cmdline_find_option() argument
25 return __cmdline_find_option(get_cmd_line_ptr(), option, buffer, bufsize); in cmdline_find_option()
Dmisc.h69 int cmdline_find_option(const char *option, char *buffer, int bufsize);
/arch/x86/boot/
Dcmdline.c28 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument
80 if (len < bufsize-1) in __cmdline_find_option()
88 if (bufsize) in __cmdline_find_option()
Dboot.h282 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize);
284 static inline int cmdline_find_option(const char *option, char *buffer, int bufsize) in cmdline_find_option() argument
291 return __cmdline_find_option(cmd_line_ptr, option, buffer, bufsize); in cmdline_find_option()
/arch/powerpc/boot/
Dlibfdt-wrapper.c159 int bufsize; in fdt_init() local
174 bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; in fdt_init()
175 buf = malloc(bufsize); in fdt_init()
179 err = fdt_open_into(fdt, buf, bufsize); in fdt_init()
/arch/sparc/prom/
Dtree_64.c118 char *buffer, int bufsize) in prom_getproperty() argument
124 if ((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
133 args[6] = bufsize; in prom_getproperty()
378 int prom_ihandle2path(int handle, char *buffer, int bufsize) in prom_ihandle2path() argument
387 args[5] = bufsize; in prom_ihandle2path()
Dtree_32.c110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() argument
116 if((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
/arch/x86/include/asm/
Dcmdline.h7 char *buffer, int bufsize);
/arch/sparc/include/asm/
Doplib_64.h212 int bufsize);
247 int prom_ihandle2path(int handle, char *buffer, int bufsize);
Doplib_32.h143 void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
/arch/ia64/kernel/
Dsalinfo.c438 u64 bufsize; in salinfo_log_read() local
442 bufsize = data->log_size; in salinfo_log_read()
445 bufsize = data->oemdata_size; in salinfo_log_read()
448 bufsize = 0; in salinfo_log_read()
450 return simple_read_from_buffer(buffer, count, ppos, buf, bufsize); in salinfo_log_read()
/arch/x86/platform/olpc/
Dolpc_dt.c70 char *buf, int bufsize) in olpc_dt_getproperty() argument
75 if (plen > bufsize || plen < 1) { in olpc_dt_getproperty()
/arch/powerpc/include/asm/
Dfsl_hcalls.h492 static inline unsigned int fh_err_get_info(int queue, uint32_t *bufsize, in fh_err_get_info() argument
504 r4 = *bufsize; in fh_err_get_info()
515 *bufsize = r4; in fh_err_get_info()
/arch/m68k/include/asm/
Doplib.h242 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
/arch/s390/kvm/
Dkvm-s390.c1947 u8 *res, unsigned long bufsize) in kvm_s390_peek_cmma() argument
1952 while (args->count < bufsize) { in kvm_s390_peek_cmma()
1999 u8 *res, unsigned long bufsize) in kvm_s390_get_cmma() argument
2014 while (args->count < bufsize) { in kvm_s390_get_cmma()
2033 (next_gfn - args->start_gfn >= bufsize)) in kvm_s390_get_cmma()
2057 unsigned long bufsize; in kvm_s390_get_cmma_bits() local
2071 bufsize = min(args->count, KVM_S390_CMMA_SIZE_MAX); in kvm_s390_get_cmma_bits()
2072 if (!bufsize || !kvm->mm->context.uses_cmm) { in kvm_s390_get_cmma_bits()
2082 values = vmalloc(bufsize); in kvm_s390_get_cmma_bits()
2089 ret = kvm_s390_peek_cmma(kvm, args, values, bufsize); in kvm_s390_get_cmma_bits()
[all …]
/arch/powerpc/kernel/
Dnvram_64.c554 nvram_pstore_info.bufsize = oops_data_sz; in nvram_pstore_init()