Home
last modified time | relevance | path

Searched refs:buff_copy (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Drtas.c453 char *buff_copy = NULL; in rtas_call() local
471 buff_copy = __fetch_rtas_last_error(NULL); in rtas_call()
480 if (buff_copy) { in rtas_call()
481 log_error(buff_copy, ERR_TYPE_RTAS_LOG, 0); in rtas_call()
483 kfree(buff_copy); in rtas_call()
1058 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local
1110 buff_copy = get_errorlog_buffer(); in SYSCALL_DEFINE1()
1121 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1()
1125 if (buff_copy) { in SYSCALL_DEFINE1()
1128 kfree(buff_copy); in SYSCALL_DEFINE1()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c1842 size_t buff_copy; in _dpu_crtc_misr_setup() local
1848 buff_copy = min_t(size_t, count, MISR_BUFF_SIZE); in _dpu_crtc_misr_setup()
1849 if (copy_from_user(buf, user_buf, buff_copy)) { in _dpu_crtc_misr_setup()
1854 buf[buff_copy] = 0; /* end of string */ in _dpu_crtc_misr_setup()
Ddpu_encoder.c1964 size_t buff_copy; in _dpu_encoder_misr_setup() local
1972 buff_copy = min_t(size_t, count, MISR_BUFF_SIZE); in _dpu_encoder_misr_setup()
1973 if (copy_from_user(buf, user_buf, buff_copy)) in _dpu_encoder_misr_setup()
1976 buf[buff_copy] = 0; /* end of string */ in _dpu_encoder_misr_setup()