Home
last modified time | relevance | path

Searched refs:oi (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtvfb.c208 struct osd_info *oi = itv->osd_info; in ivtvfb_get_osd_coords() local
213 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
214 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
224 struct osd_info *oi = itv->osd_info; in ivtvfb_set_osd_coords() local
226 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
227 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
228 oi->set_osd_coords_x += osd->x; in ivtvfb_set_osd_coords()
229 oi->set_osd_coords_y = osd->y; in ivtvfb_set_osd_coords()
232 osd->offset + oi->video_rbase, in ivtvfb_set_osd_coords()
325 struct osd_info *oi = itv->osd_info; in ivtvfb_prep_frame() local
[all …]
/kernel/linux/linux-5.10/fs/omfs/
Ddir.c39 struct omfs_inode *oi; in omfs_scan_list() local
50 oi = (struct omfs_inode *) bh->b_data; in omfs_scan_list()
51 if (omfs_is_bad(OMFS_SB(dir->i_sb), &oi->i_head, block)) { in omfs_scan_list()
56 if (strncmp(oi->i_name, name, namelen) == 0) in omfs_scan_list()
60 block = be64_to_cpu(oi->i_sibling); in omfs_scan_list()
88 struct omfs_inode *oi; in omfs_make_empty() local
102 oi = (struct omfs_inode *) bh->b_data; in omfs_make_empty()
103 oi->i_head.h_self = cpu_to_be64(inode->i_ino); in omfs_make_empty()
104 oi->i_sibling = ~cpu_to_be64(0ULL); in omfs_make_empty()
116 struct omfs_inode *oi; in omfs_add_link() local
[all …]
Dinode.c83 static void omfs_update_checksums(struct omfs_inode *oi) in omfs_update_checksums() argument
87 unsigned char *ptr = (unsigned char *) oi; in omfs_update_checksums()
89 count = be32_to_cpu(oi->i_head.h_body_size); in omfs_update_checksums()
93 oi->i_head.h_crc = cpu_to_be16(crc); in omfs_update_checksums()
99 oi->i_head.h_check_xor = xor; in omfs_update_checksums()
104 struct omfs_inode *oi; in __omfs_write_inode() local
117 oi = (struct omfs_inode *) bh->b_data; in __omfs_write_inode()
119 oi->i_head.h_self = cpu_to_be64(inode->i_ino); in __omfs_write_inode()
121 oi->i_type = OMFS_DIR; in __omfs_write_inode()
123 oi->i_type = OMFS_FILE; in __omfs_write_inode()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c94 void ocfs2_get_inode_flags(struct ocfs2_inode_info *oi) in ocfs2_get_inode_flags() argument
96 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
98 oi->ip_attr &= ~(OCFS2_SYNC_FL|OCFS2_APPEND_FL| in ocfs2_get_inode_flags()
101 oi->ip_attr |= OCFS2_SYNC_FL; in ocfs2_get_inode_flags()
103 oi->ip_attr |= OCFS2_APPEND_FL; in ocfs2_get_inode_flags()
105 oi->ip_attr |= OCFS2_IMMUTABLE_FL; in ocfs2_get_inode_flags()
107 oi->ip_attr |= OCFS2_NOATIME_FL; in ocfs2_get_inode_flags()
109 oi->ip_attr |= OCFS2_DIRSYNC_FL; in ocfs2_get_inode_flags()
180 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_iget() local
192 oi->i_sync_tid = tid; in ocfs2_iget()
[all …]
Dextent_map.c44 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_init() local
46 oi->ip_extent_map.em_num_items = 0; in ocfs2_extent_map_init()
47 INIT_LIST_HEAD(&oi->ip_extent_map.em_list); in ocfs2_extent_map_init()
76 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_lookup() local
79 spin_lock(&oi->ip_lock); in ocfs2_extent_map_lookup()
81 __ocfs2_extent_map_lookup(&oi->ip_extent_map, cpos, &emi); in ocfs2_extent_map_lookup()
91 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_lookup()
105 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_trunc() local
106 struct ocfs2_extent_map *em = &oi->ip_extent_map; in ocfs2_extent_map_trunc()
110 spin_lock(&oi->ip_lock); in ocfs2_extent_map_trunc()
[all …]
Daops.c127 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_lock_get_block() local
129 down_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
131 up_read(&oi->ip_alloc_sem); in ocfs2_lock_get_block()
283 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_readpage() local
287 trace_ocfs2_readpage((unsigned long long)oi->ip_blkno, in ocfs2_readpage()
298 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()
306 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()
307 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
328 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_readpage()
335 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
[all …]
Dfile.c87 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_open() local
90 (unsigned long long)oi->ip_blkno, in ocfs2_file_open()
100 spin_lock(&oi->ip_lock); in ocfs2_file_open()
105 if (oi->ip_flags & OCFS2_INODE_DELETED) { in ocfs2_file_open()
106 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
113 oi->ip_flags |= OCFS2_INODE_OPEN_DIRECT; in ocfs2_file_open()
115 oi->ip_open_count++; in ocfs2_file_open()
116 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
124 spin_lock(&oi->ip_lock); in ocfs2_file_open()
125 oi->ip_open_count--; in ocfs2_file_open()
[all …]
Dsuper.c550 struct ocfs2_inode_info *oi; in ocfs2_alloc_inode() local
552 oi = kmem_cache_alloc(ocfs2_inode_cachep, GFP_NOFS); in ocfs2_alloc_inode()
553 if (!oi) in ocfs2_alloc_inode()
556 oi->i_sync_tid = 0; in ocfs2_alloc_inode()
557 oi->i_datasync_tid = 0; in ocfs2_alloc_inode()
558 memset(&oi->i_dquot, 0, sizeof(oi->i_dquot)); in ocfs2_alloc_inode()
560 jbd2_journal_init_jbd_inode(&oi->ip_jinode, &oi->vfs_inode); in ocfs2_alloc_inode()
561 return &oi->vfs_inode; in ocfs2_alloc_inode()
1678 struct ocfs2_inode_info *oi = data; in ocfs2_inode_init_once() local
1680 oi->ip_flags = 0; in ocfs2_inode_init_once()
[all …]
Ddlmglue.c734 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_lock_res_init() local
737 ocfs2_build_lock_name(OCFS2_LOCK_TYPE_FLOCK, oi->ip_blkno, in ocfs2_file_lock_res_init()
2163 struct ocfs2_inode_info *oi = OCFS2_I(inode); in __ocfs2_stuff_meta_lvb() local
2164 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in __ocfs2_stuff_meta_lvb()
2174 if (oi->ip_flags & OCFS2_INODE_DELETED) { in __ocfs2_stuff_meta_lvb()
2181 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb()
2192 lvb->lvb_iattr = cpu_to_be32(oi->ip_attr); in __ocfs2_stuff_meta_lvb()
2193 lvb->lvb_idynfeatures = cpu_to_be16(oi->ip_dyn_features); in __ocfs2_stuff_meta_lvb()
2209 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_refresh_inode_from_lvb() local
2210 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_refresh_inode_from_lvb()
[all …]
Djournal.h599 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_update_inode_fsync_trans() local
602 oi->i_sync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans()
604 oi->i_datasync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans()
Dxattr.c978 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_list() local
981 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_list()
1033 struct ocfs2_inode_info *oi = OCFS2_I(d_inode(dentry)); in ocfs2_listxattr() local
1038 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_listxattr()
1049 down_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1063 up_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1160 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_get() local
1166 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_get()
1289 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_get_nolock() local
1300 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_xattr_get_nolock()
[all …]
Drefcounttree.c558 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_create_refcount_tree() local
570 (unsigned long long)oi->ip_blkno); in ocfs2_create_refcount_tree()
640 spin_lock(&oi->ip_lock); in ocfs2_create_refcount_tree()
641 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL; in ocfs2_create_refcount_tree()
642 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_create_refcount_tree()
644 spin_unlock(&oi->ip_lock); in ocfs2_create_refcount_tree()
699 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_set_refcount_tree() local
740 spin_lock(&oi->ip_lock); in ocfs2_set_refcount_tree()
741 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL; in ocfs2_set_refcount_tree()
742 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_set_refcount_tree()
[all …]
Djournal.c2190 struct ocfs2_inode_info *oi; in ocfs2_recover_orphans() local
2206 oi = OCFS2_I(inode); in ocfs2_recover_orphans()
2208 (unsigned long long)oi->ip_blkno); in ocfs2_recover_orphans()
2210 iter = oi->ip_next_orphan; in ocfs2_recover_orphans()
2211 oi->ip_next_orphan = NULL; in ocfs2_recover_orphans()
2213 if (oi->ip_flags & OCFS2_INODE_DIO_ORPHAN_ENTRY) { in ocfs2_recover_orphans()
2256 oi->ip_flags &= ~OCFS2_INODE_DIO_ORPHAN_ENTRY; in ocfs2_recover_orphans()
2258 spin_lock(&oi->ip_lock); in ocfs2_recover_orphans()
2261 oi->ip_flags |= OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_recover_orphans()
2262 spin_unlock(&oi->ip_lock); in ocfs2_recover_orphans()
/kernel/linux/linux-5.10/fs/openpromfs/
Dinode.c147 struct op_inode_info *oi = OP_I(inode); in property_open() local
150 BUG_ON(oi->type != op_inode_prop); in property_open()
155 m->private = oi->u.prop; in property_open()
183 struct op_inode_info *ent_oi, *oi = OP_I(dir); in openpromfs_lookup() local
193 BUG_ON(oi->type != op_inode_node); in openpromfs_lookup()
195 dp = oi->u.node; in openpromfs_lookup()
268 struct op_inode_info *oi = OP_I(inode); in openpromfs_readdir() local
269 struct device_node *dp = oi->u.node; in openpromfs_readdir()
332 struct op_inode_info *oi; in openprom_alloc_inode() local
334 oi = kmem_cache_alloc(op_inode_cachep, GFP_KERNEL); in openprom_alloc_inode()
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rmap.h11 struct xfs_owner_info *oi, in xfs_rmap_ino_bmbt_owner() argument
15 oi->oi_owner = ino; in xfs_rmap_ino_bmbt_owner()
16 oi->oi_offset = 0; in xfs_rmap_ino_bmbt_owner()
17 oi->oi_flags = XFS_OWNER_INFO_BMBT_BLOCK; in xfs_rmap_ino_bmbt_owner()
19 oi->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_rmap_ino_bmbt_owner()
24 struct xfs_owner_info *oi, in xfs_rmap_ino_owner() argument
29 oi->oi_owner = ino; in xfs_rmap_ino_owner()
30 oi->oi_offset = offset; in xfs_rmap_ino_owner()
31 oi->oi_flags = 0; in xfs_rmap_ino_owner()
33 oi->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_rmap_ino_owner()
[all …]
/kernel/linux/linux-5.10/fs/orangefs/
Ddir.c61 static int do_readdir(struct orangefs_inode_s *oi, in do_readdir() argument
75 op->upcall.req.readdir.refn = oi->refn; in do_readdir()
161 static int orangefs_dir_more(struct orangefs_inode_s *oi, in orangefs_dir_more() argument
172 r = do_readdir(oi, od, dentry, op); in orangefs_dir_more()
241 static int orangefs_dir_fill(struct orangefs_inode_s *oi, in orangefs_dir_fill() argument
307 struct orangefs_inode_s *oi; in orangefs_dir_iterate() local
313 oi = ORANGEFS_I(dentry->d_inode); in orangefs_dir_iterate()
345 r = orangefs_dir_more(oi, od, dentry); in orangefs_dir_iterate()
354 r = orangefs_dir_fill(oi, od, dentry, ctx); in orangefs_dir_iterate()
361 r = orangefs_dir_more(oi, od, dentry); in orangefs_dir_iterate()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c37 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_opti_poll() local
71 oi = 0; in sun4i_ss_opti_poll()
86 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_opti_poll()
89 writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); in sun4i_ss_opti_poll()
90 oi += todo * 4; in sun4i_ss_opti_poll()
92 if (oi == mi.length) { in sun4i_ss_opti_poll()
94 oi = 0; in sun4i_ss_opti_poll()
192 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_cipher_poll() local
254 oi = 0; in sun4i_ss_cipher_poll()
274 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_cipher_poll()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager.c237 struct omap_overlay_info *oi; in dss_mgr_check() local
240 oi = overlay_infos[ovl->id]; in dss_mgr_check()
242 if (oi == NULL) in dss_mgr_check()
245 r = dss_ovl_check(ovl, oi, mgr_timings); in dss_mgr_check()
Ddispc.c2514 const struct omap_overlay_info *oi, in dispc_ovl_check() argument
2521 u16 in_height = oi->height; in dispc_ovl_check()
2522 u16 in_width = oi->width; in dispc_ovl_check()
2525 int pos_x = oi->pos_x; in dispc_ovl_check()
2529 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2530 out_height = oi->out_height == 0 ? oi->height : oi->out_height; in dispc_ovl_check()
2532 if (ilace && oi->height == out_height) in dispc_ovl_check()
2544 if (!dss_feat_color_mode_supported(plane, oi->color_mode)) in dispc_ovl_check()
2548 in_height, out_width, out_height, oi->color_mode, in dispc_ovl_check()
2550 oi->rotation_type, false); in dispc_ovl_check()
[all …]
Dapply.c200 struct omap_overlay_info *oi; in dss_check_settings_low() local
222 oi = NULL; in dss_check_settings_low()
224 oi = &op->user_info; in dss_check_settings_low()
226 oi = &op->info; in dss_check_settings_low()
228 ois[ovl->id] = oi; in dss_check_settings_low()
619 struct omap_overlay_info *oi; in dss_ovl_write_regs() local
629 oi = &op->info; in dss_ovl_write_regs()
633 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); in dss_ovl_write_regs()
635 r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings, false); in dss_ovl_write_regs()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap_hwmod.c2632 static int _add_link(struct omap_hwmod_ocp_if *oi) in _add_link() argument
2634 pr_debug("omap_hwmod: %s -> %s: adding link\n", oi->master->name, in _add_link()
2635 oi->slave->name); in _add_link()
2637 list_add(&oi->node, &oi->slave->slave_ports); in _add_link()
2638 oi->slave->slaves_cnt++; in _add_link()
2656 static int __init _register_link(struct omap_hwmod_ocp_if *oi) in _register_link() argument
2658 if (!oi || !oi->master || !oi->slave || !oi->user) in _register_link()
2661 if (oi->_int_flags & _OCPIF_INT_FLAGS_REGISTERED) in _register_link()
2665 oi->master->name, oi->slave->name); in _register_link()
2671 if (oi->master->_state != _HWMOD_STATE_REGISTERED) in _register_link()
[all …]
/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c182 struct ovl_inode *oi = kmem_cache_alloc(ovl_inode_cachep, GFP_KERNEL); in ovl_alloc_inode() local
184 if (!oi) in ovl_alloc_inode()
187 oi->cache = NULL; in ovl_alloc_inode()
188 oi->redirect = NULL; in ovl_alloc_inode()
189 oi->version = 0; in ovl_alloc_inode()
190 oi->flags = 0; in ovl_alloc_inode()
191 oi->__upperdentry = NULL; in ovl_alloc_inode()
192 oi->lower = NULL; in ovl_alloc_inode()
193 oi->lowerdata = NULL; in ovl_alloc_inode()
194 mutex_init(&oi->lock); in ovl_alloc_inode()
[all …]
Dovl_entry.h141 static inline struct dentry *ovl_upperdentry_dereference(struct ovl_inode *oi) in ovl_upperdentry_dereference() argument
143 return READ_ONCE(oi->__upperdentry); in ovl_upperdentry_dereference()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dinterrupt.c531 int oi = 0; in tulip_interrupt() local
727 oi++; in tulip_interrupt()
737 oi++; in tulip_interrupt()
739 if (tx > maxtx || rx > maxrx || oi > maxoi) { in tulip_interrupt()
742 csr5, tp->nir, tx, rx, oi); in tulip_interrupt()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c2766 const struct omap_overlay_info *oi, in dispc_ovl_setup() argument
2776 plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x, in dispc_ovl_setup()
2777 oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, in dispc_ovl_setup()
2778 oi->fourcc, oi->rotation, channel, replication); in dispc_ovl_setup()
2782 r = dispc_ovl_setup_common(dispc, plane, caps, oi->paddr, oi->p_uv_addr, in dispc_ovl_setup()
2783 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, in dispc_ovl_setup()
2784 oi->out_width, oi->out_height, oi->fourcc, oi->rotation, in dispc_ovl_setup()
2785 oi->zorder, oi->pre_mult_alpha, oi->global_alpha, in dispc_ovl_setup()
2786 oi->rotation_type, replication, vm, mem_to_mem); in dispc_ovl_setup()

12