Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 178) sorted by relevance

12345678

/linux-2.4.37.9/net/sctp/
Dsm_statetable.c65 .fn = sctp_sf_bug,
109 {.fn = sctp_sf_ootb, .name = "sctp_sf_ootb"}, \
111 {.fn = sctp_sf_tabort_8_4_8, .name = "sctp_sf_tabort_8_4_8"}, \
113 {.fn = sctp_sf_discard_chunk, .name = "sctp_sf_discard_chunk"}, \
115 {.fn = sctp_sf_discard_chunk, .name = "sctp_sf_discard_chunk"}, \
117 {.fn = sctp_sf_eat_data_6_2, .name = "sctp_sf_eat_data_6_2"}, \
119 {.fn = sctp_sf_eat_data_6_2, .name = "sctp_sf_eat_data_6_2"}, \
121 {.fn = sctp_sf_eat_data_fast_4_4, .name = "sctp_sf_eat_data_fast_4_4"}, \
123 {.fn = sctp_sf_discard_chunk, .name = "sctp_sf_discard_chunk"}, \
125 {.fn = sctp_sf_discard_chunk, .name = "sctp_sf_discard_chunk"}, \
[all …]
/linux-2.4.37.9/net/ipv6/
Dip6_fib.c78 #define SUBTREE(fn) ((fn)->subtree) argument
81 #define SUBTREE(fn) NULL argument
84 static void fib6_prune_clones(struct fib6_node *fn, struct rt6_info *rt);
85 static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
212 struct fib6_node *fn; in node_alloc() local
214 if ((fn = kmem_cache_alloc(fib6_node_kmem, SLAB_ATOMIC)) != NULL) in node_alloc()
215 memset(fn, 0, sizeof(struct fib6_node)); in node_alloc()
217 return fn; in node_alloc()
220 static __inline__ void node_free(struct fib6_node * fn) in node_free() argument
222 kmem_cache_free(fib6_node_kmem, fn); in node_free()
[all …]
Droute.c305 struct fib6_node *fn; in rt6_lookup() local
309 fn = fib6_lookup(&ip6_routing_table, daddr, saddr); in rt6_lookup()
310 rt = rt6_device_match(fn->leaf, oif, strict); in rt6_lookup()
422 while ((fn = fn->parent) != NULL) { \
423 if (fn->fn_flags & RTN_ROOT) { \
427 if (fn->fn_flags & RTN_RTINFO) \
435 struct fib6_node *fn; in ip6_route_input() local
445 fn = fib6_lookup(&ip6_routing_table, &skb->nh.ipv6h->daddr, in ip6_route_input()
449 rt = fn->leaf; in ip6_route_input()
511 struct fib6_node *fn; in ip6_route_output() local
[all …]
/linux-2.4.37.9/include/linux/
Dinit.h54 #define __initcall(fn) \ argument
55 static initcall_t __initcall_##fn __attribute_used__ __init_call = fn
56 #define __exitcall(fn) \ argument
57 static exitcall_t __exitcall_##fn __exit_call = fn
69 #define __setup(str, fn) \ argument
70 static char __setup_str_##fn[] __initdata = str; \
71 static struct kernel_param __setup_##fn __attribute_used__ __initsetup = { __setup_str_##fn, fn }
121 #define __initcall(fn) argument
/linux-2.4.37.9/fs/jffs2/
Dreadinode.c67 …ll_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn)
70 …intk(KERN_DEBUG "jffs2_add_full_dnode_to_inode(ino #%u, f %p, fn %p)\n", f->inocache->ino, f, fn));
72 ret = jffs2_add_full_dnode_to_fraglist(c, &f->fraglist, fn);
99 …de_to_fraglist(struct jffs2_sb_info *c, struct jffs2_node_frag **list, struct jffs2_full_dnode *fn) in jffs2_add_full_dnode_to_fraglist() argument
112 D2(if (fn->raw) in jffs2_add_full_dnode_to_fraglist()
113 …EBUG "adding node %04x-%04x @0x%08x on flash, newfrag *%p\n", fn->ofs, fn->ofs+fn->size, fn->raw->… in jffs2_add_full_dnode_to_fraglist()
115 …printk(KERN_DEBUG "adding hole node %04x-%04x on flash, newfrag *%p\n", fn->ofs, fn->ofs+fn->size,… in jffs2_add_full_dnode_to_fraglist()
120 if (!fn->size) { in jffs2_add_full_dnode_to_fraglist()
125 newfrag->ofs = fn->ofs; in jffs2_add_full_dnode_to_fraglist()
126 newfrag->size = fn->size; in jffs2_add_full_dnode_to_fraglist()
[all …]
Dgc.c55 struct inode *indeo, struct jffs2_full_dnode *fn,
58 struct inode *inode, struct jffs2_full_dnode *fn,
110 struct jffs2_full_dnode *fn = NULL; in jffs2_garbage_collect_pass() local
224 fn = f->metadata; in jffs2_garbage_collect_pass()
225 ret = jffs2_garbage_collect_metadata(c, jeb, inode, fn); in jffs2_garbage_collect_pass()
231 fn = frag->node; in jffs2_garbage_collect_pass()
239 if (fn) { in jffs2_garbage_collect_pass()
243 ret = jffs2_garbage_collect_hole(c, jeb, inode, fn, start, end); in jffs2_garbage_collect_pass()
246 ret = jffs2_garbage_collect_dnode(c, jeb, inode, fn, start, end); in jffs2_garbage_collect_pass()
293 struct inode *inode, struct jffs2_full_dnode *fn) in jffs2_garbage_collect_metadata() argument
[all …]
Dscan.c426 struct jffs2_full_dnode *fn; in jffs2_scan_inode_node() local
514 fn = jffs2_alloc_full_dnode(); in jffs2_scan_inode_node()
515 if (!fn) { in jffs2_scan_inode_node()
522 jffs2_free_full_dnode(fn); in jffs2_scan_inode_node()
553 …in ino #%u. Previous one is at 0x%08x\n", ri.version, ic->ino, (*tn_list)->fn->raw->flash_offset &… in jffs2_scan_inode_node()
564 memset(fn,0,sizeof(*fn)); in jffs2_scan_inode_node()
566 fn->ofs = ri.offset; in jffs2_scan_inode_node()
567 fn->size = ri.dsize; in jffs2_scan_inode_node()
568 fn->frags = 0; in jffs2_scan_inode_node()
569 fn->raw = raw; in jffs2_scan_inode_node()
[all …]
Dbuild.c174 metadata->fn->raw->flash_offset &~3)); in jffs2_build_inode_pass1()
176 jffs2_free_full_dnode(metadata->fn); in jffs2_build_inode_pass1()
181 if (tn->fn->size) { in jffs2_build_inode_pass1()
182 jffs2_add_full_dnode_to_fraglist (c, &fraglist, tn->fn); in jffs2_build_inode_pass1()
189 tn->fn->raw->flash_offset &~3)); in jffs2_build_inode_pass1()
191 jffs2_free_full_dnode(tn->fn); in jffs2_build_inode_pass1()
199 jffs2_free_full_dnode(metadata->fn); in jffs2_build_inode_pass1()
Dwrite.c180 struct jffs2_full_dnode *fn; in jffs2_write_dnode() local
204 fn = jffs2_alloc_full_dnode(); in jffs2_write_dnode()
205 if (!fn) { in jffs2_write_dnode()
213 fn->ofs = ri->offset; in jffs2_write_dnode()
214 fn->size = ri->dsize; in jffs2_write_dnode()
215 fn->frags = 0; in jffs2_write_dnode()
216 fn->raw = raw; in jffs2_write_dnode()
240 jffs2_free_full_dnode(fn); in jffs2_write_dnode()
257 return fn; in jffs2_write_dnode()
Dfile.c345 struct jffs2_full_dnode *fn; in jffs2_prepare_write() local
377 fn = jffs2_write_dnode(inode, &ri, NULL, 0, phys_ofs, NULL); in jffs2_prepare_write()
379 if (IS_ERR(fn)) { in jffs2_prepare_write()
380 ret = PTR_ERR(fn); in jffs2_prepare_write()
384 ret = jffs2_add_full_dnode_to_inode(c, f, fn); in jffs2_prepare_write()
392 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_prepare_write()
393 jffs2_free_full_dnode(fn); in jffs2_prepare_write()
442 struct jffs2_full_dnode *fn; in jffs2_commit_write() local
495 fn = jffs2_write_dnode(inode, ri, comprbuf, cdatalen, phys_ofs, NULL); in jffs2_commit_write()
502 if (IS_ERR(fn)) { in jffs2_commit_write()
[all …]
Ddir.c198 struct jffs2_full_dnode *fn; in jffs2_create() local
243 fn = jffs2_write_dnode(inode, ri, NULL, 0, phys_ofs, &writtenlen); in jffs2_create()
247 if (IS_ERR(fn)) { in jffs2_create()
253 return PTR_ERR(fn); in jffs2_create()
258 f->metadata = fn; in jffs2_create()
517 struct jffs2_full_dnode *fn; in jffs2_symlink() local
567 fn = jffs2_write_dnode(inode, ri, target, strlen(target), phys_ofs, &writtenlen); in jffs2_symlink()
571 if (IS_ERR(fn)) { in jffs2_symlink()
576 return PTR_ERR(fn); in jffs2_symlink()
581 f->metadata = fn; in jffs2_symlink()
[all …]
/linux-2.4.37.9/drivers/sound/
Dsound_firmware.c12 static int do_mod_firmware_load(const char *fn, char **fp) in do_mod_firmware_load() argument
18 fd = open(fn, 0, 0); in do_mod_firmware_load()
21 printk(KERN_INFO "Unable to load '%s'.\n", fn); in do_mod_firmware_load()
27 printk(KERN_INFO "Invalid firmware '%s'\n", fn); in do_mod_firmware_load()
35 printk(KERN_INFO "Out of memory loading '%s'.\n", fn); in do_mod_firmware_load()
41 printk(KERN_INFO "Failed to read '%s'.\n", fn); in do_mod_firmware_load()
69 int mod_firmware_load(const char *fn, char **fp) in mod_firmware_load() argument
75 r = do_mod_firmware_load(fn, fp); in mod_firmware_load()
/linux-2.4.37.9/drivers/parport/
Dieee1284.c614 size_t (*fn) (struct parport *, const void *, size_t, int); in parport_write()
627 fn = port->ops->compat_write_data; in parport_write()
633 fn = port->ops->epp_write_addr; in parport_write()
635 fn = port->ops->epp_write_data; in parport_write()
642 fn = parport_ieee1284_epp_write_addr; in parport_write()
644 fn = parport_ieee1284_epp_write_data; in parport_write()
651 fn = port->ops->ecp_write_addr; in parport_write()
653 fn = port->ops->ecp_write_data; in parport_write()
663 fn = parport_ieee1284_ecp_write_addr; in parport_write()
665 fn = parport_ieee1284_ecp_write_data; in parport_write()
[all …]
/linux-2.4.37.9/drivers/hotplug/
Dpci_hotplug_util.c262 static int pci_visit_bus (struct pci_visit * fn, struct pci_bus_wrapped *wrapped_bus, struct pci_de… in pci_visit_bus() argument
271 if (fn->pre_visit_pci_bus) { in pci_visit_bus()
272 result = fn->pre_visit_pci_bus(wrapped_bus, wrapped_parent); in pci_visit_bus()
285 result = pci_visit_dev(fn, &wrapped_dev, wrapped_bus); in pci_visit_bus()
290 if (fn->post_visit_pci_bus) in pci_visit_bus()
291 result = fn->post_visit_pci_bus(wrapped_bus, wrapped_parent); in pci_visit_bus()
297 static int pci_visit_bridge (struct pci_visit * fn, struct pci_dev_wrapped *wrapped_dev, struct pci… in pci_visit_bridge() argument
309 if (fn->visit_pci_dev) { in pci_visit_bridge()
310 result = fn->visit_pci_dev(wrapped_dev, wrapped_parent); in pci_visit_bridge()
315 result = pci_visit_bus(fn, &wrapped_bus, wrapped_dev); in pci_visit_bridge()
[all …]
/linux-2.4.37.9/scripts/
Dsplit-man20 my $fn = "$ARGV[0]/$1.9";
21 if (open OUT, ">$fn") {
22 print STDERR "creating $fn\n";
24 die "can't open $fn: $!\n";
/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-pc.c36 int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value) = NULL;
37 int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value) = NULL;
56 #define PCI_CONF1_ADDRESS(bus, dev, fn, reg) \ argument
57 (0x80000000 | (bus << 16) | (dev << 11) | (fn << 8) | (reg & ~3))
59 static int pci_conf1_read (int seg, int bus, int dev, int fn, int reg, int len, in pci_conf1_read() argument
64 if (!value || (bus > 255) || (dev > 31) || (fn > 7) || (reg > 255)) in pci_conf1_read()
69 outl(PCI_CONF1_ADDRESS(bus, dev, fn, reg), 0xCF8); in pci_conf1_read()
88 static int pci_conf1_write (int seg, int bus, int dev, int fn, int reg, int len, u32 value) in pci_conf1_write() argument
92 if ((bus > 255) || (dev > 31) || (fn > 7) || (reg > 255)) in pci_conf1_write()
97 outl(PCI_CONF1_ADDRESS(bus, dev, fn, reg), 0xCF8); in pci_conf1_write()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dpci-pc.c29 int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value) = NULL;
30 int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value) = NULL;
58 #define PCI_CONF1_ADDRESS(bus, dev, fn, reg) \ argument
59 (0x80000000 | (BUS2LOCAL(bus) << 16) | (dev << 11) | (fn << 8) | (reg & ~3))
61 static int pci_conf1_mq_read (int seg, int bus, int dev, int fn, int reg, int len, u32 *value) /* C… in pci_conf1_mq_read() argument
65 if (bus > 255 || dev > 31 || fn > 7 || reg > 255) in pci_conf1_mq_read()
70 outl_quad(PCI_CONF1_ADDRESS(bus, dev, fn, reg), 0xCF8, BUS2QUAD(bus)); in pci_conf1_mq_read()
89 static int pci_conf1_mq_write (int seg, int bus, int dev, int fn, int reg, int len, u32 value) /* C… in pci_conf1_mq_write() argument
93 if (bus > 255 || dev > 31 || fn > 7 || reg > 255) in pci_conf1_mq_write()
98 outl_quad(PCI_CONF1_ADDRESS(bus, dev, fn, reg), 0xCF8, BUS2QUAD(bus)); in pci_conf1_mq_write()
[all …]
/linux-2.4.37.9/drivers/pcmcia/
Dcardbus.c178 int read_cb_mem(socket_info_t * s, u_char fn, int space, in read_cb_mem() argument
189 dev = &s->cb_config[fn].dev; in read_cb_mem()
420 u_char i, hdr, fn; in cb_alloc() local
436 fn = 1; in cb_alloc()
439 tmp.devfn = fn; in cb_alloc()
442 fn++; in cb_alloc()
443 } while (fn < 8); in cb_alloc()
445 s->functions = fn; in cb_alloc()
447 c = kmalloc(fn * sizeof(struct cb_config_t), GFP_ATOMIC); in cb_alloc()
450 memset(c, 0, fn * sizeof(struct cb_config_t)); in cb_alloc()
[all …]
/linux-2.4.37.9/drivers/message/fusion/
Dlinux_compat.h68 #define __initcall(fn) \ argument
69 static initcall_t __initcall_##fn __init_call = fn
70 #define __exitcall(fn) \ argument
71 static exitcall_t __exitcall_##fn __exit_call = fn
/linux-2.4.37.9/arch/ia64/kernel/
Dpci.c52 int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value);
53 int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value);
62 #define PCI_SAL_ADDRESS(seg, bus, dev, fn, reg) \ argument
64 (u64)(dev << 11) | (u64)(fn << 8) | (u64)(reg))
67 pci_sal_read (int seg, int bus, int dev, int fn, int reg, int len, u32 *value) in pci_sal_read() argument
72 if (!value || (seg > 255) || (bus > 255) || (dev > 31) || (fn > 7) || (reg > 255)) in pci_sal_read()
75 result = ia64_sal_pci_config_read(PCI_SAL_ADDRESS(seg, bus, dev, fn, reg), len, &data); in pci_sal_read()
83 pci_sal_write (int seg, int bus, int dev, int fn, int reg, int len, u32 value) in pci_sal_write() argument
85 if ((seg > 255) || (bus > 255) || (dev > 31) || (fn > 7) || (reg > 255)) in pci_sal_write()
88 return ia64_sal_pci_config_write(PCI_SAL_ADDRESS(seg, bus, dev, fn, reg), len, value); in pci_sal_write()
/linux-2.4.37.9/arch/parisc/kernel/
Dprocess.c171 extern pid_t __kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
172 pid_t arch_kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) in arch_kernel_thread()
180 return __kernel_thread(fn, arg, flags); in arch_kernel_thread()
/linux-2.4.37.9/fs/
Dread_write.c118 loff_t (*fn)(struct file *, loff_t, int); in llseek() local
121 fn = default_llseek; in llseek()
123 fn = file->f_op->llseek; in llseek()
125 retval = fn(file, offset, origin); in llseek()
245 io_fn_t fn; in do_readv_writev() local
310 fn = (type == VERIFY_WRITE ? file->f_op->read : in do_readv_writev()
325 nr = fn(file, base, len, &file->f_pos); in do_readv_writev()
/linux-2.4.37.9/Documentation/
Dkernel-doc-nano-HOWTO.txt79 $fn = "$ARGV[0]/$2.$1";
80 print STDERR "Creating $fn\n";
81 open OUT, ">$fn" or die "can't open $fn: $!\n";
94 $ scripts/kernel-doc -man -function fn file | nroff -man | less
98 $ scripts/kernel-doc -text -function fn file
/linux-2.4.37.9/arch/sh/kernel/
Dio_unknown.c17 #define UNKNOWN_ALIAS(fn) \ argument
18 void unknown_##fn(void) __attribute__ ((alias ("unknown_handler")));
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_tables.h299 #define IPT_MATCH_ITERATE(e, fn, args...) \ argument
310 __ret = fn(__match , ## args); \
318 #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
327 __ret = fn(__entry , ## args); \

12345678