Searched refs:len (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | msgutil.c | 46 static struct msg_msg *alloc_msg(size_t len) in alloc_msg() argument 52 alen = min(len, DATALEN_MSG); in alloc_msg() 60 len -= alen; in alloc_msg() 62 while (len > 0) { in alloc_msg() 67 alen = min(len, DATALEN_SEG); in alloc_msg() 74 len -= alen; in alloc_msg() 84 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() argument 91 msg = alloc_msg(len); in load_msg() 95 alen = min(len, DATALEN_MSG); in load_msg() 100 len -= alen; in load_msg() [all …]
|
D | util.h | 197 extern struct msg_msg *load_msg(const void __user *src, size_t len); 199 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len);
|
D | shm.c | 535 loff_t len) in shm_fallocate() argument 541 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate() 545 unsigned long addr, unsigned long len, unsigned long pgoff, in shm_get_unmapped_area() argument 550 return sfd->file->f_op->get_unmapped_area(sfd->file, addr, len, in shm_get_unmapped_area()
|