/linux-2.6.39/fs/hpfs/ |
D | ea.c | 73 int hpfs_read_ea(struct super_block *s, struct fnode *fnode, char *key, in hpfs_read_ea() argument 81 struct extended_attribute *ea_end = fnode_end_ea(fnode); in hpfs_read_ea() 82 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_read_ea() 92 a = le32_to_cpu(fnode->ea_secno); in hpfs_read_ea() 93 len = le32_to_cpu(fnode->ea_size_l); in hpfs_read_ea() 94 ano = fnode->ea_anode; in hpfs_read_ea() 129 char *hpfs_get_ea(struct super_block *s, struct fnode *fnode, char *key, int *size) in hpfs_get_ea() argument 136 struct extended_attribute *ea_end = fnode_end_ea(fnode); in hpfs_get_ea() 137 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_get_ea() 149 a = le32_to_cpu(fnode->ea_secno); in hpfs_get_ea() [all …]
|
D | map.c | 118 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() 120 struct fnode *fnode; in hpfs_map_fnode() local 124 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode() 128 if (le32_to_cpu(fnode->magic) != FNODE_MAGIC) { in hpfs_map_fnode() 133 if (!fnode->dirflag) { in hpfs_map_fnode() 134 if ((unsigned)fnode->btree.n_used_nodes + (unsigned)fnode->btree.n_free_nodes != in hpfs_map_fnode() 135 (fnode->btree.internal ? 12 : 8)) { in hpfs_map_fnode() 141 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode() 142 8 + fnode->btree.n_used_nodes * (fnode->btree.internal ? 8 : 12)) { in hpfs_map_fnode() 149 if (le16_to_cpu(fnode->ea_size_s) && (le16_to_cpu(fnode->ea_offs) < 0xc4 || in hpfs_map_fnode() [all …]
|
D | namei.c | 18 struct fnode *fnode; in hpfs_mkdir() local 29 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir() 30 if (!fnode) in hpfs_mkdir() 40 dee.fnode = cpu_to_le32(fno); in hpfs_mkdir() 70 fnode->len = len; in hpfs_mkdir() 71 memcpy(fnode->name, name, len > 15 ? 15 : len); in hpfs_mkdir() 72 fnode->up = cpu_to_le32(dir->i_ino); in hpfs_mkdir() 73 fnode->dirflag = 1; in hpfs_mkdir() 74 fnode->btree.n_free_nodes = 7; in hpfs_mkdir() 75 fnode->btree.n_used_nodes = 1; in hpfs_mkdir() [all …]
|
D | inode.c | 45 struct fnode *fnode; in hpfs_read_inode() local 51 if (!(fnode = hpfs_map_fnode(sb, i->i_ino, &bh))) { in hpfs_read_inode() 61 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode() 68 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode() 75 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode() 86 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode() 96 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode() 113 if (fnode->dirflag) { in hpfs_read_inode() 118 hpfs_inode->i_parent_dir = le32_to_cpu(fnode->up); in hpfs_read_inode() 119 hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_read_inode() [all …]
|
D | hpfs_fn.h | 129 static inline struct extended_attribute *fnode_ea(struct fnode *fnode) in fnode_ea() argument 131 …return (struct extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fno… in fnode_ea() 134 static inline struct extended_attribute *fnode_end_ea(struct fnode *fnode) in fnode_end_ea() argument 136 …t extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_… in fnode_end_ea() 201 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **); 249 struct hpfs_dirent *map_fnode_dirent(struct super_block *, fnode_secno, struct fnode *, struct quad… 254 int hpfs_read_ea(struct super_block *, struct fnode *, char *, char *, int); 255 char *hpfs_get_ea(struct super_block *, struct fnode *, char *, int *); 256 void hpfs_set_ea(struct inode *, struct fnode *, const char *, 282 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **);
|
D | anode.c | 64 struct fnode *fnode; in hpfs_add_sector_to_btree() local 72 if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree() 73 btree = &fnode->btree; in hpfs_add_sector_to_btree() 172 if (!(fnode = hpfs_map_fnode(s, up, &bh))) return -1; in hpfs_add_sector_to_btree() 173 btree = &fnode->btree; in hpfs_add_sector_to_btree() 229 if (!(fnode = hpfs_map_fnode(s, node, &bh))) { in hpfs_add_sector_to_btree() 233 btree = &fnode->btree; in hpfs_add_sector_to_btree() 395 struct fnode *fnode; in hpfs_truncate_btree() local 403 if (!(fnode = hpfs_map_fnode(s, f, &bh))) return; in hpfs_truncate_btree() 404 btree = &fnode->btree; in hpfs_truncate_btree() [all …]
|
D | file.c | 36 struct fnode *fnode; in hpfs_bmap() local 41 if (!(fnode = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) return 0; in hpfs_bmap() 42 disk_secno = hpfs_bplus_lookup(inode->i_sb, inode, &fnode->btree, file_secno, bh); in hpfs_bmap()
|
D | dnode.c | 239 struct fnode *fnode; in hpfs_add_to_dnode() local 342 if (!(fnode = hpfs_map_fnode(i->i_sb, le32_to_cpu(d->up), &bh))) { in hpfs_add_to_dnode() 351 fnode->u.external[0].disk_secno = cpu_to_le32(rdno); in hpfs_add_to_dnode() 536 struct fnode *fnode; in delete_empty_dnode() local 553 if ((fnode = hpfs_map_fnode(i->i_sb, up, &bh))) { in delete_empty_dnode() 554 fnode->u.external[0].disk_secno = cpu_to_le32(down); in delete_empty_dnode() 988 struct fnode *f, struct quad_buffer_head *qbh) in map_fnode_dirent() 995 struct fnode *upf; in map_fnode_dirent() 1046 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent() 1062 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent()
|
D | dir.c | 80 struct fnode *fno; in hpfs_readdir() 159 if (filldir(dirent, tempname, de->namelen, old_pos, le32_to_cpu(de->fnode), DT_UNKNOWN) < 0) { in hpfs_readdir() 224 ino = le32_to_cpu(de->fnode); in hpfs_lookup()
|
D | hpfs.h | 349 fnode_secno fnode; /* fnode giving allocation info */ member 439 struct fnode struct
|
D | alloc.c | 391 struct fnode *hpfs_alloc_fnode(struct super_block *s, secno near, fnode_secno *fno, in hpfs_alloc_fnode() 394 struct fnode *f; in hpfs_alloc_fnode()
|
/linux-2.6.39/drivers/net/wireless/ |
D | zd1201.h | 57 struct hlist_node fnode; member
|
D | zd1201.c | 362 hlist_add_head(&frag->fnode, &zd->fraglist); in zd1201_usbrx() 365 hlist_for_each_entry(frag, node, &zd->fraglist, fnode) in zd1201_usbrx() 376 hlist_del_init(&frag->fnode); in zd1201_usbrx() 1841 hlist_for_each_entry_safe(frag, node, node2, &zd->fraglist, fnode) { in zd1201_disconnect() 1842 hlist_del_init(&frag->fnode); in zd1201_disconnect()
|
/linux-2.6.39/arch/sparc/kernel/ |
D | mdesc.c | 262 u64 fnode; in invoke_on_missing() local 277 mdesc_for_each_node_by_name(b, fnode, name) { in invoke_on_missing() 281 name_prop = mdesc_get_property(b, fnode, in invoke_on_missing() 286 fid = parent_cfg_handle(b, fnode); in invoke_on_missing() 293 fid = mdesc_get_property(b, fnode, in invoke_on_missing()
|
/linux-2.6.39/drivers/staging/westbridge/astoria/api/src/ |
D | cyasusb.c | 3600 cy_as_func_c_b_node* fnode = (cy_as_func_c_b_node *) in cy_as_usb_func_callback() local 3650 cy_as_hal_assert(fnode->data != 0); in cy_as_usb_func_callback() 3652 rqt, resp, fnode->data); in cy_as_usb_func_callback() 3663 cy_as_hal_assert(fnode->data != 0); in cy_as_usb_func_callback() 3665 rqt, resp, (cy_bool *)fnode->data); in cy_as_usb_func_callback() 3671 cy_as_hal_assert(fnode->data != 0); in cy_as_usb_func_callback() 3673 rqt, resp, (cy_as_get_descriptor_data *)fnode->data); in cy_as_usb_func_callback() 3684 cy_as_hal_assert(fnode->data != 0); in cy_as_usb_func_callback() 3686 rqt, resp, (cy_bool *)fnode->data); in cy_as_usb_func_callback() 3717 fnode->cb_p((cy_as_device_handle)dev_p, stat, in cy_as_usb_func_callback() [all …]
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_hw.c | 494 hlist_for_each_entry_safe(tmp_fil, tmp_hnode, n, head, fnode) in qlcnic_prune_lb_filters() 504 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 522 hlist_for_each_entry_safe(tmp_fil, tmp_hnode, n, head, fnode) { in qlcnic_delete_lb_filters() 528 hlist_del(&tmp_fil->fnode); in qlcnic_delete_lb_filters()
|
D | qlcnic.h | 955 struct hlist_node fnode; member
|
D | qlcnic_main.c | 1854 hlist_for_each_entry_safe(tmp_fil, tmp_hnode, n, head, fnode) { in qlcnic_send_filter() 1877 hlist_add_head(&(fil->fnode), head); in qlcnic_send_filter()
|
/linux-2.6.39/drivers/staging/tidspbridge/pmgr/ |
D | dspapi.c | 299 bool fmgr, fproc, fnode, fdisp, fstrm, frmm; in api_init() local 306 fnode = node_init(); in api_init() 330 if (fnode) in api_init()
|