/drivers/staging/dgnc/ |
H A D | dgnc_mgmt.h | 27 int dgnc_mgmt_open(struct inode *inode, struct file *file); 28 int dgnc_mgmt_close(struct inode *inode, struct file *file);
|
/drivers/misc/mic/host/ |
H A D | mic_fops.h | 24 int mic_open(struct inode *inode, struct file *filp); 25 int mic_release(struct inode *inode, struct file *filp);
|
H A D | mic_debugfs.c | 81 static int mic_log_buf_open(struct inode *inode, struct file *file) argument 83 return single_open(file, mic_log_buf_show, inode->i_private); 86 static int mic_log_buf_release(struct inode *inode, struct file *file) argument 88 return single_release(inode, file); 123 static int mic_smpt_debug_open(struct inode *inode, struct file *file) argument 125 return single_open(file, mic_smpt_show, inode->i_private); 128 static int mic_smpt_debug_release(struct inode *inod argument 149 mic_soft_reset_debug_open(struct inode *inode, struct file *file) argument 154 mic_soft_reset_debug_release(struct inode *inode, struct file *file) argument 176 mic_post_code_debug_open(struct inode *inode, struct file *file) argument 181 mic_post_code_debug_release(struct inode *inode, struct file *file) argument 268 mic_dp_debug_open(struct inode *inode, struct file *file) argument 273 mic_dp_debug_release(struct inode *inode, struct file *file) argument 351 mic_vdev_info_debug_open(struct inode *inode, struct file *file) argument 356 mic_vdev_info_debug_release(struct inode *inode, struct file *file) argument 414 mic_msi_irq_info_debug_open(struct inode *inode, struct file *file) argument 420 mic_msi_irq_info_debug_release(struct inode *inode, struct file *file) argument [all...] |
/drivers/staging/lustre/lustre/llite/ |
H A D | vvp_object.c | 61 struct inode *inode = obj->cob_inode; local 64 (*p)(env, cookie, "(%s %d %d) inode: %p ", 67 inode); 68 if (inode) { 69 lli = ll_i2info(inode); 71 inode->i_ino, inode->i_generation, inode->i_mode, 72 inode 81 struct inode *inode = ccc_object_inode(obj); local 103 struct inode *inode = ccc_object_inode(obj); local 184 cl_inode2ccc(struct inode *inode) argument [all...] |
H A D | llite_close.c | 79 * - inode has no no dirty pages; */ 80 void ll_queue_done_writing(struct inode *inode, unsigned long flags) argument 82 struct ll_inode_info *lli = ll_i2info(inode); 83 struct ccc_object *club = cl2ccc(ll_i2info(inode)->lli_clob); 90 struct ll_close_queue *lcq = ll_i2sbi(inode)->ll_lcq; 95 inode->i_ino, inode->i_generation, 97 /* DONE_WRITING is allowed and inode has no dirty page. */ 101 CDEBUG(D_INODE, "adding inode 120 ll_done_writing_attr(struct inode *inode, struct md_op_data *op_data) argument 139 ll_ioepoch_close(struct inode *inode, struct md_op_data *op_data, struct obd_client_handle **och, unsigned long flags) argument 211 ll_som_update(struct inode *inode, struct md_op_data *op_data) argument 265 ll_prepare_done_writing(struct inode *inode, struct md_op_data *op_data, struct obd_client_handle **och) argument 280 ll_done_writing(struct inode *inode) argument 342 struct inode *inode; local [all...] |
H A D | llite_internal.h | 92 int lgd_found; /* inode matched? */ 152 * the inode state on the MDS. XXX: recovery is not ready yet. */ 155 /* We need all three because every inode may be opened in different 166 struct inode lli_vfs_inode; 290 int ll_xattr_cache_destroy(struct inode *inode); 292 int ll_xattr_cache_get(struct inode *inode, 305 void ll_inode_size_lock(struct inode *inode); 310 ll_i2info(struct inode *inode) argument 1040 ll_i2sbi(struct inode *inode) argument 1045 ll_i2dtexp(struct inode *inode) argument 1050 ll_i2mdexp(struct inode *inode) argument 1055 ll_inode2fid(struct inode *inode) argument 1065 ll_file_maxbytes(struct inode *inode) argument 1208 ll_glimpse_size(struct inode *inode) argument 1337 cl_iattr2fd(struct inode *inode, const struct iattr *attr) argument 1344 cl_isize_lock(struct inode *inode) argument 1349 cl_isize_unlock(struct inode *inode) argument 1354 cl_isize_write_nolock(struct inode *inode, loff_t kms) argument 1360 cl_isize_write(struct inode *inode, loff_t kms) argument 1369 cl_merge_lvb(const struct lu_env *env, struct inode *inode) argument 1416 struct inode *inode = file->f_dentry->d_inode; local 1423 ll_set_lock_data(struct obd_export *exp, struct inode *inode, struct lookup_intent *it, __u64 *bits) argument 1460 ll_lock_dcache(struct inode *inode) argument 1465 ll_unlock_dcache(struct inode *inode) argument [all...] |
H A D | symlink.c | 45 static int ll_readlink_internal(struct inode *inode, argument 48 struct ll_inode_info *lli = ll_i2info(inode); 49 struct ll_sb_info *sbi = ll_i2sbi(inode); 50 int rc, symlen = i_size_read(inode) + 1; 69 op_data = ll_prep_md_op_data(NULL, inode, NULL, NULL, 0, symlen, 79 CERROR("inode %lu: rc = %d\n", inode->i_ino, rc); 93 CERROR("inode %lu: symlink length %d not expected %d\n", 94 inode 123 struct inode *inode = dentry->d_inode; local [all...] |
H A D | xattr.c | 107 int ll_setxattr_common(struct inode *inode, const char *name, argument 111 struct ll_sb_info *sbi = ll_i2sbi(inode); 129 !inode_owner_or_capable(inode)) 161 ll_inode2fid(inode), xattr_type); 191 oc = ll_mdscapa_get(inode); 192 rc = md_setxattr(sbi->ll_md_exp, ll_inode2fid(inode), oc, 194 ll_i2suppgid(inode), &req); 218 struct inode *inode local 271 struct inode *inode = dentry->d_inode; local 285 ll_getxattr_common(struct inode *inode, const char *name, void *buffer, size_t size, __u64 valid) argument 461 struct inode *inode = dentry->d_inode; local 549 struct inode *inode = dentry->d_inode; local [all...] |
H A D | file.c | 54 ll_put_grouplock(struct inode *inode, struct file *file, unsigned long arg); 56 static int ll_lease_close(struct obd_client_handle *och, struct inode *inode, 60 ll_iocontrol_call(struct inode *inode, struct file *file, 80 void ll_pack_inode2opdata(struct inode *inode, struct md_op_data *op_data, argument 83 op_data->op_fid1 = ll_i2info(inode)->lli_fid; 84 op_data->op_attr.ia_mode = inode 105 ll_prepare_close(struct inode *inode, struct md_op_data *op_data, struct obd_client_handle *och) argument 126 ll_close_inode_openhandle(struct obd_export *md_exp, struct inode *inode, struct obd_client_handle *och, const __u64 *data_version) argument 222 ll_md_real_close(struct inode *inode, fmode_t fmode) argument 264 ll_md_close(struct obd_export *md_exp, struct inode *inode, struct file *file) argument 299 struct inode *inode = file->f_dentry->d_inode; local 342 ll_file_release(struct inode *inode, struct file *file) argument 504 struct inode *inode = file->f_dentry->d_inode; local 543 ll_file_open(struct inode *inode, struct file *file) argument 757 ll_lease_open(struct inode *inode, struct file *file, fmode_t fmode, __u64 open_flags) argument 898 ll_lease_close(struct obd_client_handle *och, struct inode *inode, bool *lease_broken) argument 976 ll_inode_getattr(struct inode *inode, struct obdo *obdo, __u64 ioepoch, int sync) argument 1000 ll_merge_lvb(const struct lu_env *env, struct inode *inode) argument 1068 const struct inode *inode = file->f_path.dentry->d_inode; local 1094 struct inode *inode = file->f_dentry->d_inode; local 1275 ll_lov_recreate(struct inode *inode, struct ost_id *oi, u32 ost_idx) argument 1323 ll_lov_recreate_obj(struct inode *inode, unsigned long arg) argument 1340 ll_lov_recreate_fid(struct inode *inode, unsigned long arg) argument 1357 ll_lov_setstripe_ea_info(struct inode *inode, struct file *file, int flags, struct lov_user_md *lum, int lum_size) argument 1395 ll_lov_getstripe_ea_info(struct inode *inode, const char *filename, struct lov_mds_md **lmmp, int *lmm_size, struct ptlrpc_request **request) argument 1481 ll_lov_setea(struct inode *inode, struct file *file, unsigned long arg) argument 1508 ll_lov_setstripe(struct inode *inode, struct file *file, unsigned long arg) argument 1545 ll_lov_getstripe(struct inode *inode, unsigned long arg) argument 1559 ll_get_grouplock(struct inode *inode, struct file *file, unsigned long arg) argument 1600 ll_put_grouplock(struct inode *inode, struct file *file, unsigned long arg) argument 1642 struct inode *inode = dentry->d_inode; local 1681 ll_do_fiemap(struct inode *inode, struct ll_user_fiemap *fiemap, size_t num_bytes) argument 1740 ll_fid2path(struct inode *inode, void __user *arg) argument 1784 ll_ioctl_fiemap(struct inode *inode, unsigned long arg) argument 1853 ll_data_version(struct inode *inode, __u64 *data_version, int extent_lock) argument 1893 ll_hsm_release(struct inode *inode) argument 2116 ll_hsm_state_set(struct inode *inode, struct hsm_state_set *hss) argument 2140 ll_hsm_import(struct inode *inode, struct file *file, struct hsm_user_import *hui) argument 2207 struct inode *inode = file->f_dentry->d_inode; local 2526 struct inode *inode = file->f_dentry->d_inode; local 2550 struct inode *inode = file->f_dentry->d_inode; local 2578 cl_sync_file_range(struct inode *inode, loff_t start, loff_t end, enum cl_fsync_mode mode, int ignore_layout) argument 2634 struct inode *inode = dentry->d_inode; local 2687 struct inode *inode = file->f_dentry->d_inode; local 2825 ll_have_md_lock(struct inode *inode, __u64 *bits, ldlm_mode_t l_req_mode) argument 2865 ll_take_md_lock(struct inode *inode, __u64 bits, struct lustre_handle *lockh, __u64 flags, ldlm_mode_t mode) argument 2882 ll_inode_revalidate_fini(struct inode *inode, int rc) argument 2904 struct inode *inode = dentry->d_inode; local 2999 struct inode *inode = dentry->d_inode; local 3027 struct inode *inode = de->d_inode; local 3060 ll_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) argument 3096 ll_get_acl(struct inode *inode, int type) argument 3110 ll_inode_permission(struct inode *inode, int mask) argument 3277 ll_iocontrol_call(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg, int *rcp) argument 3304 ll_layout_conf(struct inode *inode, const struct cl_object_conf *conf) argument 3338 ll_layout_fetch(struct inode *inode, struct ldlm_lock *lock) argument 3414 ll_layout_lock_set(struct lustre_handle *lockh, ldlm_mode_t mode, struct inode *inode, __u32 *gen, bool reconf) argument 3530 ll_layout_refresh(struct inode *inode, __u32 *gen) argument 3614 ll_layout_restore(struct inode *inode) argument [all...] |
H A D | namei.c | 54 static int ll_create_it(struct inode *, struct dentry *, 79 static int ll_test_inode(struct inode *inode, void *opaque) argument 81 struct ll_inode_info *lli = ll_i2info(inode); 95 static int ll_set_inode(struct inode *inode, void *opaque) argument 97 struct ll_inode_info *lli = ll_i2info(inode); 107 CERROR("Can not initialize inode "DFID" without object type: " 112 inode->i_mode = (inode 131 struct inode *inode; local 203 struct inode *inode = ll_inode_from_resource_lock(lock); local 354 ll_find_alias(struct inode *inode, struct dentry *dentry) argument 398 ll_splice_alias(struct inode *inode, struct dentry *de) argument 432 struct inode *inode = NULL; local 695 struct inode *inode = NULL; local 741 struct inode *inode; local 760 ll_update_times(struct ptlrpc_request *request, struct inode *inode) argument 784 struct inode *inode = NULL; local [all...] |
H A D | llite_capa.c | 142 struct ll_inode_info *lli = ll_i2info(oc->u.cli.inode); 148 struct ll_inode_info *lli = ll_i2info(ocapa->u.cli.inode); 172 struct inode *inode = NULL; local 204 * dir, or its inode is opened, or client holds LOOKUP 211 !S_ISDIR(ocapa->u.cli.inode->i_mode) && 213 !ll_have_md_lock(ocapa->u.cli.inode, 221 /* for OSS capability, only renew those whose inode is 233 inode = igrab(ocapa->u.cli.inode); 318 ll_osscapa_get(struct inode *inode, __u64 opc) argument 373 ll_mdscapa_get(struct inode *inode) argument 394 do_add_mds_capa(struct inode *inode, struct obd_capa *ocapa) argument 420 do_lookup_oss_capa(struct inode *inode, int opc) argument 441 inode_add_oss_capa(struct inode *inode, struct obd_capa *ocapa) argument 460 do_add_oss_capa(struct inode *inode, struct obd_capa *ocapa) argument 493 ll_add_capa(struct inode *inode, struct obd_capa *ocapa) argument 522 struct inode *inode = ocapa->u.cli.inode; local 584 ll_capa_open(struct inode *inode) argument 598 ll_capa_close(struct inode *inode) argument 630 ll_clear_inode_capas(struct inode *inode) argument [all...] |
H A D | vvp_internal.h | 58 struct ccc_object *cl_inode2ccc(struct inode *inode);
|
H A D | llite_nfs.c | 79 static int ll_nfs_test_inode(struct inode *inode, void *opaque) argument 81 return lu_fid_eq(&ll_i2info(inode)->lli_fid, 85 struct inode *search_inode_for_lustre(struct super_block *sb, 90 struct inode *inode = NULL; local 97 CDEBUG(D_INFO, "searching inode for:(%lu,"DFID")\n", hash, PFID(fid)); 99 inode = ilookup5(sb, hash, ll_nfs_test_inode, (void *)fid); 100 if (inode) 101 return inode; 141 struct inode *inode; local 191 ll_encode_fh(struct inode *inode, __u32 *fh, int *plen, struct inode *parent) argument [all...] |
H A D | dcache.c | 117 /* find any ldlm lock of the inode in mdc and lov 121 static int find_cbdata(struct inode *inode) argument 123 struct ll_sb_info *sbi = ll_i2sbi(inode); 127 LASSERT(inode); 128 rc = md_find_cbdata(sbi->ll_md_exp, ll_inode2fid(inode), 133 lsm = ccc_inode_lsm_get(inode); 138 ccc_inode_lsm_put(inode, lsm); 154 CDEBUG(D_DENTRY, "%s dentry %.*s (%p, parent %p, inode %p) %s%s\n", 168 /* if not ldlm lock for this inode, se 250 ll_invalidate_aliases(struct inode *inode) argument 303 struct inode *inode = dentry->d_inode; local 363 ll_d_iput(struct dentry *de, struct inode *inode) argument [all...] |
H A D | llite_lib.c | 156 struct inode *root = NULL; 491 /* make root inode 523 CERROR("failed to understand root inode md: rc = %d\n", err); 676 static void ll_dump_inode(struct inode *inode) argument 681 LASSERT(inode != NULL); 683 ll_d_hlist_for_each(tmp, &inode->i_dentry) 686 CERROR("inode %p dump: dev=%s ino=%lu mode=%o count=%u, %d dentries\n", 687 inode, ll_i2mdexp(inode) 1149 struct inode *inode = NULL; local 1172 ll_clear_inode(struct inode *inode) argument 1244 struct inode *inode = dentry->d_inode; local 1300 ll_setattr_done_writing(struct inode *inode, struct md_op_data *op_data, struct md_open_data *mod) argument 1330 ll_setattr_ost(struct inode *inode, struct iattr *attr) argument 1368 struct inode *inode = dentry->d_inode; local 1658 ll_inode_size_lock(struct inode *inode) argument 1668 ll_inode_size_unlock(struct inode *inode) argument 1676 ll_update_inode(struct inode *inode, struct lustre_md *md) argument 1758 inode->i_ino, inode->i_generation, inode); local 1825 ll_read_inode2(struct inode *inode, void *opaque) argument 1869 ll_delete_inode(struct inode *inode) argument 1897 ll_iocontrol(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) argument 1990 ll_flush_ctx(struct inode *inode) argument 2082 ll_prep_inode(struct inode **inode, struct ptlrpc_request *req, struct super_block *sb, struct lookup_intent *it) argument 2159 ll_obd_statfs(struct inode *inode, void *arg) argument 2346 ll_get_obd_name(struct inode *inode, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/ras/ |
H A D | debugfs.c | 18 static int trace_open(struct inode *inode, struct file *file) argument 24 static int trace_release(struct inode *inode, struct file *file) argument 27 return single_release(inode, file);
|
/drivers/staging/lustre/lustre/lclient/ |
H A D | glimpse.c | 70 blkcnt_t dirty_cnt(struct inode *inode) argument 73 struct ccc_object *vob = cl_inode2ccc(inode); 76 if (inode->i_mapping != NULL) 77 cnt += radix_tree_gang_lookup_tag(&inode->i_mapping->page_tree, 87 struct inode *inode, struct cl_object *clob, int agl) 90 struct cl_inode_info *lli = cl_i2info(inode); 98 CDEBUG(D_DLMTRACE, "Glimpsing inode "DFID"\n", PFID(fid)); 111 * fails with -ENAVAIL, but valid inode 86 cl_glimpse_lock(const struct lu_env *env, struct cl_io *io, struct inode *inode, struct cl_object *clob, int agl) argument 164 cl_io_get(struct inode *inode, struct lu_env **envout, struct cl_io **ioout, int *refcheck) argument 188 cl_glimpse_size0(struct inode *inode, int agl) argument 229 cl_local_size(struct inode *inode) argument [all...] |
/drivers/oprofile/ |
H A D | oprofilefs.c | 26 static struct inode *oprofilefs_get_inode(struct super_block *sb, int mode) 28 struct inode *inode = new_inode(sb); local 30 if (inode) { 31 inode->i_ino = get_next_ino(); 32 inode->i_mode = mode; 33 inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; 35 return inode; 139 struct inode *inode; local 216 struct inode *inode; local [all...] |
/drivers/misc/mic/card/ |
H A D | mic_debugfs.c | 59 static int mic_intr_test_open(struct inode *inode, struct file *file) argument 61 return single_open(file, mic_intr_test, inode->i_private); 64 static int mic_intr_test_release(struct inode *inode, struct file *file) argument 66 return single_release(inode, file);
|
/drivers/xen/xenfs/ |
H A D | xenstored.c | 18 static int xsd_release(struct inode *inode, struct file *file) argument 24 static int xsd_kva_open(struct inode *inode, struct file *file) argument 55 static int xsd_port_open(struct inode *inode, struct file *file) argument
|
/drivers/staging/lustre/lustre/include/ |
H A D | lclient.h | 46 blkcnt_t dirty_cnt(struct inode *inode); 48 int cl_glimpse_size0(struct inode *inode, int agl); 50 struct inode *inode, struct cl_object *clob, int agl); 52 static inline int cl_glimpse_size(struct inode *inode) argument 54 return cl_glimpse_size0(inode, 0); 57 static inline int cl_agl(struct inode *inod argument [all...] |
/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 89 static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode); 117 struct inode *root; 140 static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) 142 struct inode *ret = new_inode(sb); 159 struct inode *inode; local 165 inode = ibmasmfs_make_inode(parent->d_sb, S_IFREG | mode); 166 if (!inode) { 171 inode->i_fop = fops; 172 inode 182 struct inode *inode; local 236 command_file_open(struct inode *inode, struct file *file) argument 253 command_file_close(struct inode *inode, struct file *file) argument 342 event_file_open(struct inode *inode, struct file *file) argument 364 event_file_close(struct inode *inode, struct file *file) argument 431 r_heartbeat_file_open(struct inode *inode, struct file *file) argument 449 r_heartbeat_file_close(struct inode *inode, struct file *file) argument 502 remote_settings_file_close(struct inode *inode, struct file *file) argument [all...] |
/drivers/staging/unisys/visorchipset/ |
H A D | file.c | 36 static int visorchipset_open(struct inode *inode, struct file *file); 37 static int visorchipset_release(struct inode *inode, struct file *file); 42 int visorchipset_ioctl(struct inode *inode, struct file *file, 114 visorchipset_open(struct inode *inode, struct file *file) argument 116 unsigned minor_number = iminor(inode); 131 visorchipset_release(struct inode *inod argument [all...] |
/drivers/usb/mon/ |
H A D | mon_stat.c | 26 static int mon_stat_open(struct inode *inode, struct file *file) argument 34 mbus = inode->i_private; 52 static int mon_stat_release(struct inode *inode, struct file *file) argument
|
/drivers/ide/ |
H A D | ide-floppy_proc.c | 16 static int idefloppy_capacity_proc_open(struct inode *inode, struct file *file) argument 18 return single_open(file, idefloppy_capacity_proc_show, PDE_DATA(inode));
|