Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/arch/um/sys-x86_64/shared/sysdep/
Dhost_ldt.h9 #define LDT_entry_a(info) \ argument
10 ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff))
14 #define LDT_entry_b(info) \ argument
15 (((info)->base_addr & 0xff000000) | \
16 (((info)->base_addr & 0x00ff0000) >> 16) | \
17 ((info)->limit & 0xf0000) | \
18 (((info)->read_exec_only ^ 1) << 9) | \
19 ((info)->contents << 10) | \
20 (((info)->seg_not_present ^ 1) << 15) | \
21 ((info)->seg_32bit << 22) | \
[all …]
/arch/um/sys-i386/shared/sysdep/
Dhost_ldt.h9 #define LDT_entry_a(info) \ argument
10 ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff))
12 #define LDT_entry_b(info) \ argument
13 (((info)->base_addr & 0xff000000) | \
14 (((info)->base_addr & 0x00ff0000) >> 16) | \
15 ((info)->limit & 0xf0000) | \
16 (((info)->read_exec_only ^ 1) << 9) | \
17 ((info)->contents << 10) | \
18 (((info)->seg_not_present ^ 1) << 15) | \
19 ((info)->seg_32bit << 22) | \
[all …]
/arch/ia64/hp/sim/
Dsimserial.c45 #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) argument
171 struct async_struct * info; in rs_interrupt_single() local
177 info = IRQ_ports[irq]; in rs_interrupt_single()
178 if (!info || !info->tty) { in rs_interrupt_single()
179 printk(KERN_INFO "simrs_interrupt_single: info|tty=0 info=%p problem\n", info); in rs_interrupt_single()
186 receive_chars(info->tty); in rs_interrupt_single()
203 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_put_char() local
206 if (!tty || !info->xmit.buf) in rs_put_char()
210 if (CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE) == 0) { in rs_put_char()
214 info->xmit.buf[info->xmit.head] = ch; in rs_put_char()
[all …]
/arch/sh/drivers/dma/
Ddma-api.c27 struct dma_info *info; in get_dma_info() local
33 list_for_each_entry(info, &registered_dmac_list, list) { in get_dma_info()
34 if ((chan < info->first_vchannel_nr) || in get_dma_info()
35 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info()
38 return info; in get_dma_info()
47 struct dma_info *info; in get_dma_info_by_name() local
49 list_for_each_entry(info, &registered_dmac_list, list) { in get_dma_info_by_name()
50 if (dmac_name && (strcmp(dmac_name, info->name) != 0)) in get_dma_info_by_name()
53 return info; in get_dma_info_by_name()
62 struct dma_info *info; in get_nr_channels() local
[all …]
/arch/powerpc/lib/
Drheap.c45 static int grow(rh_info_t * info, int max_blocks) in grow() argument
52 if (max_blocks <= info->max_blocks) in grow()
55 new_blocks = max_blocks - info->max_blocks; in grow()
61 if (info->max_blocks > 0) { in grow()
64 memcpy(block, info->block, in grow()
65 sizeof(rh_block_t) * info->max_blocks); in grow()
67 delta = (char *)block - (char *)info->block; in grow()
70 blks = (unsigned long)info->block; in grow()
71 blke = (unsigned long)(info->block + info->max_blocks); in grow()
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
[all …]
/arch/sparc/kernel/
Dtraps_32.c94 siginfo_t info; in do_hw_interrupt() local
105 info.si_signo = SIGILL; in do_hw_interrupt()
106 info.si_errno = 0; in do_hw_interrupt()
107 info.si_code = ILL_ILLTRP; in do_hw_interrupt()
108 info.si_addr = (void __user *)regs->pc; in do_hw_interrupt()
109 info.si_trapno = type - 0x80; in do_hw_interrupt()
110 force_sig_info(SIGILL, &info, current); in do_hw_interrupt()
116 siginfo_t info; in do_illegal_instruction() local
127 info.si_signo = SIGILL; in do_illegal_instruction()
128 info.si_errno = 0; in do_illegal_instruction()
[all …]
/arch/parisc/kernel/
Dunwind.c210 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument
216 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special()
218 info->prev_sp = regs->gr[30]; in unwind_special()
219 info->prev_ip = regs->iaoq[0]; in unwind_special()
227 static void unwind_frame_regs(struct unwind_frame_info *info) in unwind_frame_regs() argument
235 e = find_unwind_entry(info->ip); in unwind_frame_regs()
240 dbg("Cannot find unwind entry for 0x%lx; forced unwinding\n", info->ip); in unwind_frame_regs()
248 kallsyms_lookup(info->ip, NULL, NULL, &modname, in unwind_frame_regs()
251 dbg("info->ip = 0x%lx, name = %s\n", info->ip, symname); in unwind_frame_regs()
254 info->prev_sp = info->sp - CALLEE_SAVE_FRAME_SIZE; in unwind_frame_regs()
[all …]
/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c44 static int calc_freq(struct spu_gov_info_struct *info) in calc_freq() argument
49 cpu = info->policy->cpu; in calc_freq()
52 CALC_LOAD(info->busy_spus, EXP, busy_spus * FIXED_1); in calc_freq()
54 cpu, busy_spus, info->busy_spus); in calc_freq()
56 return info->policy->max * info->busy_spus / FIXED_1; in calc_freq()
61 struct spu_gov_info_struct *info; in spu_gov_work() local
65 info = container_of(work, struct spu_gov_info_struct, work.work); in spu_gov_work()
68 BUG_ON(info->policy == NULL); in spu_gov_work()
70 target_freq = calc_freq(info); in spu_gov_work()
71 __cpufreq_driver_target(info->policy, target_freq, CPUFREQ_RELATION_H); in spu_gov_work()
[all …]
/arch/x86/kernel/
Dtls.c32 const struct user_desc *info, int n) in set_tls_desc() argument
44 if (LDT_empty(info)) in set_tls_desc()
47 fill_ldt(desc, info); in set_tls_desc()
48 ++info; in set_tls_desc()
65 struct user_desc info; in do_set_thread_area() local
67 if (copy_from_user(&info, u_info, sizeof(info))) in do_set_thread_area()
71 idx = info.entry_number; in do_set_thread_area()
88 set_tls_desc(p, idx, &info, 1); in do_set_thread_area()
105 static void fill_user_desc(struct user_desc *info, int idx, in fill_user_desc() argument
109 memset(info, 0, sizeof(*info)); in fill_user_desc()
[all …]
/arch/um/sys-i386/
Dtls.c21 int do_set_thread_area(struct user_desc *info) in do_set_thread_area() argument
27 ret = os_set_thread_area(info, userspace_pid[cpu]); in do_set_thread_area()
32 "index = %d\n", ret, info->entry_number); in do_set_thread_area()
37 int do_get_thread_area(struct user_desc *info) in do_get_thread_area() argument
43 ret = os_get_thread_area(info, userspace_pid[cpu]); in do_get_thread_area()
48 "index = %d\n", ret, info->entry_number); in do_get_thread_area()
75 static inline void clear_user_desc(struct user_desc* info) in clear_user_desc() argument
78 memset(info, 0, sizeof(*info)); in clear_user_desc()
84 info->read_exec_only = 1; in clear_user_desc()
85 info->seg_not_present = 1; in clear_user_desc()
[all …]
/arch/frv/kernel/
Dtraps.c42 siginfo_t info; in insn_access_error() local
49 info.si_signo = SIGSEGV; in insn_access_error()
50 info.si_code = SEGV_ACCERR; in insn_access_error()
51 info.si_errno = 0; in insn_access_error()
52 info.si_addr = (void __user *) ((epcr0 & EPCR0_V) ? (epcr0 & EPCR0_PC) : __frame->pc); in insn_access_error()
54 force_sig_info(info.si_signo, &info, current); in insn_access_error()
67 siginfo_t info; in illegal_instruction() local
75 info.si_errno = 0; in illegal_instruction()
76 info.si_addr = (void __user *) ((epcr0 & EPCR0_V) ? (epcr0 & EPCR0_PC) : __frame->pc); in illegal_instruction()
80 info.si_signo = SIGILL; in illegal_instruction()
[all …]
/arch/sh/boards/mach-hp6xx/
Dhp6xx_apm.c32 static void hp6x0_apm_get_power_status(struct apm_power_info *info) in hp6x0_apm_get_power_status() argument
45 info->battery_life = percentage; in hp6x0_apm_get_power_status()
48 info->units = 0; in hp6x0_apm_get_power_status()
51 info->time = (2 * battery); in hp6x0_apm_get_power_status()
53 info->ac_line_status = (battery > HP680_BATTERY_AC_ON) ? in hp6x0_apm_get_power_status()
58 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in hp6x0_apm_get_power_status()
59 info->battery_flag = 0x80; in hp6x0_apm_get_power_status()
61 info->battery_status = APM_BATTERY_STATUS_CHARGING; in hp6x0_apm_get_power_status()
62 info->battery_flag = 0x08; in hp6x0_apm_get_power_status()
63 info->ac_line_status = 0x01; in hp6x0_apm_get_power_status()
[all …]
/arch/um/include/asm/
Ddesc.h6 #define LDT_empty(info) (\ argument
7 (info)->base_addr == 0 && \
8 (info)->limit == 0 && \
9 (info)->contents == 0 && \
10 (info)->read_exec_only == 1 && \
11 (info)->seg_32bit == 0 && \
12 (info)->limit_in_pages == 0 && \
13 (info)->seg_not_present == 1 && \
14 (info)->useable == 0 )
/arch/cris/arch-v10/kernel/
Dsetup.c54 struct cpu_info *info; in show_cpuinfo() local
61 info = &cpu_info[ARRAY_SIZE(cpu_info) - 1]; in show_cpuinfo()
63 info = &cpu_info[revision]; in show_cpuinfo()
82 info->model, in show_cpuinfo()
83 info->cache, in show_cpuinfo()
84 info->flags & HAS_FPU ? "yes" : "no", in show_cpuinfo()
85 info->flags & HAS_MMU ? "yes" : "no", in show_cpuinfo()
86 info->flags & HAS_MMU_BUG ? "yes" : "no", in show_cpuinfo()
87 info->flags & HAS_ETHERNET100 ? "10/100" : "10", in show_cpuinfo()
88 info->flags & HAS_TOKENRING ? "4/16 Mbps" : "no", in show_cpuinfo()
[all …]
/arch/x86/pci/
Dacpi.c37 struct pci_root_info *info = data; in count_resource() local
41 if (info->res_num >= PCI_BUS_NUM_RESOURCES) in count_resource()
46 info->res_num++; in count_resource()
53 struct pci_root_info *info = data; in setup_resource() local
60 if (info->res_num >= PCI_BUS_NUM_RESOURCES) in setup_resource()
70 if (addr.info.mem.caching == ACPI_PREFETCHABLE_MEMORY) in setup_resource()
78 res = &info->res[info->res_num]; in setup_resource()
79 res->name = info->name; in setup_resource()
88 (unsigned long) res->end, root->name, info->name); in setup_resource()
90 info->bus->resource[info->res_num] = res; in setup_resource()
[all …]
Damd_bus.c101 struct pci_root_info *info; in set_pci_bus_resources_arch_default() local
115 info = &pci_root_info[i]; in set_pci_bus_resources_arch_default()
116 for (j = 0; j < info->res_num; j++) { in set_pci_bus_resources_arch_default()
120 res = &info->res[j]; in set_pci_bus_resources_arch_default()
182 static void __init update_res(struct pci_root_info *info, size_t start, in update_res() argument
192 for (i = 0; i < info->res_num; i++) { in update_res()
196 res = &info->res[i]; in update_res()
216 if (info->res_num >= RES_NUM) in update_res()
219 res = &info->res[info->res_num]; in update_res()
220 res->name = info->name; in update_res()
[all …]
/arch/cris/arch-v32/kernel/
Dsetup.c58 struct cpu_info *info; in show_cpuinfo() local
60 info = &cpinfo[ARRAY_SIZE(cpinfo) - 1]; in show_cpuinfo()
71 info = &cpinfo[i]; in show_cpuinfo()
94 info->cpu_model, in show_cpuinfo()
95 info->cache_size, in show_cpuinfo()
96 info->flags & HAS_FPU ? "yes" : "no", in show_cpuinfo()
97 info->flags & HAS_MMU ? "yes" : "no", in show_cpuinfo()
98 info->flags & HAS_MMU_BUG ? "yes" : "no", in show_cpuinfo()
99 info->flags & HAS_ETHERNET100 ? "10/100" : "10", in show_cpuinfo()
100 info->flags & HAS_TOKENRING ? "4/16 Mbps" : "no", in show_cpuinfo()
[all …]
/arch/m68knommu/kernel/
Dtraps.c198 siginfo_t info; in trap_c() local
212 info.si_code = BUS_ADRALN; in trap_c()
218 info.si_code = ILL_ILLOPC; in trap_c()
222 info.si_code = ILL_PRVOPC; in trap_c()
226 info.si_code = ILL_COPROC; in trap_c()
231 info.si_code = TRAP_TRACE; in trap_c()
247 info.si_code = ILL_ILLTRP; in trap_c()
253 info.si_code = FPE_FLTINV; in trap_c()
257 info.si_code = FPE_FLTRES; in trap_c()
261 info.si_code = FPE_FLTDIV; in trap_c()
[all …]
/arch/ia64/include/asm/
Dunwind.h115 extern void unw_init_from_blocked_task (struct unw_frame_info *info, struct task_struct *t);
117 extern void unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t,
123 extern void unw_init_running (void (*callback)(struct unw_frame_info *info, void *arg), void *arg);
129 extern int unw_unwind (struct unw_frame_info *info);
136 extern int unw_unwind_to_user (struct unw_frame_info *info);
138 #define unw_is_intr_frame(info) (((info)->flags & UNW_FLAG_INTERRUPT_FRAME) != 0) argument
141 unw_get_ip (struct unw_frame_info *info, unsigned long *valp) in unw_get_ip() argument
143 *valp = (info)->ip; in unw_get_ip()
148 unw_get_sp (struct unw_frame_info *info, unsigned long *valp) in unw_get_sp() argument
150 *valp = (info)->sp; in unw_get_sp()
[all …]
/arch/um/os-Linux/
Dtty.c23 struct grantpt_info *info = arg; in grantpt_cb() local
25 info->res = grantpt(info->fd); in grantpt_cb()
26 info->err = errno; in grantpt_cb()
31 struct grantpt_info info; in get_pty() local
42 info.fd = fd; in get_pty()
43 initial_thread_cb(grantpt_cb, &info); in get_pty()
45 if (info.res < 0) { in get_pty()
46 err = -info.err; in get_pty()
48 "errno = %d\n", -info.err); in get_pty()
/arch/powerpc/include/asm/
Drheap.h53 extern void rh_destroy(rh_info_t * info);
56 extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,
60 extern int rh_attach_region(rh_info_t * info, unsigned long start, int size);
63 extern unsigned long rh_detach_region(rh_info_t * info, unsigned long start, int size);
66 extern unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment,
70 extern unsigned long rh_alloc(rh_info_t * info, int size, const char *owner);
73 extern unsigned long rh_alloc_fixed(rh_info_t * info, unsigned long start, int size,
77 extern int rh_free(rh_info_t * info, unsigned long start);
80 extern int rh_get_stats(rh_info_t * info, int what, int max_stats,
84 extern void rh_dump(rh_info_t * info);
[all …]
/arch/alpha/kernel/
Dtraps.c216 siginfo_t info; in do_entArith() local
231 info.si_signo = SIGFPE; in do_entArith()
232 info.si_errno = 0; in do_entArith()
233 info.si_code = si_code; in do_entArith()
234 info.si_addr = (void __user *) regs->pc; in do_entArith()
235 send_sig_info(SIGFPE, &info, current); in do_entArith()
241 siginfo_t info; in do_entIF() local
258 info.si_signo = SIGTRAP; in do_entIF()
259 info.si_errno = 0; in do_entIF()
260 info.si_code = TRAP_BRKPT; in do_entIF()
[all …]
/arch/arm/mach-omap1/
Dboard-palmte.c225 static void palmte_get_power_status(struct apm_power_info *info, int *battery) in palmte_get_power_status() argument
237 info->battery_flag = 0; in palmte_get_power_status()
238 info->units = APM_UNITS_MINS; in palmte_get_power_status()
241 info->battery_life = 100; in palmte_get_power_status()
242 info->time = INTERVAL * ARRAY_SIZE(palmte_battery_sample); in palmte_get_power_status()
244 info->battery_life = 0; in palmte_get_power_status()
245 info->time = 0; in palmte_get_power_status()
257 info->battery_life = 100 - (100 * lo + 100 * hi / mid) / in palmte_get_power_status()
259 info->time = INTERVAL * (ARRAY_SIZE(palmte_battery_sample) - in palmte_get_power_status()
264 info->ac_line_status = APM_AC_ONLINE; in palmte_get_power_status()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dfault.c40 siginfo_t info; in spufs_handle_event() local
48 memset(&info, 0, sizeof(info)); in spufs_handle_event()
52 info.si_signo = SIGBUS; in spufs_handle_event()
53 info.si_code = BUS_OBJERR; in spufs_handle_event()
56 info.si_signo = SIGSEGV; in spufs_handle_event()
57 info.si_addr = (void __user *)ea; in spufs_handle_event()
58 info.si_code = SEGV_ACCERR; in spufs_handle_event()
62 info.si_signo = SIGBUS; in spufs_handle_event()
64 info.si_code = BUS_ADRALN; in spufs_handle_event()
67 info.si_signo = SIGILL; in spufs_handle_event()
[all …]
/arch/mn10300/kernel/
Dfpu.c55 siginfo_t info; in fpu_disabled() local
57 info.si_signo = SIGFPE; in fpu_disabled()
58 info.si_errno = 0; in fpu_disabled()
59 info.si_addr = (void *) tsk->thread.uregs->pc; in fpu_disabled()
60 info.si_code = FPE_FLTINV; in fpu_disabled()
62 force_sig_info(SIGFPE, &info, tsk); in fpu_disabled()
75 siginfo_t info; in fpu_exception() local
87 info.si_signo = SIGFPE; in fpu_exception()
88 info.si_errno = 0; in fpu_exception()
89 info.si_addr = (void *) tsk->thread.uregs->pc; in fpu_exception()
[all …]

12345678910>>...17