Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c220 struct osd_info *oi = itv->osd_info; in ivtvfb_get_osd_coords() local
225 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
226 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
236 struct osd_info *oi = itv->osd_info; in ivtvfb_set_osd_coords() local
238 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
239 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
240 oi->set_osd_coords_x += osd->x; in ivtvfb_set_osd_coords()
241 oi->set_osd_coords_y = osd->y; in ivtvfb_set_osd_coords()
244 osd->offset + oi->video_rbase, in ivtvfb_set_osd_coords()
338 struct osd_info *oi = itv->osd_info; in ivtvfb_prep_frame() local
[all …]
/linux-4.4.14/fs/ocfs2/
Dinode.c98 void ocfs2_get_inode_flags(struct ocfs2_inode_info *oi) in ocfs2_get_inode_flags() argument
100 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
102 oi->ip_attr &= ~(OCFS2_SYNC_FL|OCFS2_APPEND_FL| in ocfs2_get_inode_flags()
105 oi->ip_attr |= OCFS2_SYNC_FL; in ocfs2_get_inode_flags()
107 oi->ip_attr |= OCFS2_APPEND_FL; in ocfs2_get_inode_flags()
109 oi->ip_attr |= OCFS2_IMMUTABLE_FL; in ocfs2_get_inode_flags()
111 oi->ip_attr |= OCFS2_NOATIME_FL; in ocfs2_get_inode_flags()
113 oi->ip_attr |= OCFS2_DIRSYNC_FL; in ocfs2_get_inode_flags()
183 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_iget() local
195 oi->i_sync_tid = tid; in ocfs2_iget()
[all …]
Dextent_map.c56 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_init() local
58 oi->ip_extent_map.em_num_items = 0; in ocfs2_extent_map_init()
59 INIT_LIST_HEAD(&oi->ip_extent_map.em_list); in ocfs2_extent_map_init()
88 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_lookup() local
91 spin_lock(&oi->ip_lock); in ocfs2_extent_map_lookup()
93 __ocfs2_extent_map_lookup(&oi->ip_extent_map, cpos, &emi); in ocfs2_extent_map_lookup()
103 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_lookup()
117 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_trunc() local
118 struct ocfs2_extent_map *em = &oi->ip_extent_map; in ocfs2_extent_map_trunc()
122 spin_lock(&oi->ip_lock); in ocfs2_extent_map_trunc()
[all …]
Dfile.c101 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_open() local
114 spin_lock(&oi->ip_lock); in ocfs2_file_open()
120 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
127 oi->ip_flags |= OCFS2_INODE_OPEN_DIRECT; in ocfs2_file_open()
129 oi->ip_open_count++; in ocfs2_file_open()
130 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
138 spin_lock(&oi->ip_lock); in ocfs2_file_open()
139 oi->ip_open_count--; in ocfs2_file_open()
140 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
149 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_release() local
[all …]
Dsuper.c568 struct ocfs2_inode_info *oi; in ocfs2_alloc_inode() local
570 oi = kmem_cache_alloc(ocfs2_inode_cachep, GFP_NOFS); in ocfs2_alloc_inode()
571 if (!oi) in ocfs2_alloc_inode()
574 oi->i_sync_tid = 0; in ocfs2_alloc_inode()
575 oi->i_datasync_tid = 0; in ocfs2_alloc_inode()
576 memset(&oi->i_dquot, 0, sizeof(oi->i_dquot)); in ocfs2_alloc_inode()
578 jbd2_journal_init_jbd_inode(&oi->ip_jinode, &oi->vfs_inode); in ocfs2_alloc_inode()
579 return &oi->vfs_inode; in ocfs2_alloc_inode()
1740 struct ocfs2_inode_info *oi = data; in ocfs2_inode_init_once() local
1742 oi->ip_flags = 0; in ocfs2_inode_init_once()
[all …]
Ddlmglue.c689 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_lock_res_init() local
692 ocfs2_build_lock_name(OCFS2_LOCK_TYPE_FLOCK, oi->ip_blkno, in ocfs2_file_lock_res_init()
2065 struct ocfs2_inode_info *oi = OCFS2_I(inode); in __ocfs2_stuff_meta_lvb() local
2066 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in __ocfs2_stuff_meta_lvb()
2076 if (oi->ip_flags & OCFS2_INODE_DELETED) { in __ocfs2_stuff_meta_lvb()
2083 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb()
2094 lvb->lvb_iattr = cpu_to_be32(oi->ip_attr); in __ocfs2_stuff_meta_lvb()
2095 lvb->lvb_idynfeatures = cpu_to_be16(oi->ip_dyn_features); in __ocfs2_stuff_meta_lvb()
2111 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_refresh_inode_from_lvb() local
2112 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_refresh_inode_from_lvb()
[all …]
Drefcounttree.c564 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_create_refcount_tree() local
573 BUG_ON(oi->ip_dyn_features & OCFS2_HAS_REFCOUNT_FL); in ocfs2_create_refcount_tree()
646 spin_lock(&oi->ip_lock); in ocfs2_create_refcount_tree()
647 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL; in ocfs2_create_refcount_tree()
648 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_create_refcount_tree()
650 spin_unlock(&oi->ip_lock); in ocfs2_create_refcount_tree()
705 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_set_refcount_tree() local
711 BUG_ON(oi->ip_dyn_features & OCFS2_HAS_REFCOUNT_FL); in ocfs2_set_refcount_tree()
746 spin_lock(&oi->ip_lock); in ocfs2_set_refcount_tree()
747 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL; in ocfs2_set_refcount_tree()
[all …]
Daops.c284 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_readpage() local
288 trace_ocfs2_readpage((unsigned long long)oi->ip_blkno, in ocfs2_readpage()
299 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpage()
307 down_read(&oi->ip_alloc_sem); in ocfs2_readpage()
308 up_read(&oi->ip_alloc_sem); in ocfs2_readpage()
329 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_readpage()
359 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_readpages() local
371 if (down_read_trylock(&oi->ip_alloc_sem) == 0) { in ocfs2_readpages()
380 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_readpages()
395 up_read(&oi->ip_alloc_sem); in ocfs2_readpages()
[all …]
Djournal.h638 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_update_inode_fsync_trans() local
640 oi->i_sync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans()
642 oi->i_datasync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans()
Dxattr.c962 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_list() local
965 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_list()
1017 struct ocfs2_inode_info *oi = OCFS2_I(d_inode(dentry)); in ocfs2_listxattr() local
1022 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_listxattr()
1033 down_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1047 up_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1144 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_get() local
1150 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_get()
1273 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_get_nolock() local
1284 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_xattr_get_nolock()
[all …]
Djournal.c2179 struct ocfs2_inode_info *oi; in ocfs2_recover_orphans() local
2195 oi = OCFS2_I(inode); in ocfs2_recover_orphans()
2197 (unsigned long long)oi->ip_blkno); in ocfs2_recover_orphans()
2199 iter = oi->ip_next_orphan; in ocfs2_recover_orphans()
2200 oi->ip_next_orphan = NULL; in ocfs2_recover_orphans()
2202 if (oi->ip_flags & OCFS2_INODE_DIO_ORPHAN_ENTRY) { in ocfs2_recover_orphans()
2245 oi->ip_flags &= ~OCFS2_INODE_DIO_ORPHAN_ENTRY; in ocfs2_recover_orphans()
2247 spin_lock(&oi->ip_lock); in ocfs2_recover_orphans()
2250 oi->ip_flags |= OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_recover_orphans()
2251 spin_unlock(&oi->ip_lock); in ocfs2_recover_orphans()
Dinode.h163 void ocfs2_get_inode_flags(struct ocfs2_inode_info *oi);
Dalloc.c198 struct ocfs2_inode_info *oi = cache_info_to_inode(et->et_ci); in ocfs2_dinode_update_clusters() local
202 spin_lock(&oi->ip_lock); in ocfs2_dinode_update_clusters()
203 oi->ip_clusters = le32_to_cpu(di->i_clusters); in ocfs2_dinode_update_clusters()
204 spin_unlock(&oi->ip_lock); in ocfs2_dinode_update_clusters()
226 struct ocfs2_inode_info *oi = cache_info_to_inode(et->et_ci); in ocfs2_dinode_insert_check() local
227 struct ocfs2_super *osb = OCFS2_SB(oi->vfs_inode.i_sb); in ocfs2_dinode_insert_check()
229 BUG_ON(oi->ip_dyn_features & OCFS2_INLINE_DATA_FL); in ocfs2_dinode_insert_check()
231 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check()
235 (unsigned long long)oi->ip_blkno, in ocfs2_dinode_insert_check()
236 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
[all …]
Dnamei.c117 struct ocfs2_inode_info *oi; in ocfs2_lookup() local
147 oi = OCFS2_I(inode); in ocfs2_lookup()
153 spin_lock(&oi->ip_lock); in ocfs2_lookup()
154 oi->ip_flags &= ~OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_lookup()
155 spin_unlock(&oi->ip_lock); in ocfs2_lookup()
518 struct ocfs2_inode_info *oi = OCFS2_I(inode); in __ocfs2_mknod_locked() local
600 oi->i_sync_tid = handle->h_transaction->t_tid; in __ocfs2_mknod_locked()
601 oi->i_datasync_tid = handle->h_transaction->t_tid; in __ocfs2_mknod_locked()
Ddir.c2804 struct ocfs2_inode_info *oi = OCFS2_I(dir); in ocfs2_expand_inline_dir() local
2821 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
2905 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_expand_inline_dir()
2985 spin_lock(&oi->ip_lock); in ocfs2_expand_inline_dir()
2986 oi->ip_dyn_features &= ~OCFS2_INLINE_DATA_FL; in ocfs2_expand_inline_dir()
2987 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_expand_inline_dir()
2988 spin_unlock(&oi->ip_lock); in ocfs2_expand_inline_dir()
3090 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
/linux-4.4.14/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.c81 static void omfs_update_checksums(struct omfs_inode *oi) in omfs_update_checksums() argument
85 unsigned char *ptr = (unsigned char *) oi; in omfs_update_checksums()
87 count = be32_to_cpu(oi->i_head.h_body_size); in omfs_update_checksums()
91 oi->i_head.h_crc = cpu_to_be16(crc); in omfs_update_checksums()
97 oi->i_head.h_check_xor = xor; in omfs_update_checksums()
102 struct omfs_inode *oi; in __omfs_write_inode() local
115 oi = (struct omfs_inode *) bh->b_data; in __omfs_write_inode()
117 oi->i_head.h_self = cpu_to_be64(inode->i_ino); in __omfs_write_inode()
119 oi->i_type = OMFS_DIR; in __omfs_write_inode()
121 oi->i_type = OMFS_FILE; in __omfs_write_inode()
[all …]
/linux-4.4.14/fs/exofs/
Dexofs.h96 static inline osd_id exofs_oi_objno(struct exofs_i_info *oi) in exofs_oi_objno() argument
98 return oi->vfs_inode.i_ino + EXOFS_OBJ_OFF; in exofs_oi_objno()
107 static inline int obj_2bcreated(struct exofs_i_info *oi) in obj_2bcreated() argument
109 return test_bit(OBJ_2BCREATED, &oi->i_flags); in obj_2bcreated()
112 static inline void set_obj_2bcreated(struct exofs_i_info *oi) in set_obj_2bcreated() argument
114 set_bit(OBJ_2BCREATED, &oi->i_flags); in set_obj_2bcreated()
117 static inline int obj_created(struct exofs_i_info *oi) in obj_created() argument
119 return test_bit(OBJ_CREATED, &oi->i_flags); in obj_created()
122 static inline void set_obj_created(struct exofs_i_info *oi) in set_obj_created() argument
124 set_bit(OBJ_CREATED, &oi->i_flags); in set_obj_created()
[all …]
Dinode.c310 struct exofs_i_info *oi = exofs_i(pcol->inode); in read_exec() local
319 int ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, true, in read_exec()
384 struct exofs_i_info *oi = exofs_i(inode); in readpage_strip() local
406 if (!len || !obj_created(oi)) { in readpage_strip()
626 struct exofs_i_info *oi = exofs_i(pcol->inode); in write_exec() local
635 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false, in write_exec()
697 struct exofs_i_info *oi = exofs_i(inode); in writepage_strip() local
705 ret = wait_obj_created(oi); in writepage_strip()
1000 struct exofs_i_info *oi = exofs_i(inode); in exofs_inode_is_fast_symlink() local
1002 return S_ISLNK(inode->i_mode) && (oi->i_data[0] != 0); in exofs_inode_is_fast_symlink()
[all …]
Dnamei.c100 struct exofs_i_info *oi; in exofs_symlink() local
110 oi = exofs_i(inode); in exofs_symlink()
111 if (l > sizeof(oi->i_data)) { in exofs_symlink()
115 memset(oi->i_data, 0, sizeof(oi->i_data)); in exofs_symlink()
123 inode->i_link = (char *)oi->i_data; in exofs_symlink()
124 memcpy(oi->i_data, symname, l); in exofs_symlink()
Dsuper.c156 struct exofs_i_info *oi; in exofs_alloc_inode() local
158 oi = kmem_cache_alloc(exofs_inode_cachep, GFP_KERNEL); in exofs_alloc_inode()
159 if (!oi) in exofs_alloc_inode()
162 oi->vfs_inode.i_version = 1; in exofs_alloc_inode()
163 return &oi->vfs_inode; in exofs_alloc_inode()
185 struct exofs_i_info *oi = foo; in exofs_init_once() local
187 inode_init_once(&oi->vfs_inode); in exofs_init_once()
Ddir.c312 struct exofs_i_info *oi = exofs_i(dir); in exofs_find_entry() local
320 start = oi->i_dir_start_lookup; in exofs_find_entry()
353 oi->i_dir_start_lookup = n; in exofs_find_entry()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_fid.h487 static inline void ostid_build_res_name(struct ost_id *oi, in ostid_build_res_name() argument
491 if (fid_seq_is_mdt0(ostid_seq(oi))) { in ostid_build_res_name()
492 name->name[LUSTRE_RES_ID_SEQ_OFF] = ostid_id(oi); in ostid_build_res_name()
493 name->name[LUSTRE_RES_ID_VER_OID_OFF] = ostid_seq(oi); in ostid_build_res_name()
495 fid_build_reg_res_name(&oi->oi_fid, name); in ostid_build_res_name()
499 static inline void ostid_res_name_to_id(struct ost_id *oi, in ostid_res_name_to_id() argument
504 ostid_set_seq(oi, name->name[LUSTRE_RES_ID_VER_OID_OFF]); in ostid_res_name_to_id()
505 ostid_set_id(oi, name->name[LUSTRE_RES_ID_SEQ_OFF]); in ostid_res_name_to_id()
508 fid_extract_from_res_name(&oi->oi_fid, name); in ostid_res_name_to_id()
515 static inline int ostid_res_name_eq(struct ost_id *oi, in ostid_res_name_eq() argument
[all …]
/linux-4.4.14/fs/openpromfs/
Dinode.c145 struct op_inode_info *oi = OP_I(inode); in property_open() local
148 BUG_ON(oi->type != op_inode_prop); in property_open()
153 m->private = oi->u.prop; in property_open()
181 struct op_inode_info *ent_oi, *oi = OP_I(dir); in openpromfs_lookup() local
191 BUG_ON(oi->type != op_inode_node); in openpromfs_lookup()
193 dp = oi->u.node; in openpromfs_lookup()
266 struct op_inode_info *oi = OP_I(inode); in openpromfs_readdir() local
267 struct device_node *dp = oi->u.node; in openpromfs_readdir()
330 struct op_inode_info *oi; in openprom_alloc_inode() local
332 oi = kmem_cache_alloc(op_inode_cachep, GFP_KERNEL); in openprom_alloc_inode()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h571 if (fid_seq_is_mdt0(ostid->oi.oi_seq)) in ostid_seq()
574 if (fid_seq_is_default(ostid->oi.oi_seq)) in ostid_seq()
587 return ostid->oi.oi_id & IDIF_OID_MASK; in ostid_id()
596 static inline void ostid_set_seq(struct ost_id *oi, __u64 seq) in ostid_set_seq() argument
599 oi->oi.oi_seq = seq; in ostid_set_seq()
601 oi->oi_fid.f_seq = seq; in ostid_set_seq()
605 if (oi->oi_fid.f_oid == 0 && oi->oi_fid.f_ver == 0) in ostid_set_seq()
606 oi->oi_fid.f_oid = LUSTRE_FID_INIT_OID; in ostid_set_seq()
610 static inline void ostid_set_seq_mdt0(struct ost_id *oi) in ostid_set_seq_mdt0() argument
612 ostid_set_seq(oi, FID_SEQ_OST_MDT0); in ostid_set_seq_mdt0()
[all …]
Dlustre_user.h177 } oi; member
183 #define POSTID(oi) ostid_seq(oi), ostid_id(oi) argument
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c37 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_opti_poll() local
80 oi = 0; in sun4i_ss_opti_poll()
83 todo = min3(rx_cnt, ileft, (mi.length - oi) / 4); in sun4i_ss_opti_poll()
86 writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); in sun4i_ss_opti_poll()
87 oi += todo * 4; in sun4i_ss_opti_poll()
89 if (oi == mi.length) { in sun4i_ss_opti_poll()
91 oi = 0; in sun4i_ss_opti_poll()
147 unsigned int oi, oo; /* offset for in and out */ in sun4i_ss_cipher_poll() local
212 oi = 0; in sun4i_ss_cipher_poll()
221 todo = min3(rx_cnt, ileft / 4, (mi.length - oi) / 4); in sun4i_ss_cipher_poll()
[all …]
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dmanager.c249 struct omap_overlay_info *oi; in dss_mgr_check() local
252 oi = overlay_infos[ovl->id]; in dss_mgr_check()
254 if (oi == NULL) in dss_mgr_check()
257 r = dss_ovl_check(ovl, oi, mgr_timings); in dss_mgr_check()
Ddispc.c2512 const struct omap_overlay_info *oi, in dispc_ovl_check() argument
2519 u16 in_height = oi->height; in dispc_ovl_check()
2520 u16 in_width = oi->width; in dispc_ovl_check()
2523 int pos_x = oi->pos_x; in dispc_ovl_check()
2527 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2528 out_height = oi->out_height == 0 ? oi->height : oi->out_height; in dispc_ovl_check()
2530 if (ilace && oi->height == out_height) in dispc_ovl_check()
2542 if (!dss_feat_color_mode_supported(plane, oi->color_mode)) in dispc_ovl_check()
2546 in_height, out_width, out_height, oi->color_mode, in dispc_ovl_check()
2548 oi->rotation_type, false); in dispc_ovl_check()
[all …]
Dapply.c211 struct omap_overlay_info *oi; in dss_check_settings_low() local
233 oi = NULL; in dss_check_settings_low()
235 oi = &op->user_info; in dss_check_settings_low()
237 oi = &op->info; in dss_check_settings_low()
239 ois[ovl->id] = oi; in dss_check_settings_low()
630 struct omap_overlay_info *oi; in dss_ovl_write_regs() local
640 oi = &op->info; in dss_ovl_write_regs()
644 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); in dss_ovl_write_regs()
646 r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings, false); in dss_ovl_write_regs()
/linux-4.4.14/arch/arm/mach-omap2/
Domap_hwmod.c249 struct omap_hwmod_ocp_if *oi; in _fetch_next_ocp_if() local
251 oi = list_entry(*p, struct omap_hwmod_link, node)->ocp_if; in _fetch_next_ocp_if()
256 return oi; in _fetch_next_ocp_if()
2804 static int __init _add_link(struct omap_hwmod_ocp_if *oi) in _add_link() argument
2808 pr_debug("omap_hwmod: %s -> %s: adding link\n", oi->master->name, in _add_link()
2809 oi->slave->name); in _add_link()
2813 ml->ocp_if = oi; in _add_link()
2814 list_add(&ml->node, &oi->master->master_ports); in _add_link()
2815 oi->master->masters_cnt++; in _add_link()
2817 sl->ocp_if = oi; in _add_link()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_pack.c56 struct ost_id oi; in lov_dump_lmm_common() local
58 lmm_oi_le_to_cpu(&oi, &lmm->lmm_oi); in lov_dump_lmm_common()
60 POSTID(&oi), le32_to_cpu(lmm->lmm_magic), in lov_dump_lmm_common()
80 struct ost_id oi; in lov_dump_lmm_objects() local
82 ostid_le_to_cpu(&lod->l_ost_oi, &oi); in lov_dump_lmm_objects()
84 le32_to_cpu(lod->l_ost_idx), POSTID(&oi)); in lov_dump_lmm_objects()
Dlov_internal.h263 if (unlikely(loi->loi_oi.oi.oi_id == 0 && in lov_oinfo_is_dummy()
264 loi->loi_oi.oi.oi_seq == 0 && in lov_oinfo_is_dummy()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dllog_swab.c71 if (fid_seq_is_mdt0(oid->oi.oi_seq)) { in lustre_swab_ost_id()
72 __swab64s(&oid->oi.oi_id); in lustre_swab_ost_id()
73 __swab64s(&oid->oi.oi_seq); in lustre_swab_ost_id()
82 __swab64s(&log_id->lgl_oi.oi.oi_id); in lustre_swab_llog_id()
83 __swab64s(&log_id->lgl_oi.oi.oi_seq); in lustre_swab_llog_id()
/linux-4.4.14/drivers/mtd/
Dmtdchar.c816 struct nand_oobinfo oi; in mtdchar_ioctl() local
820 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl()
823 oi.useecc = MTD_NANDECC_AUTOPLACE; in mtdchar_ioctl()
824 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); in mtdchar_ioctl()
825 memcpy(&oi.oobfree, mtd->ecclayout->oobfree, in mtdchar_ioctl()
826 sizeof(oi.oobfree)); in mtdchar_ioctl()
827 oi.eccbytes = mtd->ecclayout->eccbytes; in mtdchar_ioctl()
829 if (copy_to_user(argp, &oi, sizeof(struct nand_oobinfo))) in mtdchar_ioctl()
/linux-4.4.14/arch/s390/kernel/
Dhead64.S96 oi 6(%r15),0x60 # enable sigp emergency & external call
97 oi 4(%r15),0x10 # switch on low address proctection
Drelocate_kernel.S42 oi 4(%r0),0x80
51 oi have_diag308-.back_base(%r13),0x01
Dreipl.S86 oi .Lschib+5-.Lpg0(%r13),0x84
Dentry.S221 oi __SIE_PROG0C+3(%r14),1 # we are going into SIE now
509 oi __PT_FLAGS+7(%r11),_PIF_PER_TRAP
814 oi __LC_CPU_FLAGS+7,_CIF_FPU
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dinterrupt.c524 int oi = 0; in tulip_interrupt() local
719 oi++; in tulip_interrupt()
729 oi++; in tulip_interrupt()
731 if (tx > maxtx || rx > maxrx || oi > maxoi) { in tulip_interrupt()
734 csr5, tp->nir, tx, rx, oi); in tulip_interrupt()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h971 MLXSW_ITEM32(cmd_mbox, sw2hw_cq, oi, 0x00, 12, 1);
1058 MLXSW_ITEM32(cmd_mbox, sw2hw_eq, oi, 0x00, 12, 1);
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c967 struct ost_id *oi = lsm ? &lsm->lsm_oi : &obdo->o_oi; in ll_inode_getattr() local
971 POSTID(oi), i_size_read(inode), in ll_inode_getattr()
1254 static int ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) in ll_lov_recreate() argument
1282 oa->o_oi = *oi; in ll_lov_recreate()
1305 struct ost_id oi; in ll_lov_recreate_obj() local
1314 ostid_set_seq_mdt0(&oi); in ll_lov_recreate_obj()
1315 ostid_set_id(&oi, ucreat.lrc_id); in ll_lov_recreate_obj()
1316 return ll_lov_recreate(inode, &oi, ucreat.lrc_ost_idx); in ll_lov_recreate_obj()
1322 struct ost_id oi; in ll_lov_recreate_fid() local
1331 fid_to_ostid(&fid, &oi); in ll_lov_recreate_fid()
[all …]
/linux-4.4.14/include/video/
Domapdss.h929 const struct omap_overlay_info *oi,
937 int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi,
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c1920 static void lustre_swab_lmm_oi(struct ost_id *oi) in lustre_swab_lmm_oi() argument
1922 __swab64s(&oi->oi.oi_id); in lustre_swab_lmm_oi()
1923 __swab64s(&oi->oi.oi_seq); in lustre_swab_lmm_oi()
Dwiretest.c468 LASSERTF((int)offsetof(struct ost_id, oi) == 0, "found %lld\n", in lustre_assert_wire_constants()
469 (long long)(int)offsetof(struct ost_id, oi)); in lustre_assert_wire_constants()
470 LASSERTF((int)sizeof(((struct ost_id *)0)->oi) == 16, "found %lld\n", in lustre_assert_wire_constants()
471 (long long)(int)sizeof(((struct ost_id *)0)->oi)); in lustre_assert_wire_constants()
/linux-4.4.14/fs/ext4/
Dinode.c4429 struct other_inode *oi = (struct other_inode *) data; in other_inode_match() local
4446 EXT4_INODE_SET_XTIME(i_ctime, inode, oi->raw_inode); in other_inode_match()
4447 EXT4_INODE_SET_XTIME(i_mtime, inode, oi->raw_inode); in other_inode_match()
4448 EXT4_INODE_SET_XTIME(i_atime, inode, oi->raw_inode); in other_inode_match()
4449 ext4_inode_csum_set(inode, oi->raw_inode, ei); in other_inode_match()
4451 trace_ext4_other_inode_update_time(inode, oi->orig_ino); in other_inode_match()
4465 struct other_inode oi; in ext4_update_other_inodes_time() local
4470 oi.orig_ino = orig_ino; in ext4_update_other_inodes_time()
4480 oi.raw_inode = (struct ext4_inode *) buf; in ext4_update_other_inodes_time()
4481 (void) find_inode_nowait(sb, ino, other_inode_match, &oi); in ext4_update_other_inodes_time()
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h2280 u8 oi[0x1]; member
2420 u8 oi[0x1]; member