Home
last modified time | relevance | path

Searched refs:ei (Results 1 – 25 of 77) sorted by relevance

1234

/linux-4.19.296/drivers/gpio/
Dgpio-htc-egpio.c53 static inline void egpio_writew(u16 value, struct egpio_info *ei, int reg) in egpio_writew() argument
55 writew(value, ei->base_addr + (reg << ei->bus_shift)); in egpio_writew()
58 static inline u16 egpio_readw(struct egpio_info *ei, int reg) in egpio_readw() argument
60 return readw(ei->base_addr + (reg << ei->bus_shift)); in egpio_readw()
67 static inline void ack_irqs(struct egpio_info *ei) in ack_irqs() argument
69 egpio_writew(ei->ack_write, ei, ei->ack_register); in ack_irqs()
71 ei->ack_write, ei->ack_register << ei->bus_shift); in ack_irqs()
83 struct egpio_info *ei = irq_data_get_irq_chip_data(data); in egpio_mask() local
84 ei->irqs_enabled &= ~(1 << (data->irq - ei->irq_start)); in egpio_mask()
85 pr_debug("EGPIO mask %d %04x\n", data->irq, ei->irqs_enabled); in egpio_mask()
[all …]
/linux-4.19.296/fs/f2fs/
Dextent_cache.c198 struct extent_tree *et, struct extent_info *ei, in __attach_extent_node() argument
207 en->ei = *ei; in __attach_extent_node()
279 struct extent_tree *et, struct extent_info *ei) in __init_extent_tree() argument
284 en = __attach_extent_node(sbi, et, ei, NULL, p); in __init_extent_tree()
288 et->largest = en->ei; in __init_extent_tree()
327 struct extent_info ei; in __f2fs_init_extent_tree() local
343 get_extent_info(&ei, i_ext); in __f2fs_init_extent_tree()
349 en = __init_extent_tree(sbi, et, &ei); in __f2fs_init_extent_tree()
371 struct extent_info *ei) in f2fs_lookup_extent_tree() argument
387 *ei = et->largest; in f2fs_lookup_extent_tree()
[all …]
/linux-4.19.296/fs/ext2/
Dioctl.c24 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_ioctl() local
33 flags = ei->i_flags & EXT2_FL_USER_VISIBLE; in ext2_ioctl()
61 oldflags = ei->i_flags; in ext2_ioctl()
79 ei->i_flags = flags; in ext2_ioctl()
118 && ei->i_block_alloc_info) { in ext2_ioctl()
119 rsv_window_size = ei->i_block_alloc_info->rsv_window_node.rsv_goal_size; in ext2_ioctl()
149 mutex_lock(&ei->truncate_mutex); in ext2_ioctl()
150 if (!ei->i_block_alloc_info) in ext2_ioctl()
153 if (ei->i_block_alloc_info){ in ext2_ioctl()
154 struct ext2_reserve_window_node *rsv = &ei->i_block_alloc_info->rsv_window_node; in ext2_ioctl()
[all …]
Dinode.c296 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_find_near() local
297 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext2_find_near()
315 bg_start = ext2_group_first_block_no(inode->i_sb, ei->i_block_group); in ext2_find_near()
634 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_get_blocks() local
680 mutex_lock(&ei->truncate_mutex); in ext2_get_blocks()
701 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks()
706 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks()
715 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info)) in ext2_get_blocks()
735 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks()
756 mutex_unlock(&ei->truncate_mutex); in ext2_get_blocks()
[all …]
Dialloc.c443 struct ext2_inode_info *ei; in ext2_new_inode() local
452 ei = EXT2_I(inode); in ext2_new_inode()
562 memset(ei->i_data, 0, sizeof(ei->i_data)); in ext2_new_inode()
563 ei->i_flags = in ext2_new_inode()
565 ei->i_faddr = 0; in ext2_new_inode()
566 ei->i_frag_no = 0; in ext2_new_inode()
567 ei->i_frag_size = 0; in ext2_new_inode()
568 ei->i_file_acl = 0; in ext2_new_inode()
569 ei->i_dir_acl = 0; in ext2_new_inode()
570 ei->i_dtime = 0; in ext2_new_inode()
[all …]
/linux-4.19.296/include/linux/soc/qcom/
Dqmi.h175 struct qmi_elem_info *ei; member
191 struct qmi_elem_info *ei; member
251 struct qmi_elem_info *ei, const void *c_struct);
254 struct qmi_elem_info *ei, const void *c_struct);
256 int msg_id, size_t len, struct qmi_elem_info *ei,
260 unsigned int txn_id, struct qmi_elem_info *ei,
264 struct qmi_elem_info *ei, void *c_struct);
267 struct qmi_elem_info *ei, void *c_struct);
/linux-4.19.296/fs/coda/
Dinode.c45 struct coda_inode_info *ei; in coda_alloc_inode() local
46 ei = kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); in coda_alloc_inode()
47 if (!ei) in coda_alloc_inode()
49 memset(&ei->c_fid, 0, sizeof(struct CodaFid)); in coda_alloc_inode()
50 ei->c_flags = 0; in coda_alloc_inode()
51 ei->c_uid = GLOBAL_ROOT_UID; in coda_alloc_inode()
52 ei->c_cached_perm = 0; in coda_alloc_inode()
53 spin_lock_init(&ei->c_lock); in coda_alloc_inode()
54 return &ei->vfs_inode; in coda_alloc_inode()
70 struct coda_inode_info *ei = (struct coda_inode_info *) foo; in init_once() local
[all …]
/linux-4.19.296/fs/ext4/
Dextents_status.c149 static int es_reclaim_extents(struct ext4_inode_info *ei, int *nr_to_scan);
300 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_es_list_add() local
303 if (!list_empty(&ei->i_es_list)) in ext4_es_list_add()
307 if (list_empty(&ei->i_es_list)) { in ext4_es_list_add()
308 list_add_tail(&ei->i_es_list, &sbi->s_es_list); in ext4_es_list_add()
316 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_es_list_del() local
320 if (!list_empty(&ei->i_es_list)) { in ext4_es_list_del()
321 list_del_init(&ei->i_es_list); in ext4_es_list_del()
975 struct ext4_inode_info *ei; in __es_shrink() local
994 ei = list_first_entry(&sbi->s_es_list, struct ext4_inode_info, in __es_shrink()
[all …]
Dinode.c54 struct ext4_inode_info *ei) in ext4_inode_csum() argument
62 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset); in ext4_inode_csum()
73 if (EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) { in ext4_inode_csum()
86 struct ext4_inode_info *ei) in ext4_inode_csum_verify() argument
96 calculated = ext4_inode_csum(inode, raw, ei); in ext4_inode_csum_verify()
98 EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) in ext4_inode_csum_verify()
107 struct ext4_inode_info *ei) in ext4_inode_csum_set() argument
116 csum = ext4_inode_csum(inode, raw, ei); in ext4_inode_csum_set()
119 EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) in ext4_inode_csum_set()
377 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_da_update_reserve_space() local
[all …]
Dmigrate.c314 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_ext_swap_inode_data() local
328 i_data[0] = ei->i_data[EXT4_IND_BLOCK]; in ext4_ext_swap_inode_data()
329 i_data[1] = ei->i_data[EXT4_DIND_BLOCK]; in ext4_ext_swap_inode_data()
330 i_data[2] = ei->i_data[EXT4_TIND_BLOCK]; in ext4_ext_swap_inode_data()
349 memcpy(ei->i_data, tmp_ei->i_data, sizeof(ei->i_data)); in ext4_ext_swap_inode_data()
411 struct ext4_inode_info *ei = EXT4_I(inode); in free_ext_block() local
412 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block()
434 struct ext4_inode_info *ei; in ext4_ext_migrate() local
486 ei = EXT4_I(inode); in ext4_ext_migrate()
488 EXT4_I(tmp_inode)->i_csum_seed = ei->i_csum_seed; in ext4_ext_migrate()
[all …]
Dpage-io.c201 struct ext4_inode_info *ei = EXT4_I(io_end->inode); in ext4_add_complete_io() local
209 spin_lock_irqsave(&ei->i_completed_io_lock, flags); in ext4_add_complete_io()
211 if (list_empty(&ei->i_rsv_conversion_list)) in ext4_add_complete_io()
212 queue_work(wq, &ei->i_rsv_conversion_work); in ext4_add_complete_io()
213 list_add_tail(&io_end->list, &ei->i_rsv_conversion_list); in ext4_add_complete_io()
214 spin_unlock_irqrestore(&ei->i_completed_io_lock, flags); in ext4_add_complete_io()
223 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_do_flush_completed_IO() local
226 spin_lock_irqsave(&ei->i_completed_io_lock, flags); in ext4_do_flush_completed_IO()
229 spin_unlock_irqrestore(&ei->i_completed_io_lock, flags); in ext4_do_flush_completed_IO()
248 struct ext4_inode_info *ei = container_of(work, struct ext4_inode_info, in ext4_end_io_rsv_work() local
[all …]
Dialloc.c757 struct ext4_inode_info *ei; in __ext4_new_inode() local
834 ei = EXT4_I(inode); in __ext4_new_inode()
854 ei->i_projid = EXT4_I(dir)->i_projid; in __ext4_new_inode()
856 ei->i_projid = make_kprojid(&init_user_ns, EXT4_DEF_PROJID); in __ext4_new_inode()
1093 ei->i_crtime = inode->i_mtime; in __ext4_new_inode()
1095 memset(ei->i_data, 0, sizeof(ei->i_data)); in __ext4_new_inode()
1096 ei->i_dir_start_lookup = 0; in __ext4_new_inode()
1097 ei->i_disksize = 0; in __ext4_new_inode()
1100 ei->i_flags = in __ext4_new_inode()
1102 ei->i_flags |= i_flags; in __ext4_new_inode()
[all …]
Dfsync.c96 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_sync_file() local
148 commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_sync_file()
Dindirect.c219 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_find_near() local
220 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext4_find_near()
679 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_ind_calc_metadata_amount() local
688 if (ei->i_da_metadata_calc_len && in ext4_ind_calc_metadata_amount()
689 (lblock & dind_mask) == ei->i_da_metadata_calc_last_lblock) { in ext4_ind_calc_metadata_amount()
690 ei->i_da_metadata_calc_len++; in ext4_ind_calc_metadata_amount()
693 ei->i_da_metadata_calc_last_lblock = lblock & dind_mask; in ext4_ind_calc_metadata_amount()
694 ei->i_da_metadata_calc_len = 1; in ext4_ind_calc_metadata_amount()
1116 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_ind_truncate() local
1117 __le32 *i_data = ei->i_data; in ext4_ind_truncate()
[all …]
/linux-4.19.296/fs/isofs/
Dinode.c68 struct iso_inode_info *ei; in isofs_alloc_inode() local
69 ei = kmem_cache_alloc(isofs_inode_cachep, GFP_KERNEL); in isofs_alloc_inode()
70 if (!ei) in isofs_alloc_inode()
72 return &ei->vfs_inode; in isofs_alloc_inode()
88 struct iso_inode_info *ei = foo; in init_once() local
90 inode_init_once(&ei->vfs_inode); in init_once()
1062 struct iso_inode_info *ei = ISOFS_I(inode); in isofs_get_blocks() local
1073 firstext = ei->i_first_extent; in isofs_get_blocks()
1074 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks()
1075 nextblk = ei->i_next_section_block; in isofs_get_blocks()
[all …]
Dexport.c116 struct iso_inode_info * ei = ISOFS_I(inode); in isofs_export_encode_fh() local
136 fh32[0] = ei->i_iget5_block; in isofs_export_encode_fh()
137 fh16[2] = (__u16)ei->i_iget5_offset; /* fh16 [sic] */ in isofs_export_encode_fh()
/linux-4.19.296/fs/proc/
Dinode.c61 struct proc_inode *ei; in proc_alloc_inode() local
64 ei = kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); in proc_alloc_inode()
65 if (!ei) in proc_alloc_inode()
67 ei->pid = NULL; in proc_alloc_inode()
68 ei->fd = 0; in proc_alloc_inode()
69 ei->op.proc_get_link = NULL; in proc_alloc_inode()
70 ei->pde = NULL; in proc_alloc_inode()
71 ei->sysctl = NULL; in proc_alloc_inode()
72 ei->sysctl_entry = NULL; in proc_alloc_inode()
73 ei->ns_ops = NULL; in proc_alloc_inode()
[all …]
Dfd.c186 struct proc_inode *ei; in proc_fd_instantiate() local
193 ei = PROC_I(inode); in proc_fd_instantiate()
194 ei->fd = data->fd; in proc_fd_instantiate()
199 ei->op.proc_get_link = proc_fd_link; in proc_fd_instantiate()
325 struct proc_inode *ei; in proc_fdinfo_instantiate() local
332 ei = PROC_I(inode); in proc_fdinfo_instantiate()
333 ei->fd = data->fd; in proc_fdinfo_instantiate()
Dnamespaces.c95 struct proc_inode *ei; in proc_ns_instantiate() local
101 ei = PROC_I(inode); in proc_ns_instantiate()
103 ei->ns_ops = ns_ops; in proc_ns_instantiate()
/linux-4.19.296/fs/qnx6/
Dinode.c115 struct qnx6_inode_info *ei = QNX6_I(inode); in qnx6_block_map() local
123 int depth = ei->di_filelevels; in qnx6_block_map()
134 block = qnx6_get_devblock(s, ei->di_block_ptr[levelptr]); in qnx6_block_map()
508 struct qnx6_inode_info *ei = QNX6_I(inode); in qnx6_private_inode() local
511 memcpy(ei->di_block_ptr, p->ptr, sizeof(p->ptr)); in qnx6_private_inode()
512 ei->di_filelevels = p->levels; in qnx6_private_inode()
524 struct qnx6_inode_info *ei; in qnx6_iget() local
535 ei = QNX6_I(inode); in qnx6_iget()
572 memcpy(&ei->di_block_ptr, &raw_inode->di_block_ptr, in qnx6_iget()
574 ei->di_filelevels = raw_inode->di_filelevels; in qnx6_iget()
[all …]
/linux-4.19.296/fs/btrfs/
Dprint-tree.c43 struct btrfs_extent_item *ei; in print_extent_item() local
55 if (unlikely(item_size < sizeof(*ei))) { in print_extent_item()
60 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
61 flags = btrfs_extent_flags(eb, ei); in print_extent_item()
64 btrfs_extent_refs(eb, ei), btrfs_extent_generation(eb, ei), in print_extent_item()
70 info = (struct btrfs_tree_block_info *)(ei + 1); in print_extent_item()
78 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in print_extent_item()
82 end = (unsigned long)ei + item_size; in print_extent_item()
/linux-4.19.296/fs/efs/
Dsuper.c70 struct efs_inode_info *ei; in efs_alloc_inode() local
71 ei = kmem_cache_alloc(efs_inode_cachep, GFP_KERNEL); in efs_alloc_inode()
72 if (!ei) in efs_alloc_inode()
74 return &ei->vfs_inode; in efs_alloc_inode()
90 struct efs_inode_info *ei = (struct efs_inode_info *) foo; in init_once() local
92 inode_init_once(&ei->vfs_inode); in init_once()
/linux-4.19.296/virt/kvm/
Dirqchip.c145 struct kvm_kernel_irq_routing_entry *ei; in setup_routing_entry() local
153 hlist_for_each_entry(ei, &rt->map[gsi], link) in setup_routing_entry()
154 if (ei->type != KVM_IRQ_ROUTING_IRQCHIP || in setup_routing_entry()
156 ue->u.irqchip.irqchip == ei->irqchip.irqchip) in setup_routing_entry()
/linux-4.19.296/fs/qnx4/
Dinode.c338 struct qnx4_inode_info *ei; in qnx4_alloc_inode() local
339 ei = kmem_cache_alloc(qnx4_inode_cachep, GFP_KERNEL); in qnx4_alloc_inode()
340 if (!ei) in qnx4_alloc_inode()
342 return &ei->vfs_inode; in qnx4_alloc_inode()
358 struct qnx4_inode_info *ei = (struct qnx4_inode_info *) foo; in init_once() local
360 inode_init_once(&ei->vfs_inode); in init_once()
/linux-4.19.296/fs/reiserfs/
Dbitmap.c503 struct reiserfs_inode_info *ei) in __discard_prealloc() argument
505 unsigned long save = ei->i_prealloc_block; in __discard_prealloc()
507 struct inode *inode = &ei->vfs_inode; in __discard_prealloc()
511 if (ei->i_prealloc_count < 0) in __discard_prealloc()
515 while (ei->i_prealloc_count > 0) { in __discard_prealloc()
524 block_to_free = ei->i_prealloc_block++; in __discard_prealloc()
525 ei->i_prealloc_count--; in __discard_prealloc()
531 ei->i_prealloc_block = save; in __discard_prealloc()
532 list_del_init(&ei->i_prealloc_list); in __discard_prealloc()
539 struct reiserfs_inode_info *ei = REISERFS_I(inode); in reiserfs_discard_prealloc() local
[all …]

1234