Searched refs:msgsz (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_debug.c | 528 u16 msgsz; in ft1000_ioctl() local 554 result = get_user(msgsz, (__u16 __user *)argp); in ft1000_ioctl() 557 msgsz = ntohs(msgsz); in ft1000_ioctl() 560 if (msgsz > MAX_CMD_SQSIZE) { in ft1000_ioctl() 561 pr_debug("bad message length = %d\n", msgsz); in ft1000_ioctl() 567 dpram_data = kmalloc(msgsz + 2, GFP_KERNEL); in ft1000_ioctl() 571 if (copy_from_user(dpram_data, argp, msgsz+2)) { in ft1000_ioctl() 625 if ((msgsz < MAX_CMD_SQSIZE) && (msgsz > PSEUDOSZ)) { in ft1000_ioctl() 629 total_len = msgsz+2; in ft1000_ioctl()
|
/linux-4.1.27/ipc/ |
D | msg.c | 608 size_t msgsz, int msgflg) in do_msgsnd() argument 617 if (msgsz > ns->msg_ctlmax || (long) msgsz < 0 || msqid < 0) in do_msgsnd() 622 msg = load_msg(mtext, msgsz); in do_msgsnd() 627 msg->m_ts = msgsz; in do_msgsnd() 655 if (msgsz + msq->q_cbytes <= msq->q_qbytes && in do_msgsnd() 702 msq->q_cbytes += msgsz; in do_msgsnd() 704 atomic_add(msgsz, &ns->msg_bytes); in do_msgsnd() 720 SYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE4() argument 727 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg); in SYSCALL_DEFINE4() 754 size_t msgsz; in do_msg_fill() local [all …]
|
D | compat.c | 313 size_t msgsz; in compat_do_msg_fill() local 318 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in compat_do_msg_fill() 319 if (store_msg(msgp->mtext, msg, msgsz)) in compat_do_msg_fill() 321 return msgsz; in compat_do_msg_fill() 419 compat_ssize_t, msgsz, int, msgflg) in COMPAT_SYSCALL_DEFINE4() argument 426 return do_msgsnd(msqid, mtype, up->mtext, (ssize_t)msgsz, msgflg); in COMPAT_SYSCALL_DEFINE4() 430 compat_ssize_t, msgsz, compat_long_t, msgtyp, int, msgflg) in COMPAT_SYSCALL_DEFINE5() argument 432 return do_msgrcv(msqid, compat_ptr(msgp), (ssize_t)msgsz, (long)msgtyp, in COMPAT_SYSCALL_DEFINE5()
|
/linux-4.1.27/include/linux/ |
D | msg.h | 36 size_t msgsz, int msgflg);
|
D | compat.h | 322 compat_ssize_t msgsz, int msgflg); 324 compat_ssize_t msgsz, compat_long_t msgtyp, int msgflg);
|
D | syscalls.h | 659 size_t msgsz, int msgflg); 661 size_t msgsz, long msgtyp, int msgflg);
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_intr.c | 453 unsigned supp_msgs, char *msg, u32 msgsz) in handle_supp_msgs() argument 462 iserr = ipath_decode_err(dd, msg, msgsz, in handle_supp_msgs() 500 u32 msgsz, int *noprint) in handle_frequent_errors() argument 519 handle_supp_msgs(dd, supp_msgs, msg, msgsz); in handle_frequent_errors()
|