Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 260) sorted by relevance

1234567891011

/linux-2.4.37.9/arch/m68k/kernel/
Dtraps.c200 asmlinkage void trap_c(struct frame *fp);
203 static inline void access_error060 (struct frame *fp) in access_error060() argument
205 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ in access_error060()
208 printk("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); in access_error060()
224 unsigned long addr = fp->un.fmt4.effaddr; in access_error060()
239 do_page_fault(&fp->ptregs, addr, errorcode); in access_error060()
244 send_fault_sig(&fp->ptregs); in access_error060()
246 printk("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, fp->un.fmt4.effaddr); in access_error060()
248 trap_c( fp ); in access_error060()
309 static inline void fix_xframe040(struct frame *fp, unsigned long wba, unsigned short wbs) in fix_xframe040() argument
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Dbbc_envctrl.c128 static void set_fan_speeds(struct bbc_fan_control *fp) in set_fan_speeds() argument
133 if (fp->cpu_fan_speed < FAN_SPEED_MIN) in set_fan_speeds()
134 fp->cpu_fan_speed = FAN_SPEED_MIN; in set_fan_speeds()
135 if (fp->cpu_fan_speed > FAN_SPEED_MAX) in set_fan_speeds()
136 fp->cpu_fan_speed = FAN_SPEED_MAX; in set_fan_speeds()
137 if (fp->system_fan_speed < FAN_SPEED_MIN) in set_fan_speeds()
138 fp->system_fan_speed = FAN_SPEED_MIN; in set_fan_speeds()
139 if (fp->system_fan_speed > FAN_SPEED_MAX) in set_fan_speeds()
140 fp->system_fan_speed = FAN_SPEED_MAX; in set_fan_speeds()
143 fp->index, in set_fan_speeds()
[all …]
/linux-2.4.37.9/drivers/net/skfp/
Dfplustm.c181 smc->hw.fp.fifo.rbc_ram_start = 0 ;
182 smc->hw.fp.fifo.rbc_ram_end =
183 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ;
185 MARW(smc->hw.fp.fifo.rbc_ram_start) ;
186 for (i = smc->hw.fp.fifo.rbc_ram_start;
187 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++)
202 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */
203 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */
204 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */
205 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo.tx_s_start-1) ; /* EARV1 */
[all …]
/linux-2.4.37.9/include/asm-alpha/
Dfpu.h93 unsigned long fp; in ieee_swcr_to_fpcr() local
94 fp = (sw & IEEE_STATUS_MASK) << 35; in ieee_swcr_to_fpcr()
95 fp |= (sw & IEEE_MAP_DMZ) << 36; in ieee_swcr_to_fpcr()
96 fp |= (sw & IEEE_STATUS_MASK ? FPCR_SUM : 0); in ieee_swcr_to_fpcr()
97 fp |= (~sw & (IEEE_TRAP_ENABLE_INV in ieee_swcr_to_fpcr()
100 fp |= (~sw & (IEEE_TRAP_ENABLE_UNF | IEEE_TRAP_ENABLE_INE)) << 57; in ieee_swcr_to_fpcr()
101 fp |= (sw & IEEE_MAP_UMZ ? FPCR_UNDZ | FPCR_UNFD : 0); in ieee_swcr_to_fpcr()
102 fp |= (~sw & IEEE_TRAP_ENABLE_DNO) << 41; in ieee_swcr_to_fpcr()
103 return fp; in ieee_swcr_to_fpcr()
107 ieee_fpcr_to_swcr(unsigned long fp) in ieee_fpcr_to_swcr() argument
[all …]
/linux-2.4.37.9/arch/ppc/amiga/
Damiints.c75 static void ami_badint(int irq, void *dev_id, struct pt_regs *fp) in ami_badint() argument
188 inline void amiga_do_irq(int irq, struct pt_regs *fp) in amiga_do_irq() argument
194 action->handler(irq, action->dev_id, fp); in amiga_do_irq()
197 void amiga_do_irq_list(int irq, struct pt_regs *fp) in amiga_do_irq_list() argument
207 action->handler(irq, action->dev_id, fp); in amiga_do_irq_list()
214 static void ami_int1(int irq, void *dev_id, struct pt_regs *fp) in ami_int1() argument
221 amiga_do_irq(IRQ_AMIGA_TBE, fp); in ami_int1()
227 amiga_do_irq(IRQ_AMIGA_DSKBLK, fp); in ami_int1()
233 amiga_do_irq(IRQ_AMIGA_SOFT, fp); in ami_int1()
237 static void ami_int3(int irq, void *dev_id, struct pt_regs *fp) in ami_int3() argument
[all …]
/linux-2.4.37.9/arch/alpha/kernel/
Dptrace.c82 SW_REG(fp[ 0]), SW_REG(fp[ 1]), SW_REG(fp[ 2]), SW_REG(fp[ 3]),
83 SW_REG(fp[ 4]), SW_REG(fp[ 5]), SW_REG(fp[ 6]), SW_REG(fp[ 7]),
84 SW_REG(fp[ 8]), SW_REG(fp[ 9]), SW_REG(fp[10]), SW_REG(fp[11]),
85 SW_REG(fp[12]), SW_REG(fp[13]), SW_REG(fp[14]), SW_REG(fp[15]),
86 SW_REG(fp[16]), SW_REG(fp[17]), SW_REG(fp[18]), SW_REG(fp[19]),
87 SW_REG(fp[20]), SW_REG(fp[21]), SW_REG(fp[22]), SW_REG(fp[23]),
88 SW_REG(fp[24]), SW_REG(fp[25]), SW_REG(fp[26]), SW_REG(fp[27]),
89 SW_REG(fp[28]), SW_REG(fp[29]), SW_REG(fp[30]), SW_REG(fp[31]),
/linux-2.4.37.9/net/ipv4/
Dfib_hash.c172 struct fib_node *f, **fp, *next; in fn_rebuild_zone() local
177 for (fp = fz_chain_p(f->fn_key, fz); in fn_rebuild_zone()
178 *fp && fn_key_leq((*fp)->fn_key, f->fn_key); in fn_rebuild_zone()
179 fp = &(*fp)->fn_next) in fn_rebuild_zone()
181 f->fn_next = *fp; in fn_rebuild_zone()
182 *fp = f; in fn_rebuild_zone()
437 #define FIB_SCAN(f, fp) \ argument
438 for ( ; ((f) = *(fp)) != NULL; (fp) = &(f)->fn_next)
440 #define FIB_SCAN_KEY(f, fp, key) \ argument
441 for ( ; ((f) = *(fp)) != NULL && fn_key_eq((f)->fn_key, (key)); (fp) = &(f)->fn_next)
[all …]
/linux-2.4.37.9/net/core/
Dscm.c76 fpp = &fpl->fp[fpl->count]; in scm_fp_copy()
100 struct scm_fp_list *fpl = scm->fp; in __scm_destroy()
104 scm->fp = NULL; in __scm_destroy()
118 fput(fpl->fp[i]); in __scm_destroy()
153 err=scm_fp_copy(cmsg, &p->fp); in __scm_send()
170 if (p->fp && !p->fp->count) in __scm_send()
172 kfree(p->fp); in __scm_send()
173 p->fp = NULL; in __scm_send()
219 int fdnum = scm->fp->count; in scm_detach_fds()
220 struct file **fp = scm->fp->fp; in scm_detach_fds() local
[all …]
Dfilter.c462 struct sk_filter *fp; in sk_attach_filter() local
470 fp = (struct sk_filter *)sock_kmalloc(sk, fsize+sizeof(*fp), GFP_KERNEL); in sk_attach_filter()
471 if(fp == NULL) in sk_attach_filter()
474 if (copy_from_user(fp->insns, fprog->filter, fsize)) { in sk_attach_filter()
475 sock_kfree_s(sk, fp, fsize+sizeof(*fp)); in sk_attach_filter()
479 atomic_set(&fp->refcnt, 1); in sk_attach_filter()
480 fp->len = fprog->len; in sk_attach_filter()
482 if ((err = sk_chk_filter(fp->insns, fp->len))==0) { in sk_attach_filter()
487 sk->filter = fp; in sk_attach_filter()
489 fp = old_fp; in sk_attach_filter()
[all …]
/linux-2.4.37.9/net/irda/
Diriap.c447 __u8 *fp; in iriap_getvaluebyclass_confirm() local
455 fp = skb->data; in iriap_getvaluebyclass_confirm()
459 len = be16_to_cpu(get_unaligned((__u16 *)(fp+n))); n += 2; in iriap_getvaluebyclass_confirm()
464 obj_id = be16_to_cpu(get_unaligned((__u16 *)(fp+n))); n += 2; in iriap_getvaluebyclass_confirm()
466 type = fp[n++]; in iriap_getvaluebyclass_confirm()
471 memcpy(&tmp_cpu32, fp+n, 4); n += 4; in iriap_getvaluebyclass_confirm()
479 charset = fp[n++]; in iriap_getvaluebyclass_confirm()
504 value_len = fp[n++]; in iriap_getvaluebyclass_confirm()
508 fp[n+value_len] = 0x00; in iriap_getvaluebyclass_confirm()
509 IRDA_DEBUG(4, "Got string %s\n", fp+n); in iriap_getvaluebyclass_confirm()
[all …]
Dirlmp_frame.c97 __u8 *fp; in irlmp_link_data_indication() local
105 fp = skb->data; in irlmp_link_data_indication()
111 slsap_sel = fp[0] & LSAP_MASK; in irlmp_link_data_indication()
112 dlsap_sel = fp[1]; in irlmp_link_data_indication()
118 if ((fp[0] & CONTROL_BIT) && (fp[2] == CONNECT_CMD)) { in irlmp_link_data_indication()
141 if (fp[0] & CONTROL_BIT) { in irlmp_link_data_indication()
142 IRDA_DEBUG(2, "%s(), received control frame %02x\n", __FUNCTION__, fp[2]); in irlmp_link_data_indication()
153 if (fp[0] & CONTROL_BIT) { in irlmp_link_data_indication()
154 switch (fp[2]) { in irlmp_link_data_indication()
176 IRDA_DEBUG(0, "%s(), Unknown control frame %02x\n", __FUNCTION__, fp[2]); in irlmp_link_data_indication()
[all …]
/linux-2.4.37.9/arch/m68k/amiga/
Damiints.c71 static void ami_badint(int irq, void *dev_id, struct pt_regs *fp) in ami_badint() argument
349 inline void amiga_do_irq(int irq, struct pt_regs *fp) in amiga_do_irq() argument
352 ami_irq_list[irq]->handler(irq, ami_irq_list[irq]->dev_id, fp); in amiga_do_irq()
355 void amiga_do_irq_list(int irq, struct pt_regs *fp) in amiga_do_irq_list() argument
364 node->handler(irq, node->dev_id, fp); in amiga_do_irq_list()
371 static void ami_int1(int irq, void *dev_id, struct pt_regs *fp) in ami_int1() argument
378 amiga_do_irq(IRQ_AMIGA_TBE, fp); in ami_int1()
384 amiga_do_irq(IRQ_AMIGA_DSKBLK, fp); in ami_int1()
390 amiga_do_irq(IRQ_AMIGA_SOFT, fp); in ami_int1()
394 static void ami_int3(int irq, void *dev_id, struct pt_regs *fp) in ami_int3() argument
[all …]
/linux-2.4.37.9/net/unix/
Dgarbage.c124 void unix_inflight(struct file *fp) in unix_inflight() argument
126 unix_socket *s=unix_get_socket(fp); in unix_inflight()
133 void unix_notinflight(struct file *fp) in unix_notinflight() argument
135 unix_socket *s=unix_get_socket(fp); in unix_notinflight()
262 if(UNIXCB(skb).fp) in unix_gc()
267 int nfd=UNIXCB(skb).fp->count; in unix_gc()
268 struct file **fp = UNIXCB(skb).fp->fp; in unix_gc() local
275 if((sk=unix_get_socket(*fp++))!=NULL) in unix_gc()
306 if(UNIXCB(skb).fp) in unix_gc()
/linux-2.4.37.9/arch/m68k/mac/
Dmacints.c341 void mac_do_irq_list(int irq, struct pt_regs *fp) in mac_do_irq_list() argument
359 node->handler(irq, node->dev_id, fp); in mac_do_irq_list()
362 restore_flags((cpu_flags & ~0x0700) | (fp->sr & 0x0700)); in mac_do_irq_list()
366 node->handler(irq, node->dev_id, fp); in mac_do_irq_list()
662 void mac_nmi_handler(int irq, void *dev_id, struct pt_regs *fp) in mac_nmi_handler() argument
690 printk("PC: %08lx\nSR: %04x SP: %p\n", fp->pc, fp->sr, fp); in mac_nmi_handler()
692 fp->d0, fp->d1, fp->d2, fp->d3); in mac_nmi_handler()
694 fp->d4, fp->d5, fp->a0, fp->a1); in mac_nmi_handler()
701 dump_stack((struct frame *)fp); in mac_nmi_handler()
/linux-2.4.37.9/arch/m68k/q40/
Dq40ints.c44 void q40_irq2_handler (int, void *, struct pt_regs *fp);
49 static void q40_defhand (int irq, void *dev_id, struct pt_regs *fp);
195 void q40_process_int (int level, struct pt_regs *fp) in q40_process_int() argument
198 level, fp->pc, fp->d0, fp->orig_d0, fp->d1, fp->d2); in q40_process_int()
311 void q40_irq2_handler (int vec, void *devname, struct pt_regs *fp) in q40_irq2_handler() argument
319 irq_tab[Q40_IRQ_FRAME].handler(Q40_IRQ_FRAME,irq_tab[Q40_IRQ_FRAME].dev_id,fp); in q40_irq2_handler()
351 fp->sr = (((fp->sr) & (~0x700))+0x200); in q40_irq2_handler()
358 irq_tab[irq].handler(irq,irq_tab[irq].dev_id,fp); in q40_irq2_handler()
386 irq_tab[Q40_IRQ_KEYBOARD].handler(Q40_IRQ_KEYBOARD,irq_tab[Q40_IRQ_KEYBOARD].dev_id,fp); in q40_irq2_handler()
408 static void q40_defhand (int irq, void *dev_id, struct pt_regs *fp) in q40_defhand() argument
/linux-2.4.37.9/net/decnet/
Ddn_table.c70 #define DN_FIB_SCAN(f, fp) \ argument
71 for( ; ((f) = *(fp)) != NULL; (fp) = &(f)->fn_next)
73 #define DN_FIB_SCAN_KEY(f, fp, key) \ argument
74 for( ; ((f) = *(fp)) != NULL && dn_key_eq((f)->fn_key, (key)); (fp) = &(f)->fn_next)
125 struct dn_fib_node *f, **fp, *next; in dn_rebuild_zone() local
130 for(fp = dn_chain_p(f->fn_key, dz); in dn_rebuild_zone()
131 *fp && dn_key_leq((*fp)->fn_key, f->fn_key); in dn_rebuild_zone()
132 fp = &(*fp)->fn_next) in dn_rebuild_zone()
134 f->fn_next = *fp; in dn_rebuild_zone()
135 *fp = f; in dn_rebuild_zone()
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Dprocessor.h177 unsigned long *fp; in thread_saved_pc() local
178 fp = (unsigned long *)(sp[14] + STACK_BIAS); in thread_saved_pc()
179 if (((unsigned long)fp & (sizeof(long) - 1)) == 0UL) in thread_saved_pc()
180 ret = fp[15]; in thread_saved_pc()
282 unsigned long pc, fp, bias = 0; \
291 fp = (__TSK)->thread.ksp + bias; \
294 if (fp < (task_base + sizeof(struct task_struct)) || \
295 fp >= (task_base + THREAD_SIZE)) \
297 rw = (struct reg_window *) fp; \
304 fp = rw->ins[6] + bias; \
/linux-2.4.37.9/fs/lockd/
Dsvcsubs.c128 struct nlm_file **fp, *f; in nlm_delete_file() local
132 fp = nlm_files + file->f_hash; in nlm_delete_file()
133 while ((f = *fp) != NULL) { in nlm_delete_file()
135 *fp = file->f_next; in nlm_delete_file()
140 fp = &f->f_next; in nlm_delete_file()
215 struct nlm_file *file, **fp; in nlm_traverse_files() local
220 fp = nlm_files + i; in nlm_traverse_files()
221 while ((file = *fp) != NULL) { in nlm_traverse_files()
232 *fp = file->f_next; in nlm_traverse_files()
236 fp = &file->f_next; in nlm_traverse_files()
/linux-2.4.37.9/arch/arm/kernel/
Dprocess.c289 static void default_fp_init(union fp_state *fp) in default_fp_init() argument
291 memset(fp, 0, sizeof(union fp_state)); in default_fp_init()
339 int dump_fpu (struct pt_regs *regs, struct user_fp *fp) in dump_fpu() argument
344 memcpy(fp, &current->thread.fpstate.soft, sizeof (*fp)); in dump_fpu()
417 unsigned long fp, lr; in get_wchan() local
424 fp = thread_saved_fp(&p->thread); in get_wchan()
426 if (fp < stack_page || fp > 4092+stack_page) in get_wchan()
428 lr = pc_pointer (((unsigned long *)fp)[-1]); in get_wchan()
431 fp = *(unsigned long *) (fp - 12); in get_wchan()
/linux-2.4.37.9/arch/m68k/sun3/
Dsun3ints.c20 static void sun3_inthandle(int irq, void *dev_id, struct pt_regs *fp);
59 inline void sun3_do_irq(int irq, struct pt_regs *fp) in sun3_do_irq() argument
66 static void sun3_int7(int irq, void *dev_id, struct pt_regs *fp) in sun3_int7() argument
68 sun3_do_irq(irq,fp); in sun3_int7()
73 static void sun3_int5(int irq, void *dev_id, struct pt_regs *fp) in sun3_int5() argument
84 do_timer(fp); in sun3_int5()
126 static void sun3_inthandle(int irq, void *dev_id, struct pt_regs *fp) in sun3_inthandle() argument
134 sun3_inthandler[irq](irq, dev_ids[irq], fp); in sun3_inthandle()
137 static void sun3_vec255(int irq, void *dev_id, struct pt_regs *fp) in sun3_vec255() argument
/linux-2.4.37.9/drivers/atm/
Dfirestream.c794 pe->skb, pe->fp); in process_incoming()
810 pe->fp->n--; in process_incoming()
831 pe->fp->n--; in process_incoming()
1449 struct freepool *fp, int queue, int bufsize, int nr_buffers) in init_fp() argument
1461 fp->offset = queue; in init_fp()
1462 fp->bufsize = bufsize; in init_fp()
1463 fp->nr_buffers = nr_buffers; in init_fp()
1470 static inline int nr_buffers_in_freepool (struct fs_dev *dev, struct freepool *fp) in nr_buffers_in_freepool() argument
1474 return read_fs (dev, FP_CNT (fp->offset)); in nr_buffers_in_freepool()
1476 return fp->n; in nr_buffers_in_freepool()
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/drivers/
Dhubdev.c22 struct hubdev_callout *fp; member
51 callout->fp = hubdev_callout_list; in hubdev_register()
68 for (p = &hubdev_callout_list; *p != NULL; p = &(*p)->fp) { in hubdev_unregister()
71 *p = (*p)->fp; in hubdev_unregister()
90 for (p = hubdev_callout_list; p != NULL; p = p->fp) { in hubdev_docallouts()
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_lookup.c238 vxfs_readdir(struct file *fp, void *retp, filldir_t filler) in vxfs_readdir() argument
240 struct inode *ip = fp->f_dentry->d_inode; in vxfs_readdir()
246 switch ((long)fp->f_pos) { in vxfs_readdir()
248 if (filler(retp, ".", 1, fp->f_pos, ip->i_ino, DT_DIR) < 0) in vxfs_readdir()
250 fp->f_pos++; in vxfs_readdir()
253 if (filler(retp, "..", 2, fp->f_pos, VXFS_INO(ip)->vii_dotdot, DT_DIR) < 0) in vxfs_readdir()
255 fp->f_pos++; in vxfs_readdir()
259 pos = fp->f_pos - 2; in vxfs_readdir()
319 fp->f_pos = ((page << PAGE_CACHE_SHIFT) | offset) + 2; in vxfs_readdir()
/linux-2.4.37.9/include/net/
Dscm.h13 struct file *fp[SCM_MAX_FD]; member
19 struct scm_fp_list *fp; /* Passed files */ member
30 if (scm && scm->fp) in scm_destroy()
51 if (sock->passcred || scm->fp) in scm_recv()
60 if (!scm->fp) in scm_recv()
/linux-2.4.37.9/arch/sparc/kernel/
Dprocess.c218 void __show_backtrace(unsigned long fp) in __show_backtrace() argument
226 rw = (struct reg_window *)fp; in __show_backtrace()
242 #define __GET_FP(fp) __asm__ __volatile__("mov %%i6, %0" : "=r" (fp)) argument
246 unsigned long fp; in show_backtrace() local
253 __GET_FP(fp); in show_backtrace()
255 __show_backtrace(fp); in show_backtrace()
279 sf->ins[4], sf->ins[5], (unsigned long)sf->fp, sf->callers_pc); in show_stackframe()
285 size = ((unsigned long)sf->fp) - ((unsigned long)sf); in show_stackframe()
315 unsigned long pc, fp; in show_trace_task() local
323 fp = tsk->thread.ksp; in show_trace_task()
[all …]

1234567891011