Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/pci/ivtv/
Divtvfb.c219 struct osd_info *oi = itv->osd_info; in ivtvfb_get_osd_coords() local
224 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
225 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
235 struct osd_info *oi = itv->osd_info; in ivtvfb_set_osd_coords() local
237 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
238 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
239 oi->set_osd_coords_x += osd->x; in ivtvfb_set_osd_coords()
240 oi->set_osd_coords_y = osd->y; in ivtvfb_set_osd_coords()
243 osd->offset + oi->video_rbase, in ivtvfb_set_osd_coords()
337 struct osd_info *oi = itv->osd_info; in ivtvfb_prep_frame() local
[all …]
/linux-4.1.27/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.c100 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_open() local
110 spin_lock(&oi->ip_lock); in ocfs2_file_open()
116 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
123 oi->ip_flags |= OCFS2_INODE_OPEN_DIRECT; in ocfs2_file_open()
125 oi->ip_open_count++; in ocfs2_file_open()
126 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
134 spin_lock(&oi->ip_lock); in ocfs2_file_open()
135 oi->ip_open_count--; in ocfs2_file_open()
136 spin_unlock(&oi->ip_lock); in ocfs2_file_open()
145 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_file_release() local
[all …]
Dsuper.c566 struct ocfs2_inode_info *oi; in ocfs2_alloc_inode() local
568 oi = kmem_cache_alloc(ocfs2_inode_cachep, GFP_NOFS); in ocfs2_alloc_inode()
569 if (!oi) in ocfs2_alloc_inode()
572 oi->i_sync_tid = 0; in ocfs2_alloc_inode()
573 oi->i_datasync_tid = 0; in ocfs2_alloc_inode()
574 memset(&oi->i_dquot, 0, sizeof(oi->i_dquot)); in ocfs2_alloc_inode()
576 jbd2_journal_init_jbd_inode(&oi->ip_jinode, &oi->vfs_inode); in ocfs2_alloc_inode()
577 return &oi->vfs_inode; in ocfs2_alloc_inode()
1727 struct ocfs2_inode_info *oi = data; in ocfs2_inode_init_once() local
1729 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.c566 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_create_refcount_tree() local
575 BUG_ON(oi->ip_dyn_features & OCFS2_HAS_REFCOUNT_FL); in ocfs2_create_refcount_tree()
648 spin_lock(&oi->ip_lock); in ocfs2_create_refcount_tree()
649 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL; in ocfs2_create_refcount_tree()
650 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_create_refcount_tree()
652 spin_unlock(&oi->ip_lock); in ocfs2_create_refcount_tree()
707 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_set_refcount_tree() local
713 BUG_ON(oi->ip_dyn_features & OCFS2_HAS_REFCOUNT_FL); in ocfs2_set_refcount_tree()
748 spin_lock(&oi->ip_lock); in ocfs2_set_refcount_tree()
749 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.c968 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_list() local
971 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_list()
1023 struct ocfs2_inode_info *oi = OCFS2_I(d_inode(dentry)); in ocfs2_listxattr() local
1028 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_listxattr()
1039 down_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1053 up_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1150 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_get() local
1156 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_get()
1279 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_get_nolock() local
1290 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_xattr_get_nolock()
[all …]
Djournal.c2139 struct ocfs2_inode_info *oi; in ocfs2_recover_orphans() local
2153 oi = OCFS2_I(inode); in ocfs2_recover_orphans()
2155 (unsigned long long)oi->ip_blkno); in ocfs2_recover_orphans()
2157 iter = oi->ip_next_orphan; in ocfs2_recover_orphans()
2158 oi->ip_next_orphan = NULL; in ocfs2_recover_orphans()
2172 spin_lock(&oi->ip_lock); in ocfs2_recover_orphans()
2175 oi->ip_flags |= OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_recover_orphans()
2176 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.c119 struct ocfs2_inode_info *oi; in ocfs2_lookup() local
149 oi = OCFS2_I(inode); in ocfs2_lookup()
155 spin_lock(&oi->ip_lock); in ocfs2_lookup()
156 oi->ip_flags &= ~OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_lookup()
157 spin_unlock(&oi->ip_lock); in ocfs2_lookup()
511 struct ocfs2_inode_info *oi = OCFS2_I(inode); in __ocfs2_mknod_locked() local
593 oi->i_sync_tid = handle->h_transaction->t_tid; in __ocfs2_mknod_locked()
594 oi->i_datasync_tid = handle->h_transaction->t_tid; in __ocfs2_mknod_locked()
Ddir.c2814 struct ocfs2_inode_info *oi = OCFS2_I(dir); in ocfs2_expand_inline_dir() local
2831 down_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
2915 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_expand_inline_dir()
2995 spin_lock(&oi->ip_lock); in ocfs2_expand_inline_dir()
2996 oi->ip_dyn_features &= ~OCFS2_INLINE_DATA_FL; in ocfs2_expand_inline_dir()
2997 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_expand_inline_dir()
2998 spin_unlock(&oi->ip_lock); in ocfs2_expand_inline_dir()
3100 up_write(&oi->ip_alloc_sem); in ocfs2_expand_inline_dir()
/linux-4.1.27/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()
629 struct exofs_i_info *oi = exofs_i(pcol->inode); in write_exec() local
638 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false, in write_exec()
700 struct exofs_i_info *oi = exofs_i(inode); in writepage_strip() local
708 ret = wait_obj_created(oi); in writepage_strip()
1003 struct exofs_i_info *oi = exofs_i(inode); in exofs_inode_is_fast_symlink() local
1005 return S_ISLNK(inode->i_mode) && (oi->i_data[0] != 0); in exofs_inode_is_fast_symlink()
[all …]
Dnamei.c103 struct exofs_i_info *oi; in exofs_symlink() local
113 oi = exofs_i(inode); in exofs_symlink()
114 if (l > sizeof(oi->i_data)) { in exofs_symlink()
118 memset(oi->i_data, 0, sizeof(oi->i_data)); in exofs_symlink()
126 memcpy(oi->i_data, symname, l); in exofs_symlink()
Dsymlink.c40 struct exofs_i_info *oi = exofs_i(d_inode(dentry)); in exofs_follow_link() local
42 nd_set_link(nd, (char *)oi->i_data); in exofs_follow_link()
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.c318 struct exofs_i_info *oi = exofs_i(dir); in exofs_find_entry() local
326 start = oi->i_dir_start_lookup; in exofs_find_entry()
359 oi->i_dir_start_lookup = n; in exofs_find_entry()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/include/
Dlustre_fid.h584 static inline void ostid_build_res_name(struct ost_id *oi, in ostid_build_res_name() argument
588 if (fid_seq_is_mdt0(ostid_seq(oi))) { in ostid_build_res_name()
589 name->name[LUSTRE_RES_ID_SEQ_OFF] = ostid_id(oi); in ostid_build_res_name()
590 name->name[LUSTRE_RES_ID_VER_OID_OFF] = ostid_seq(oi); in ostid_build_res_name()
592 fid_build_reg_res_name(&oi->oi_fid, name); in ostid_build_res_name()
596 static inline void ostid_res_name_to_id(struct ost_id *oi, in ostid_res_name_to_id() argument
601 ostid_set_seq(oi, name->name[LUSTRE_RES_ID_VER_OID_OFF]); in ostid_res_name_to_id()
602 ostid_set_id(oi, name->name[LUSTRE_RES_ID_SEQ_OFF]); in ostid_res_name_to_id()
605 fid_extract_from_res_name(&oi->oi_fid, name); in ostid_res_name_to_id()
612 static inline int ostid_res_name_eq(struct ost_id *oi, in ostid_res_name_eq() argument
[all …]
Dlustre_log.h90 fid->f_seq = id->lgl_oi.oi.oi_seq; in logid_to_fid()
91 fid->f_oid = id->lgl_oi.oi.oi_id; in logid_to_fid()
94 lu_igif_build(fid, id->lgl_oi.oi.oi_id, id->lgl_ogen); in logid_to_fid()
100 id->lgl_oi.oi.oi_seq = fid->f_seq; in fid_to_logid()
101 id->lgl_oi.oi.oi_id = fid->f_oid; in fid_to_logid()
107 log_id->lgl_oi.oi.oi_id = id; in logid_set_id()
112 return log_id->lgl_oi.oi.oi_id; in logid_id()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h566 if (fid_seq_is_mdt0(ostid->oi.oi_seq)) in ostid_seq()
569 if (fid_seq_is_default(ostid->oi.oi_seq)) in ostid_seq()
582 return ostid->oi.oi_id & IDIF_OID_MASK; in ostid_id()
591 static inline void ostid_set_seq(struct ost_id *oi, __u64 seq) in ostid_set_seq() argument
594 oi->oi.oi_seq = seq; in ostid_set_seq()
596 oi->oi_fid.f_seq = seq; in ostid_set_seq()
600 if (oi->oi_fid.f_oid == 0 && oi->oi_fid.f_ver == 0) in ostid_set_seq()
601 oi->oi_fid.f_oid = LUSTRE_FID_INIT_OID; in ostid_set_seq()
605 static inline void ostid_set_seq_mdt0(struct ost_id *oi) in ostid_set_seq_mdt0() argument
607 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.1.27/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.c2469 const struct omap_overlay_info *oi, in dispc_ovl_check() argument
2476 u16 in_height = oi->height; in dispc_ovl_check()
2477 u16 in_width = oi->width; in dispc_ovl_check()
2480 int pos_x = oi->pos_x; in dispc_ovl_check()
2484 out_width = oi->out_width == 0 ? oi->width : oi->out_width; in dispc_ovl_check()
2485 out_height = oi->out_height == 0 ? oi->height : oi->out_height; in dispc_ovl_check()
2487 if (ilace && oi->height == out_height) in dispc_ovl_check()
2499 if (!dss_feat_color_mode_supported(plane, oi->color_mode)) in dispc_ovl_check()
2503 in_height, out_width, out_height, oi->color_mode, in dispc_ovl_check()
2505 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.1.27/arch/arm/mach-omap2/
Domap_hwmod.c248 struct omap_hwmod_ocp_if *oi; in _fetch_next_ocp_if() local
250 oi = list_entry(*p, struct omap_hwmod_link, node)->ocp_if; in _fetch_next_ocp_if()
255 return oi; in _fetch_next_ocp_if()
2790 static int __init _add_link(struct omap_hwmod_ocp_if *oi) in _add_link() argument
2794 pr_debug("omap_hwmod: %s -> %s: adding link\n", oi->master->name, in _add_link()
2795 oi->slave->name); in _add_link()
2799 ml->ocp_if = oi; in _add_link()
2800 list_add(&ml->node, &oi->master->master_ports); in _add_link()
2801 oi->master->masters_cnt++; in _add_link()
2803 sl->ocp_if = oi; in _add_link()
[all …]
/linux-4.1.27/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.h309 if (unlikely(loi->loi_oi.oi.oi_id == 0 && in lov_oinfo_is_dummy()
310 loi->loi_oi.oi.oi_seq == 0 && in lov_oinfo_is_dummy()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog_swab.c72 if (fid_seq_is_mdt0(oid->oi.oi_seq)) { in lustre_swab_ost_id()
73 __swab64s(&oid->oi.oi_id); in lustre_swab_ost_id()
74 __swab64s(&oid->oi.oi_seq); in lustre_swab_ost_id()
83 __swab64s(&log_id->lgl_oi.oi.oi_id); in lustre_swab_llog_id()
84 __swab64s(&log_id->lgl_oi.oi.oi_seq); in lustre_swab_llog_id()
/linux-4.1.27/drivers/mtd/
Dmtdchar.c820 struct nand_oobinfo oi; in mtdchar_ioctl() local
824 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl()
827 oi.useecc = MTD_NANDECC_AUTOPLACE; in mtdchar_ioctl()
828 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); in mtdchar_ioctl()
829 memcpy(&oi.oobfree, mtd->ecclayout->oobfree, in mtdchar_ioctl()
830 sizeof(oi.oobfree)); in mtdchar_ioctl()
831 oi.eccbytes = mtd->ecclayout->eccbytes; in mtdchar_ioctl()
833 if (copy_to_user(argp, &oi, sizeof(struct nand_oobinfo))) in mtdchar_ioctl()
/linux-4.1.27/arch/s390/kernel/
Dhead64.S91 oi 6(%r15),0x60 # enable sigp emergency & external call
92 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.S436 oi __PT_FLAGS+7(%r11),_PIF_PER_TRAP
1007 oi __SIE_PROG0C+3(%r14),1 # we are going into SIE now
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c976 struct ost_id *oi = lsm ? &lsm->lsm_oi : &obdo->o_oi; in ll_inode_getattr() local
980 POSTID(oi), i_size_read(inode), in ll_inode_getattr()
1263 static int ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) in ll_lov_recreate() argument
1291 oa->o_oi = *oi; in ll_lov_recreate()
1314 struct ost_id oi; in ll_lov_recreate_obj() local
1323 ostid_set_seq_mdt0(&oi); in ll_lov_recreate_obj()
1324 ostid_set_id(&oi, ucreat.lrc_id); in ll_lov_recreate_obj()
1325 return ll_lov_recreate(inode, &oi, ucreat.lrc_ost_idx); in ll_lov_recreate_obj()
1331 struct ost_id oi; in ll_lov_recreate_fid() local
1340 fid_to_ostid(&fid, &oi); in ll_lov_recreate_fid()
[all …]
/linux-4.1.27/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.1.27/fs/ext4/
Dinode.c4385 struct other_inode *oi = (struct other_inode *) data; in other_inode_match() local
4402 EXT4_INODE_SET_XTIME(i_ctime, inode, oi->raw_inode); in other_inode_match()
4403 EXT4_INODE_SET_XTIME(i_mtime, inode, oi->raw_inode); in other_inode_match()
4404 EXT4_INODE_SET_XTIME(i_atime, inode, oi->raw_inode); in other_inode_match()
4405 ext4_inode_csum_set(inode, oi->raw_inode, ei); in other_inode_match()
4407 trace_ext4_other_inode_update_time(inode, oi->orig_ino); in other_inode_match()
4421 struct other_inode oi; in ext4_update_other_inodes_time() local
4426 oi.orig_ino = orig_ino; in ext4_update_other_inodes_time()
4436 oi.raw_inode = (struct ext4_inode *) buf; in ext4_update_other_inodes_time()
4437 (void) find_inode_nowait(sb, ino, other_inode_match, &oi); in ext4_update_other_inodes_time()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c2123 static void lustre_swab_lmm_oi(struct ost_id *oi) in lustre_swab_lmm_oi() argument
2125 __swab64s(&oi->oi.oi_id); in lustre_swab_lmm_oi()
2126 __swab64s(&oi->oi.oi_seq); in lustre_swab_lmm_oi()
Dwiretest.c466 LASSERTF((int)offsetof(struct ost_id, oi) == 0, "found %lld\n", in lustre_assert_wire_constants()
467 (long long)(int)offsetof(struct ost_id, oi)); in lustre_assert_wire_constants()
468 LASSERTF((int)sizeof(((struct ost_id *)0)->oi) == 16, "found %lld\n", in lustre_assert_wire_constants()
469 (long long)(int)sizeof(((struct ost_id *)0)->oi)); in lustre_assert_wire_constants()