create_mbx_421
long create_mbx_421(const char __user *name, unsigned long size);
Description
Initializes memory in the kernel with size bytes that can be referred to by the specified name. If name is already in use the appropriate error code should be returned.
Parameters
- name: A string of up to 64 characters to read from user-space. Must be manually nul terminated if it is not terminated by the limit of 64.
- size: The default size (in bytes) to initialize the mailbox with
Return
On success the function should return 0. Otherwise the function must return an appropriate error code as discussed in the system description.