Home
last modified time | relevance | path

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

1234

/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 …]
Dmconsole_kern.c67 req->request.cmd->handler(&req->request); in mc_work_proc()
90 new->request = req; in mconsole_interrupt()
91 new->request.regs = get_irq_regs()->regs; in mconsole_interrupt()
115 char *ptr = req->request.data; in mconsole_log()
119 len = req->len - (ptr - req->request.data); in mconsole_log()
131 char *ptr = req->request.data; in mconsole_proc()
473 char *ptr = req->request.data, *name, *error_string = ""; in mconsole_config()
499 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove()
625 char *ptr = req->request.data; in mconsole_sysrq()
661 char *ptr = req->request.data; in mconsole_stack()
/arch/mips/jz4740/
Dgpio.c138 int jz_gpio_bulk_request(const struct jz_gpio_bulk_request *request, size_t num) in jz_gpio_bulk_request() argument
143 for (i = 0; i < num; ++i, ++request) { in jz_gpio_bulk_request()
144 ret = gpio_request(request->gpio, request->name); in jz_gpio_bulk_request()
147 jz_gpio_set_function(request->gpio, request->function); in jz_gpio_bulk_request()
153 for (--request; i > 0; --i, --request) { in jz_gpio_bulk_request()
154 gpio_free(request->gpio); in jz_gpio_bulk_request()
155 jz_gpio_set_function(request->gpio, JZ_GPIO_FUNC_NONE); in jz_gpio_bulk_request()
162 void jz_gpio_bulk_free(const struct jz_gpio_bulk_request *request, size_t num) in jz_gpio_bulk_free() argument
166 for (i = 0; i < num; ++i, ++request) { in jz_gpio_bulk_free()
167 gpio_free(request->gpio); in jz_gpio_bulk_free()
[all …]
/arch/s390/pci/
Dpci_clp.c88 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fngrp()
89 rrb->request.hdr.cmd = CLP_QUERY_PCI_FNGRP; in clp_query_pci_fngrp()
91 rrb->request.pfgid = pfgid; in clp_query_pci_fngrp()
141 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fn()
142 rrb->request.hdr.cmd = CLP_QUERY_PCI_FN; in clp_query_pci_fn()
144 rrb->request.fh = fh; in clp_query_pci_fn()
210 rrb->request.hdr.len = sizeof(rrb->request); in clp_set_pci_fn()
211 rrb->request.hdr.cmd = CLP_SET_PCI_FN; in clp_set_pci_fn()
213 rrb->request.fh = *fh; in clp_set_pci_fn()
214 rrb->request.oc = command; in clp_set_pci_fn()
[all …]
/arch/microblaze/kernel/
Dptrace.c77 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
83 switch (request) { in arch_ptrace()
89 if (addr >= PT_SIZE && request == PTRACE_PEEKUSR) { in arch_ptrace()
106 if (request == PTRACE_PEEKUSR) in arch_ptrace()
126 if (rval == 0 && request == PTRACE_PEEKUSR) in arch_ptrace()
130 rval = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/c6x/kernel/
Dptrace.c101 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
106 switch (request) { in arch_ptrace()
112 if (ret == 0 && request == PTRACE_POKETEXT) in arch_ptrace()
116 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/parisc/kernel/
Dptrace.c114 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
120 switch (request) { in arch_ptrace()
172 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
209 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
215 switch (request) { in compat_arch_ptrace()
243 ret = arch_ptrace(child, request, addr, data); in compat_arch_ptrace()
270 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/powerpc/platforms/pseries/
Dmsi.c233 int request; member
263 req = counts->request; in count_spare_msis()
285 static int msi_quota_for_device(struct pci_dev *dev, int request) in msi_quota_for_device() argument
292 request); in msi_quota_for_device()
317 if (request <= counts.quota) in msi_quota_for_device()
322 counts.request = request; in msi_quota_for_device()
334 request = min(counts.quota, request); in msi_quota_for_device()
336 pr_debug("rtas_msi: request clamped to quota %d\n", request); in msi_quota_for_device()
340 return request; in msi_quota_for_device()
/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()
/arch/tile/kernel/
Dptrace.c150 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
159 switch (request) { in arch_ptrace()
221 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
233 ret = compat_ptrace_request(child, request, in arch_ptrace()
238 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
247 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
/arch/um/kernel/skas/
Dprocess.c40 init_task.thread.request.u.thread.proc = start_kernel_proc; in start_uml()
41 init_task.thread.request.u.thread.arg = NULL; in start_uml()
/arch/unicore32/kernel/
Dptrace.c87 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
93 switch (request) { in arch_ptrace()
108 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/s390/include/asm/
Dpci_clp.h167 struct clp_req_list_pci request; member
172 struct clp_req_set_pci request; member
177 struct clp_req_query_pci request; member
182 struct clp_req_query_pci_grp request; member
/arch/cris/arch-v10/kernel/
Dptrace.c78 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
85 switch (request) { in arch_ptrace()
174 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/openrisc/kernel/
Dptrace.c159 long arch_ptrace(struct task_struct *child, long request, unsigned long addr, in arch_ptrace() argument
164 switch (request) { in arch_ptrace()
166 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/um/include/asm/
Dprocessor-generic.h45 } request; member
54 .request = { 0 } \
/arch/powerpc/kernel/
Dptrace32.c47 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
54 switch (request) { in compat_arch_ptrace()
308 ret = arch_ptrace(child, request, addr, data); in compat_arch_ptrace()
312 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/xtensa/platforms/iss/include/platform/
Dsimcall.h89 static inline int simc_ioctl(int fd, int request, void *arg) in simc_ioctl() argument
91 return __simc(SYS_ioctl, fd, request, (int) arg); in simc_ioctl()
/arch/blackfin/kernel/
Dptrace.c247 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
254 switch (request) { in arch_ptrace()
352 request = PTRACE_GETFDPIC; in arch_ptrace()
356 request = PTRACE_GETFDPIC; in arch_ptrace()
387 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/blackfin/mach-bf538/
Dext-gpio.c87 .request = bf538_gpio_request,
99 .request = bf538_gpio_request,
111 .request = bf538_gpio_request,
/arch/h8300/kernel/
Dptrace.c164 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
169 switch (request) { in arch_ptrace()
171 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/mips/kernel/
Dptrace32.c42 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
49 switch (request) { in compat_arch_ptrace()
297 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()
/arch/sparc/kernel/
Dptrace_32.c313 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
328 switch(request) { in arch_ptrace()
410 if (request == PTRACE_SPARC_DETACH) in arch_ptrace()
411 request = PTRACE_DETACH; in arch_ptrace()
412 ret = ptrace_request(child, request, addr, data); in arch_ptrace()
/arch/arm/include/asm/mach/
Ddma.h18 int (*request)(unsigned int, dma_t *); /* optional */ member
/arch/arm/mach-footbridge/
Ddma.c39 .request = fb_dma_request,

1234