Home
last modified time | relevance | path

Searched refs:comm_buf (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/firmware/efi/stmm/
H A Dtee_stmm_efi.c51 static efi_status_t tee_mm_communicate(void *comm_buf, size_t dsize) in tee_mm_communicate() argument
60 if (!comm_buf) in tee_mm_communicate()
63 mm_hdr = (struct efi_mm_communicate_header *)comm_buf; in tee_mm_communicate()
69 shm = tee_shm_register_kernel_buf(pvt_data.ctx, comm_buf, buf_size); in tee_mm_communicate()
124 static efi_status_t mm_communicate(u8 *comm_buf, size_t payload_size) in mm_communicate() argument
133 mm_hdr = (struct efi_mm_communicate_header *)comm_buf; in mm_communicate()
136 ret = tee_mm_communicate(comm_buf, dsize); in mm_communicate()
163 u8 *comm_buf; in setup_mm_hdr() local
176 comm_buf = alloc_pages_exact(COMM_BUF_SIZE(payload_size), in setup_mm_hdr()
178 if (!comm_buf) in setup_mm_hdr()
[all …]
/linux/tools/accounting/
H A Ddelaytop.c630 static int read_comm(int pid, char *comm_buf, size_t buf_size) in read_comm() argument
644 if (fgets(comm_buf, buf_size, fp)) { in read_comm()
645 len = strlen(comm_buf); in read_comm()
646 if (len > 0 && comm_buf[len - 1] == '\n') in read_comm()
647 comm_buf[len - 1] = '\0'; in read_comm()