Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 7 of 7) sorted by relevance

/arch/x86/lib/
Dinsn.c61 void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) in insn_init() argument
67 if (buf_len > MAX_INSN_SIZE) in insn_init()
68 buf_len = MAX_INSN_SIZE; in insn_init()
72 insn->end_kaddr = kaddr + buf_len; in insn_init()
736 int insn_decode(struct insn *insn, const void *kaddr, int buf_len, enum insn_mode m) in insn_decode() argument
743 insn_init(insn, kaddr, buf_len, IS_ENABLED(CONFIG_X86_64)); in insn_decode()
745 insn_init(insn, kaddr, buf_len, m == INSN_MODE_64); in insn_decode()
/arch/s390/kernel/
Dmachine_kexec_file.c338 unsigned long buf_len) in arch_kexec_kernel_image_probe() argument
345 if (buf_len < HEAD_END) in arch_kexec_kernel_image_probe()
348 return kexec_image_probe_default(image, buf, buf_len); in arch_kexec_kernel_image_probe()
/arch/x86/include/asm/
Dinsn.h134 extern void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64);
151 extern int insn_decode(struct insn *insn, const void *kaddr, int buf_len, enum insn_mode m);
/arch/powerpc/platforms/pseries/
Dpapr_scm.c506 unsigned int buf_len) in is_cmd_valid() argument
529 buf_len < (sizeof(struct nd_cmd_pkg) + ND_PDSM_HDR_SIZE)) { in is_cmd_valid()
531 buf_len); in is_cmd_valid()
789 unsigned int buf_len, int *cmd_rc) in papr_scm_ndctl() argument
796 rc = is_cmd_valid(nvdimm, cmd, buf, buf_len); in papr_scm_ndctl()
/arch/powerpc/platforms/ps3/
Dos-area.c606 const unsigned int buf_len = 8 * OS_AREA_SEGMENT_SIZE; in update_flash_db() local
615 header = kmalloc(buf_len, GFP_KERNEL); in update_flash_db()
619 count = os_area_flash_read(header, buf_len, 0); in update_flash_db()
/arch/powerpc/kexec/
Dfile_load_64.c1194 unsigned long buf_len) in arch_kexec_kernel_image_probe() argument
1205 return kexec_image_probe_default(image, buf, buf_len); in arch_kexec_kernel_image_probe()
/arch/sparc/include/asm/
Dhypervisor.h136 unsigned long buf_len,