/Linux-v4.19/fs/hpfs/ |
D | ea.c | 74 int hpfs_read_ea(struct super_block *s, struct fnode *fnode, char *key, in hpfs_read_ea() argument 82 struct extended_attribute *ea_end = fnode_end_ea(fnode); in hpfs_read_ea() 83 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_read_ea() 93 a = le32_to_cpu(fnode->ea_secno); in hpfs_read_ea() 94 len = le32_to_cpu(fnode->ea_size_l); in hpfs_read_ea() 95 ano = fnode_in_anode(fnode); in hpfs_read_ea() 130 char *hpfs_get_ea(struct super_block *s, struct fnode *fnode, char *key, int *size) in hpfs_get_ea() argument 137 struct extended_attribute *ea_end = fnode_end_ea(fnode); in hpfs_get_ea() 138 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_get_ea() 150 a = le32_to_cpu(fnode->ea_secno); in hpfs_get_ea() [all …]
|
D | namei.c | 30 struct fnode *fnode; in hpfs_mkdir() local 41 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir() 42 if (!fnode) in hpfs_mkdir() 52 dee.fnode = cpu_to_le32(fno); in hpfs_mkdir() 82 fnode->len = len; in hpfs_mkdir() 83 memcpy(fnode->name, name, len > 15 ? 15 : len); in hpfs_mkdir() 84 fnode->up = cpu_to_le32(dir->i_ino); in hpfs_mkdir() 85 fnode->flags |= FNODE_dir; in hpfs_mkdir() 86 fnode->btree.n_free_nodes = 7; in hpfs_mkdir() 87 fnode->btree.n_used_nodes = 1; in hpfs_mkdir() [all …]
|
D | map.c | 164 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() 166 struct fnode *fnode; in hpfs_map_fnode() local 170 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode() 174 if (le32_to_cpu(fnode->magic) != FNODE_MAGIC) { in hpfs_map_fnode() 179 if (!fnode_is_dir(fnode)) { in hpfs_map_fnode() 180 if ((unsigned)fnode->btree.n_used_nodes + (unsigned)fnode->btree.n_free_nodes != in hpfs_map_fnode() 181 (bp_internal(&fnode->btree) ? 12 : 8)) { in hpfs_map_fnode() 187 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode() 188 8 + fnode->btree.n_used_nodes * (bp_internal(&fnode->btree) ? 8 : 12)) { in hpfs_map_fnode() 195 if (le16_to_cpu(fnode->ea_size_s) && (le16_to_cpu(fnode->ea_offs) < 0xc4 || in hpfs_map_fnode() [all …]
|
D | inode.c | 47 struct fnode *fnode; in hpfs_read_inode() local 53 if (!(fnode = hpfs_map_fnode(sb, i->i_ino, &bh))) { in hpfs_read_inode() 63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode() 70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode() 77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode() 89 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode() 99 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode() 116 if (fnode_is_dir(fnode)) { in hpfs_read_inode() 121 hpfs_inode->i_parent_dir = le32_to_cpu(fnode->up); in hpfs_read_inode() 122 hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_read_inode() [all …]
|
D | hpfs_fn.h | 135 static inline struct extended_attribute *fnode_ea(struct fnode *fnode) in fnode_ea() argument 137 …return (struct extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fno… in fnode_ea() 140 static inline struct extended_attribute *fnode_end_ea(struct fnode *fnode) in fnode_end_ea() argument 142 …t extended_attribute *)((char *)fnode + le16_to_cpu(fnode->ea_offs) + le16_to_cpu(fnode->acl_size_… in fnode_end_ea() 207 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **); 259 struct hpfs_dirent *map_fnode_dirent(struct super_block *, fnode_secno, struct fnode *, struct quad… 264 int hpfs_read_ea(struct super_block *, struct fnode *, char *, char *, int); 265 char *hpfs_get_ea(struct super_block *, struct fnode *, char *, int *); 266 void hpfs_set_ea(struct inode *, struct fnode *, const char *, 295 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **);
|
D | anode.c | 65 struct fnode *fnode; in hpfs_add_sector_to_btree() local 73 if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree() 74 btree = &fnode->btree; in hpfs_add_sector_to_btree() 173 if (!(fnode = hpfs_map_fnode(s, up, &bh))) return -1; in hpfs_add_sector_to_btree() 174 btree = &fnode->btree; in hpfs_add_sector_to_btree() 234 if (!(fnode = hpfs_map_fnode(s, node, &bh))) { in hpfs_add_sector_to_btree() 238 btree = &fnode->btree; in hpfs_add_sector_to_btree() 401 struct fnode *fnode; in hpfs_truncate_btree() local 409 if (!(fnode = hpfs_map_fnode(s, f, &bh))) return; in hpfs_truncate_btree() 410 btree = &fnode->btree; in hpfs_truncate_btree() [all …]
|
D | file.c | 43 struct fnode *fnode; in hpfs_bmap() local 51 if (!(fnode = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) return 0; in hpfs_bmap() 52 disk_secno = hpfs_bplus_lookup(inode->i_sb, inode, &fnode->btree, file_secno, bh); in hpfs_bmap()
|
D | hpfs.h | 350 __le32 fnode; /* fnode giving allocation info */ member 437 struct fnode struct 476 static inline bool fnode_in_anode(struct fnode *p) in fnode_in_anode() 481 static inline bool fnode_is_dir(struct fnode *p) in fnode_is_dir()
|
D | dnode.c | 250 struct fnode *fnode; in hpfs_add_to_dnode() local 353 if (!(fnode = hpfs_map_fnode(i->i_sb, le32_to_cpu(d->up), &bh))) { in hpfs_add_to_dnode() 362 fnode->u.external[0].disk_secno = cpu_to_le32(rdno); in hpfs_add_to_dnode() 546 struct fnode *fnode; in delete_empty_dnode() local 564 if ((fnode = hpfs_map_fnode(i->i_sb, up, &bh))) { in delete_empty_dnode() 565 fnode->u.external[0].disk_secno = cpu_to_le32(down); in delete_empty_dnode() 999 struct fnode *f, struct quad_buffer_head *qbh) in map_fnode_dirent() 1006 struct fnode *upf; in map_fnode_dirent() 1057 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent() 1073 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent()
|
D | dir.c | 91 struct fnode *fno; in hpfs_readdir() 173 if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) { in hpfs_readdir() 238 ino = le32_to_cpu(de->fnode); in hpfs_lookup()
|
D | alloc.c | 454 struct fnode *hpfs_alloc_fnode(struct super_block *s, secno near, fnode_secno *fno, in hpfs_alloc_fnode() 457 struct fnode *f; in hpfs_alloc_fnode()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_iscsi.c | 826 iscsi_flashnode_sess_attr(fnode, auto_snd_tgt_disable, 828 iscsi_flashnode_sess_attr(fnode, discovery_session, 830 iscsi_flashnode_sess_attr(fnode, portal_type, ISCSI_FLASHNODE_PORTAL_TYPE); 831 iscsi_flashnode_sess_attr(fnode, entry_enable, ISCSI_FLASHNODE_ENTRY_EN); 832 iscsi_flashnode_sess_attr(fnode, immediate_data, ISCSI_FLASHNODE_IMM_DATA_EN); 833 iscsi_flashnode_sess_attr(fnode, initial_r2t, ISCSI_FLASHNODE_INITIAL_R2T_EN); 834 iscsi_flashnode_sess_attr(fnode, data_seq_in_order, 836 iscsi_flashnode_sess_attr(fnode, data_pdu_in_order, 838 iscsi_flashnode_sess_attr(fnode, chap_auth, ISCSI_FLASHNODE_CHAP_AUTH_EN); 839 iscsi_flashnode_sess_attr(fnode, discovery_logout, [all …]
|
/Linux-v4.19/kernel/bpf/ |
D | stackmap.c | 22 struct pcpu_freelist_node fnode; member 399 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3() 403 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in BPF_CALL_3() 425 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in BPF_CALL_3() 531 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in bpf_stackmap_copy() 582 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_delete_elem()
|
D | hashtab.c | 56 struct pcpu_freelist_node fnode; member 190 htab->elems + offsetof(struct htab_elem, fnode), in prealloc_init() 226 l_new = container_of(l, struct htab_elem, fnode); in alloc_extra_elems() 251 BUILD_BUG_ON(offsetof(struct htab_elem, fnode.next) != in htab_map_alloc_check() 680 pcpu_freelist_push(&htab->freelist, &l->fnode); in free_htab_elem() 745 l_new = container_of(l, struct htab_elem, fnode); in alloc_htab_elem()
|
/Linux-v4.19/drivers/net/wireless/zydas/ |
D | zd1201.h | 57 struct hlist_node fnode; member
|
D | zd1201.c | 364 hlist_add_head(&frag->fnode, &zd->fraglist); in zd1201_usbrx() 367 hlist_for_each_entry(frag, &zd->fraglist, fnode) in zd1201_usbrx() 378 hlist_del_init(&frag->fnode); in zd1201_usbrx() 1841 hlist_for_each_entry_safe(frag, node2, &zd->fraglist, fnode) { in zd1201_disconnect() 1842 hlist_del_init(&frag->fnode); in zd1201_disconnect()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 645 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_prune_lb_filters() 656 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 665 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) in qlcnic_prune_lb_filters() 671 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 689 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_delete_lb_filters() 698 hlist_del(&tmp_fil->fnode); in qlcnic_delete_lb_filters()
|
D | qlcnic_io.c | 171 hlist_del(&fil->fnode); in qlcnic_delete_rx_list_mac() 182 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_find_mac_filter() 231 hlist_add_head(&(fil->fnode), head); in qlcnic_add_lb_filter() 246 hlist_del(&tmp_fil->fnode); in qlcnic_add_lb_filter() 333 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_send_filter() 358 hlist_add_head(&(fil->fnode), head); in qlcnic_send_filter()
|
D | qlcnic.h | 1077 struct hlist_node fnode; member
|