| /linux/fs/hpfs/ |
| H A 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 …]
|
| H A 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(GET_BTREE_PTR(&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(GET_BTREE_PTR(&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 …]
|
| H A 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 …]
|
| H A 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 **);
|
| H A D | anode.c | 65 struct fnode *fnode; in hpfs_add_sector_to_btree() local 74 if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree() 75 btree = GET_BTREE_PTR(&fnode->btree); in hpfs_add_sector_to_btree() 174 if (!(fnode = hpfs_map_fnode(s, up, &bh))) return -1; in hpfs_add_sector_to_btree() 175 btree = GET_BTREE_PTR(&fnode->btree); in hpfs_add_sector_to_btree() 235 if (!(fnode = hpfs_map_fnode(s, node, &bh))) { in hpfs_add_sector_to_btree() 239 btree = GET_BTREE_PTR(&fnode->btree); in hpfs_add_sector_to_btree() 402 struct fnode *fnode; in hpfs_truncate_btree() local 410 if (!(fnode = hpfs_map_fnode(s, f, &bh))) return; in hpfs_truncate_btree() 411 btree = GET_BTREE_PTR(&fnode->btree); in hpfs_truncate_btree() [all …]
|
| H A D | hpfs.h | 350 __le32 fnode; /* fnode giving allocation info */ member 456 struct fnode struct 495 static inline bool fnode_in_anode(struct fnode *p) in fnode_in_anode() 500 static inline bool fnode_is_dir(struct fnode *p) in fnode_is_dir()
|
| H A 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/drivers/scsi/ |
| H A 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_logou [all...] |
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_numa.c | 20 static int fnode = FUTEX_NO_NODE; variable 48 new.node = fnode; in futex_numa_32_lock() 186 fnode = atoi(optarg); in main()
|
| /linux/kernel/bpf/ |
| H A D | stackmap.c | 21 struct pcpu_freelist_node fnode; member 607 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in stackid_install() 611 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in stackid_install() 618 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stackid_install() 1068 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_get_next_key() 1119 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_free()
|
| H A D | hashtab.c | 117 struct pcpu_freelist_node fnode; 464 offsetof(struct htab_elem, fnode), in htab_map_alloc_check() 500 l_new = container_of(l, struct htab_elem, fnode); in htab_dtor_ctx_free() 524 BUILD_BUG_ON(offsetof(struct htab_elem, fnode.next) != in bpf_ma_set_dtor() 1190 pcpu_freelist_push(&htab->freelist, &l->fnode); in check_flags() 1291 l_new = container_of(l, struct htab_elem, fnode); in htab_map_update_elem() 115 struct pcpu_freelist_node fnode; global() member
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_hw.c | 640 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_prune_lb_filters() 651 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 660 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) in qlcnic_prune_lb_filters() 666 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 684 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_delete_lb_filters() 693 hlist_del(&tmp_fil->fnode); in qlcnic_delete_lb_filters()
|
| H A 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()
|