Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 75) sorted by relevance

123

/arch/um/drivers/
Dmconsole_user.c66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse()
84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request()
91 if (req->request.magic != MCONSOLE_MAGIC) { in mconsole_get_request()
93 len = MIN(sizeof(req->request.data) - 1, in mconsole_get_request()
94 strlen((char *) &req->request)); in mconsole_get_request()
95 memmove(req->request.data, &req->request, len); in mconsole_get_request()
96 req->request.data[len] = '\0'; in mconsole_get_request()
98 req->request.magic = MCONSOLE_MAGIC; in mconsole_get_request()
99 req->request.version = 0; in mconsole_get_request()
100 req->request.len = len; in mconsole_get_request()
[all …]
Dvirtio_uml.c275 bool need_response, u32 request) in vhost_user_send_no_payload() argument
278 .header.request = request, in vhost_user_send_no_payload()
285 u32 request, int fd) in vhost_user_send_no_payload_fd() argument
288 .header.request = request, in vhost_user_send_no_payload_fd()
295 u32 request, u64 value) in vhost_user_send_u64() argument
298 .header.request = request, in vhost_user_send_u64()
387 switch (msg.msg.header.request) { in vu_req_read_message()
407 msg.msg.header.request); in vu_req_read_message()
535 msg->header.request = VHOST_USER_GET_CONFIG; in vhost_user_get_config()
585 msg->header.request = VHOST_USER_SET_CONFIG; in vhost_user_set_config()
[all …]
Dmconsole_kern.c71 req->request.cmd->handler(&req->request); in mc_work_proc()
94 new->request = req; in mconsole_interrupt()
95 new->request.regs = get_irq_regs()->regs; in mconsole_interrupt()
118 char *ptr = req->request.data; in mconsole_log()
122 len = req->len - (ptr - req->request.data); in mconsole_log()
134 char *ptr = req->request.data; in mconsole_proc()
476 char *ptr = req->request.data, *name, *error_string = ""; in mconsole_config()
502 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove()
628 char *ptr = req->request.data; in mconsole_sysrq()
664 char *ptr = req->request.data; in mconsole_stack()
/arch/s390/pci/
Dpci_clp.c129 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fngrp()
130 rrb->request.hdr.cmd = CLP_QUERY_PCI_FNGRP; in clp_query_pci_fngrp()
132 rrb->request.pfgid = pfgid; in clp_query_pci_fngrp()
196 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fn()
197 rrb->request.hdr.cmd = CLP_QUERY_PCI_FN; in clp_query_pci_fn()
199 rrb->request.fh = zdev->fh; in clp_query_pci_fn()
239 rrb->request.hdr.len = sizeof(rrb->request); in clp_set_pci_fn()
240 rrb->request.hdr.cmd = CLP_SET_PCI_FN; in clp_set_pci_fn()
242 rrb->request.fh = zdev->fh; in clp_set_pci_fn()
243 rrb->request.oc = command; in clp_set_pci_fn()
[all …]
/arch/microblaze/kernel/
Dptrace.c78 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
84 switch (request) { in arch_ptrace()
90 if (addr >= PT_SIZE && request == PTRACE_PEEKUSR) { in arch_ptrace()
107 if (request == PTRACE_PEEKUSR) in arch_ptrace()
127 if (rval == 0 && request == PTRACE_PEEKUSR) in arch_ptrace()
131 rval = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/arm/mach-omap2/
Domap-iommu.c113 int omap_iommu_set_pwrdm_constraint(struct platform_device *pdev, bool request, in omap_iommu_set_pwrdm_constraint() argument
124 if (request) { in omap_iommu_set_pwrdm_constraint()
132 next_pwrst = request ? PWRDM_POWER_ON : *pwrst; in omap_iommu_set_pwrdm_constraint()
137 if (!request) in omap_iommu_set_pwrdm_constraint()
/arch/um/kernel/
Dptrace.c44 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
51 switch (request) { in arch_ptrace()
106 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
108 ret = subarch_ptrace(child, request, addr, data); in arch_ptrace()
Dprocess.c127 fn = current->thread.request.u.thread.proc; in new_thread_handler()
128 arg = current->thread.request.u.thread.arg; in new_thread_handler()
177 p->thread.request.u.thread.proc = (int (*)(void *))sp; in copy_thread()
178 p->thread.request.u.thread.arg = (void *)arg; in copy_thread()
/arch/s390/include/asm/
Dpci_clp.h190 struct clp_req_slpc request; member
195 struct clp_req_list_pci request; member
200 struct clp_req_set_pci request; member
205 struct clp_req_query_pci request; member
210 struct clp_req_query_pci_grp request; member
/arch/nds32/kernel/
Dptrace.c68 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, in arch_ptrace() argument
73 switch (request) { in arch_ptrace()
75 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/um/kernel/skas/
Dprocess.c43 init_task.thread.request.u.thread.proc = start_kernel_proc; in start_uml()
44 init_task.thread.request.u.thread.arg = NULL; in start_uml()
/arch/openrisc/kernel/
Dptrace.c139 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, in arch_ptrace() argument
144 switch (request) { in arch_ptrace()
146 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/powerpc/platforms/pseries/
Dmsi.c214 int request; member
244 req = counts->request; in count_spare_msis()
266 static int msi_quota_for_device(struct pci_dev *dev, int request) in msi_quota_for_device() argument
273 request); in msi_quota_for_device()
298 if (request <= counts.quota) in msi_quota_for_device()
303 counts.request = request; in msi_quota_for_device()
315 request = min(counts.quota, request); in msi_quota_for_device()
317 pr_debug("rtas_msi: request clamped to quota %d\n", request); in msi_quota_for_device()
321 return request; in msi_quota_for_device()
/arch/powerpc/kernel/ptrace/
Dptrace32.c38 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
45 switch (request) { in compat_arch_ptrace()
296 ret = arch_ptrace(child, request, addr, data); in compat_arch_ptrace()
300 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/um/include/asm/
Dprocessor-generic.h47 } request; member
56 .request = { 0 } \
/arch/xtensa/platforms/iss/include/platform/
Dsimcall.h44 static inline int simc_ioctl(int fd, int request, void *arg) in simc_ioctl() argument
47 return __simc(SYS_ioctl, fd, request, (int) arg); in simc_ioctl()
/arch/h8300/kernel/
Dptrace.c159 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
164 switch (request) { in arch_ptrace()
166 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/arm64/include/asm/
Dmte.h73 int mte_ptrace_copy_tags(struct task_struct *child, long request,
119 long request, unsigned long addr, in mte_ptrace_copy_tags() argument
/arch/parisc/kernel/
Dptrace.c123 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
136 switch (request) { in arch_ptrace()
216 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
253 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
259 switch (request) { in compat_arch_ptrace()
287 ret = arch_ptrace(child, request, addr, data); in compat_arch_ptrace()
316 return arch_ptrace(child, request, addr, data); in compat_arch_ptrace()
319 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/x86/kernel/
Dptrace.c711 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
725 switch (request) { in arch_ptrace()
829 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
1045 static long ia32_arch_ptrace(struct task_struct *child, compat_long_t request, in ia32_arch_ptrace() argument
1054 switch (request) { in ia32_arch_ptrace()
1102 return arch_ptrace(child, request, addr, data); in ia32_arch_ptrace()
1105 return compat_ptrace_request(child, request, addr, data); in ia32_arch_ptrace()
1114 compat_long_t request, compat_ulong_t caddr, in x32_arch_ptrace() argument
1122 switch (request) { in x32_arch_ptrace()
1193 return compat_ptrace_request(child, request, addr, data); in x32_arch_ptrace()
[all …]
/arch/riscv/kernel/
Dptrace.c225 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
230 switch (request) { in arch_ptrace()
232 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/mips/kernel/
Dptrace32.c43 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
50 switch (request) { in compat_arch_ptrace()
312 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/sparc/kernel/
Dptrace_32.c360 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
373 switch(request) { in arch_ptrace()
427 if (request == PTRACE_SPARC_DETACH) in arch_ptrace()
428 request = PTRACE_DETACH; in arch_ptrace()
429 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/arm/mach-footbridge/
Ddma.c40 .request = fb_dma_request,
/arch/arm/include/asm/mach/
Ddma.h15 int (*request)(unsigned int, dma_t *); /* optional */ member

123