Home
last modified time | relevance | path

Searched refs:nlink (Results 1 – 25 of 64) sorted by relevance

123

/linux-2.4.37.9/arch/ppc64/kernel/
Dmf_proc.c69 ent->nlink = 1; in mf_proc_init()
76 ent->nlink = 1; in mf_proc_init()
86 ent->nlink = 1; in mf_proc_init()
93 ent->nlink = 1; in mf_proc_init()
103 ent->nlink = 1; in mf_proc_init()
110 ent->nlink = 1; in mf_proc_init()
121 ent->nlink = 1; in mf_proc_init()
128 ent->nlink = 1; in mf_proc_init()
135 ent->nlink = 1; in mf_proc_init()
142 ent->nlink = 1; in mf_proc_init()
Dproc_pmc.c161 ent->nlink = 1; in proc_ppc64_init()
169 ent->nlink = 1; in proc_ppc64_init()
206 ent->nlink = 1; in proc_ppc64_init()
215 ent->nlink = 1; in proc_ppc64_init()
225 ent->nlink = 1; in proc_ppc64_init()
234 ent->nlink = 1; in proc_ppc64_init()
242 ent->nlink = 1; in proc_ppc64_init()
249 ent->nlink = 1; in proc_ppc64_init()
256 ent->nlink = 1; in proc_ppc64_init()
265 ent->nlink = 1; in proc_ppc64_init()
[all …]
Dproc_pcifr.c77 pciFr_proc_root->nlink = 1; in proc_pciFr_init()
91 pciDev_proc_root->nlink = 1; in proc_pciFr_init()
/linux-2.4.37.9/fs/proc/
Droot.c78 int nlink = proc_root.nlink; in proc_root_lookup() local
80 nlink += nr_threads; in proc_root_lookup()
82 dir->i_nlink = nlink; in proc_root_lookup()
131 nlink: 2,
Dgeneric.c382 dir->nlink++; in proc_register()
426 nlink_t nlink) in proc_create() argument
447 ent->nlink = nlink; in proc_create()
521 nlink_t nlink; in create_proc_entry() local
526 nlink = 2; in create_proc_entry()
532 nlink = 1; in create_proc_entry()
535 ent = proc_create(&parent,name,mode,nlink); in create_proc_entry()
582 parent->nlink--; in remove_proc_entry()
586 de->nlink = 0; in remove_proc_entry()
Dinode.c159 if (de->nlink) in proc_get_inode()
160 inode->i_nlink = de->nlink; in proc_get_inode()
/linux-2.4.37.9/arch/ia64/sn/kernel/sn2/
Dsn_proc_fs.c59 entry->nlink = 1; in register_sn_partition_id()
87 entry->nlink = 1; in register_sn_serial_numbers()
94 entry->nlink = 1; in register_sn_serial_numbers()
134 entry->nlink = 1; in register_sn_force_interrupt()
181 entry->nlink = 1; in register_sn_linkstats()
/linux-2.4.37.9/fs/jffs2/
Dbuild.c114 …D1(printk(KERN_DEBUG "Pass 2: ino #%u, nlink %d, ic %p, nodes %p\n", ic->ino, ic->nlink, ic, ic->n… in jffs2_build_filesystem()
115 if (ic->nlink) in jffs2_build_filesystem()
135 if (ic->nlink) { in jffs2_build_filesystem()
136 …1(printk(KERN_WARNING "Why no scan struct for ino #%u which has nlink %d?\n", ic->ino, ic->nlink)); in jffs2_build_filesystem()
228 if (child_ic->nlink++ && fd->type == DT_DIR) { in jffs2_build_inode_pass1()
278 child_ic->nlink--; in jffs2_build_remove_unlinked_inode()
Dreadinode.c280 f->inocache->ino = f->inocache->nlink = 1; in jffs2_read_inode()
289 …UG "jffs2_read_inode(): ino #%lu nlink is %d\n", (unsigned long)inode->i_ino, f->inocache->nlink)); in jffs2_read_inode()
290 inode->i_nlink = f->inocache->nlink; in jffs2_read_inode()
340 inode->i_nlink = f->inocache->nlink; in jffs2_read_inode()
476 deleted = f->inocache && !f->inocache->nlink; in jffs2_clear_inode()
Ddir.c329 inode->i_ino, inode->i_mode, inode->i_nlink, f->inocache->nlink, inode->i_mapping->nrpages)); in jffs2_create()
409 f->inocache->nlink--; in jffs2_do_unlink()
483 old_dentry->d_inode->i_nlink = ++f->inocache->nlink; in jffs2_do_link()
987 victim_f->inocache->nlink--; in jffs2_rename()
1000 old_dentry->d_inode->i_nlink = f->inocache->nlink++; in jffs2_rename()
/linux-2.4.37.9/include/linux/
Djffs.h90 __u8 nlink; /* Number of links. */ member
148 __u8 nlink; /* Number of links. */ member
Dumsdos_fs.h67 unsigned short nlink; /* How many hard links point to this entry */ member
Dproc_fs.h58 nlink_t nlink; member
/linux-2.4.37.9/fs/jffs/
Dinode-v23.c259 raw_inode.nlink = f->nlink; in jffs_setattr()
358 inode->i_nlink = raw_inode->nlink; in jffs_new_inode()
484 raw_inode.nlink = f->nlink; in jffs_rename()
852 raw_inode.nlink = 1; in jffs_mkdir()
1010 raw_inode.nlink = del_f->nlink; in jffs_remove()
1086 raw_inode.nlink = 1; in jffs_mknod()
1192 raw_inode.nlink = 1; in jffs_symlink()
1290 raw_inode.nlink = 1; in jffs_create()
1422 raw_inode.nlink = f->nlink; in jffs_file_write()
1660 inode->i_nlink = f->nlink; in jffs_read_inode()
/linux-2.4.37.9/fs/xfs/
Dxfs_utils.c150 nlink_t nlink, in xfs_dir_ialloc() argument
189 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc, in xfs_dir_ialloc()
287 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, in xfs_dir_ialloc()
/linux-2.4.37.9/fs/umsdos/
Demd.c25 p->nlink = cpu_to_le16(q->nlink); in put_entry()
40 p->nlink = le16_to_cpu (q->nlink); in get_entry()
Dnamei.c261 info.entry.nlink = 1; in umsdos_create_any()
335 new_info->entry.nlink = old_info->entry.nlink; in umsdos_ren_init()
792 info.entry.nlink = 1; in UMSDOS_mkdir()
/linux-2.4.37.9/drivers/net/wan/
Dcomx-hw-mixcom.c843 new_file->nlink = 1; in MIXCOM_init()
852 new_file->nlink = 1; in MIXCOM_init()
862 new_file->nlink = 1; in MIXCOM_init()
872 new_file->nlink = 1; in MIXCOM_init()
881 new_file->nlink = 1; in MIXCOM_init()
Dcomx-hw-comx.c1251 new_file->nlink = 1; in COMX_init()
1261 new_file->nlink = 1; in COMX_init()
1271 new_file->nlink = 1; in COMX_init()
1282 new_file->nlink = 1; in COMX_init()
1293 new_file->nlink = 1; in COMX_init()
1302 new_file->nlink = 1; in COMX_init()
1311 new_file->nlink = 1; in COMX_init()
Dcomx.c801 new_dir->nlink = 2; in comx_mkdir()
827 debug_file->nlink = 1; in comx_mkdir()
978 new_file->nlink = 1; in create_comx_proc_entry()
1093 new_file->nlink = 1; in comx_init()
1103 new_file->nlink = 1; in comx_init()
Dcomx-hw-locomx.c397 new_file->nlink = 1; in LOCOMX_init()
406 new_file->nlink = 1; in LOCOMX_init()
Dcomx-proto-fr.c812 new_file->nlink = 1; in fr_master_init()
822 new_file->nlink = 1; in fr_master_init()
872 new_file->nlink = 1; in fr_slave_init()
882 new_file->nlink = 1; in fr_slave_init()
Dcomx-hw-munich.c2680 new_file->nlink = 1; in BOARD_init()
2691 new_file->nlink = 1; in BOARD_init()
2700 new_file->nlink = 1; in BOARD_init()
2709 new_file->nlink = 1; in BOARD_init()
2718 new_file->nlink = 1; in BOARD_init()
2727 new_file->nlink = 1; in BOARD_init()
2737 new_file->nlink = 1; in BOARD_init()
2747 new_file->nlink = 1; in BOARD_init()
/linux-2.4.37.9/arch/parisc/kernel/
Dled.c234 ent->nlink = 1; in led_create_procfs()
244 ent->nlink = 1; in led_create_procfs()
/linux-2.4.37.9/arch/mips64/kernel/
Dirq.c1028 entry->nlink = 1; in register_irq_proc()
1055 entry->nlink = 1; in init_irq_proc()

123