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

/linux-master/tools/testing/selftests/powerpc/syscalls/
H A Dipc.h31 DO_TEST(msgctl, __NR_msgctl)
/linux-master/tools/testing/selftests/ipc/
H A Dmsgque.c77 if (msgctl(id, IPC_RMID, NULL))
124 if (msgctl(msgque->msq_id, IPC_RMID, NULL)) {
138 ret = msgctl(kern_id, MSG_STAT, &ds);
249 if (msgctl(msgque.msq_id, IPC_RMID, NULL)) {
/linux-master/drivers/pci/msi/
H A Dmsi.c188 u16 msgctl; local
190 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl);
191 msgctl &= ~PCI_MSI_FLAGS_QSIZE;
192 msgctl |= FIELD_PREP(PCI_MSI_FLAGS_QSIZE, desc->pci.msi_attrib.multiple);
193 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, msgctl);
203 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl);
476 u16 msgctl; local
481 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl);
482 ret = 1 << FIELD_GET(PCI_MSI_FLAGS_QMASK, msgctl);
/linux-master/kernel/
H A Dsys_ni.c121 COND_SYSCALL(msgctl); variable
122 COND_SYSCALL_COMPAT(msgctl); variable
/linux-master/drivers/ntb/hw/idt/
H A Dntb_hw_idt.h1218 * @msgctl: Messages control registers
1223 unsigned int msgctl[IDT_MSG_CNT]; member in struct:idt_ntb_part
H A Dntb_hw_idt.c1807 idt_sw_write(ndev, partdata_tbl[ndev->part].msgctl[midx], swpmsgctl);
/linux-master/ipc/
H A Dmsg.c397 * This function handles some msgctl commands which require the rwsem
640 SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf)
774 COMPAT_SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, void __user *, uptr)

Completed in 192 milliseconds