Searched refs:msgctl (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dipc.h35 * Control commands used with semctl, msgctl and shmctl
44 * Version flags for semctl, msgctl, and shmctl commands
H A Dmsg.h41 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
64 * decrease the size with msgctl(IPC_SET), root tasks
/linux-4.1.27/tools/testing/selftests/ipc/
H A Dmsgque.c75 if (msgctl(id, IPC_RMID, 0)) restore_queue()
122 if (msgctl(msgque->msq_id, IPC_RMID, 0)) { check_and_destroy_queue()
136 ret = msgctl(kern_id, MSG_STAT, &ds); dump_queue()
248 if (msgctl(msgque.msq_id, IPC_RMID, 0)) { main()
/linux-4.1.27/drivers/pci/
H A Dmsi.c355 u16 msgctl; __pci_write_msi_msg() local
357 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl); __pci_write_msi_msg()
358 msgctl &= ~PCI_MSI_FLAGS_QSIZE; __pci_write_msi_msg()
359 msgctl |= entry->msi_attrib.multiple << 4; __pci_write_msi_msg()
360 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, msgctl); __pci_write_msi_msg()
899 u16 msgctl; pci_msi_vec_count() local
904 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); pci_msi_vec_count()
905 ret = 1 << ((msgctl & PCI_MSI_FLAGS_QMASK) >> 1); pci_msi_vec_count()
/linux-4.1.27/arch/parisc/kernel/
H A Dsyscall_table.S289 ENTRY_COMP(msgctl)
/linux-4.1.27/ipc/
H A Dmsg.c335 * This function handles some msgctl commands which require the rwsem
522 SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) SYSCALL_DEFINE3()
H A Dcompat.c498 COMPAT_SYSCALL_DEFINE3(msgctl, int, first, int, second, void __user *, uptr) COMPAT_SYSCALL_DEFINE3()
/linux-4.1.27/arch/ia64/kernel/
H A Dfsys.S640 data8 0 // msgctl

Completed in 205 milliseconds