| /fs/ |
| A D | char_dev.c | 56 for (cd = chrdevs[major_to_index(offset)]; cd; cd = cd->next) { in chrdev_show() 58 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show() 77 for (cd = chrdevs[major_to_index(i)]; cd; cd = cd->next) in find_dynamic_major() 153 strscpy(cd->name, name, sizeof(cd->name)); in __register_chrdev_region() 164 return cd; in __register_chrdev_region() 167 kfree(cd); in __register_chrdev_region() 184 cd = *cp; in __unregister_chrdev_region() 188 return cd; in __unregister_chrdev_region() 243 *dev = MKDEV(cd->major, cd->baseminor); in alloc_chrdev_region() 341 if (cd && cd->cdev) in __unregister_chrdev() [all …]
|
| /fs/smb/client/ |
| A D | fscache.c | 27 struct cifs_fscache_volume_coherency_data *cd) in cifs_fscache_fill_volume_coherency() argument 29 memset(cd, 0, sizeof(*cd)); in cifs_fscache_fill_volume_coherency() 31 cd->vol_create_time = tcon->vol_create_time; in cifs_fscache_fill_volume_coherency() 37 struct cifs_fscache_volume_coherency_data cd; in cifs_fscache_get_super_cookie() local 85 cifs_fscache_fill_volume_coherency(tcon, &cd); in cifs_fscache_get_super_cookie() 88 &cd, sizeof(cd)); in cifs_fscache_get_super_cookie() 116 struct cifs_fscache_volume_coherency_data cd; in cifs_fscache_release_super_cookie() local 129 struct cifs_fscache_inode_coherency_data cd; in cifs_fscache_get_inode_cookie() local 143 &cd, sizeof(cd), in cifs_fscache_get_inode_cookie() 152 struct cifs_fscache_inode_coherency_data cd; in cifs_fscache_unuse_inode_cookie() local [all …]
|
| A D | fscache.h | 50 struct cifs_fscache_inode_coherency_data *cd) in cifs_fscache_fill_coherency() argument 55 memset(cd, 0, sizeof(*cd)); in cifs_fscache_fill_coherency() 56 cd->last_write_time_sec = cpu_to_le64(mtime.tv_sec); in cifs_fscache_fill_coherency() 57 cd->last_write_time_nsec = cpu_to_le32(mtime.tv_nsec); in cifs_fscache_fill_coherency() 58 cd->last_change_time_sec = cpu_to_le64(ctime.tv_sec); in cifs_fscache_fill_coherency() 59 cd->last_change_time_nsec = cpu_to_le32(ctime.tv_nsec); in cifs_fscache_fill_coherency() 70 struct cifs_fscache_inode_coherency_data cd; in cifs_invalidate_cache() local 72 cifs_fscache_fill_coherency(inode, &cd); in cifs_invalidate_cache() 73 fscache_invalidate(cifs_inode_cookie(inode), &cd, in cifs_invalidate_cache() 85 struct cifs_fscache_inode_coherency_data *cd) in cifs_fscache_fill_coherency() argument
|
| A D | inode.c | 97 struct cifs_fscache_inode_coherency_data cd; in cifs_revalidate_cache() local 131 cifs_fscache_fill_coherency(&cifs_i->netfs.inode, &cd); in cifs_revalidate_cache() 132 fscache_invalidate(cifs_inode_cookie(inode), &cd, i_size_read(inode), 0); in cifs_revalidate_cache()
|
| /fs/nfs/ |
| A D | cache_lib.c | 35 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) in nfs_cache_upcall() argument 44 cd->name, in nfs_cache_upcall() 122 ret = sunrpc_cache_register_pipefs(dir, cd->name, 0600, cd); in nfs_cache_register_sb() 127 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) in nfs_cache_register_net() argument 132 sunrpc_init_cache_detail(cd); in nfs_cache_register_net() 135 ret = nfs_cache_register_sb(pipefs_sb, cd); in nfs_cache_register_net() 138 sunrpc_destroy_cache_detail(cd); in nfs_cache_register_net() 145 sunrpc_cache_unregister_pipefs(cd); in nfs_cache_unregister_sb() 148 void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd) in nfs_cache_unregister_net() argument 154 nfs_cache_unregister_sb(pipefs_sb, cd); in nfs_cache_unregister_net() [all …]
|
| A D | dns_resolve.c | 207 ch = sunrpc_cache_lookup_rcu(cd, in nfs_dns_lookup() 221 ch = sunrpc_cache_update(cd, in nfs_dns_update() 263 item = nfs_dns_lookup(cd, &key); in nfs_dns_parse() 270 item = nfs_dns_update(cd, &key, item); in nfs_dns_parse() 275 cache_put(&item->h, cd); in nfs_dns_parse() 287 *item = nfs_dns_lookup(cd, key); in do_cache_lookup() 302 *item = nfs_dns_lookup(cd, key); in do_cache_lookup_nowait() 315 cache_put(&(*item)->h, cd); in do_cache_lookup_nowait() 433 if (cd == NULL) in rpc_pipefs_event() 441 ret = nfs_cache_register_sb(sb, cd); in rpc_pipefs_event() [all …]
|
| A D | cache_lib.h | 22 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name); 27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd); 28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd); 30 struct cache_detail *cd); 32 struct cache_detail *cd);
|
| /fs/nfsd/ |
| A D | export.c | 56 return sunrpc_cache_pipe_upcall(cd, h); in expkey_upcall() 132 ek = svc_expkey_lookup(cd, &key); in expkey_parse() 168 cache_put(&ek->h, cd); in expkey_parse() 176 struct cache_detail *cd, in expkey_show() argument 644 exp.cd = cd; in svc_export_parse() 767 struct cache_detail *cd, in svc_export_show() argument 838 new->cd = item->cd; in svc_export_init() 958 ek = svc_expkey_lookup(cd, &key); in exp_find_key() 981 key.cd = cd; in exp_get_by_name() 1044 exp = exp_parent(cd, clp, &path); in exp_rootfh() [all …]
|
| A D | nfs4idmap.c | 127 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall() argument 129 return sunrpc_cache_pipe_upcall_timeout(cd, h); in idtoname_upcall() 248 res = idtoname_lookup(cd, &ent); in idtoname_parse() 262 res = idtoname_update(cd, &ent, res); in idtoname_parse() 266 cache_put(&res->h, cd); in idtoname_parse() 274 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() argument 309 return sunrpc_cache_pipe_upcall_timeout(cd, h); in nametoid_upcall() 423 res = nametoid_lookup(cd, &ent); in nametoid_parse() 426 res = nametoid_update(cd, &ent, res); in nametoid_parse() 430 cache_put(&res->h, cd); in nametoid_parse() [all …]
|
| A D | export.h | 77 struct cache_detail *cd; member 124 cache_put(&exp->h, exp->cd); in exp_put()
|
| A D | nfs4xdr.c | 3832 cd->rd_fhp->fh_dentry); in nfsd4_encode_entry4_fattr() 3868 nfserr = nfsd4_encode_fattr4(cd->rd_rqstp, cd->xdr, NULL, exp, dentry, in nfsd4_encode_entry4_fattr() 3909 cd->common.err = nfs_ok; in nfsd4_encode_entry4() 3965 cd->rd_maxcount -= entry_bytes; in nfsd4_encode_entry4() 3971 if (cd->rd_dircount) { in nfsd4_encode_entry4() 3973 if (name_and_cookie > cd->rd_dircount && cd->cookie_offset) in nfsd4_encode_entry4() 3975 cd->rd_dircount -= min(cd->rd_dircount, name_and_cookie); in nfsd4_encode_entry4() 3976 if (!cd->rd_dircount) in nfsd4_encode_entry4() 3977 cd->rd_maxcount = 0; in nfsd4_encode_entry4() 3982 cd->common.err = nfs_ok; in nfsd4_encode_entry4() [all …]
|
| A D | nfs3xdr.c | 980 compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp, in compose_entry_fh() argument 987 dparent = cd->fh.fh_dentry; in compose_entry_fh() 988 exp = cd->fh.fh_export; in compose_entry_fh() 1013 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
|
| /fs/jfs/ |
| A D | jfs_txnmgr.c | 163 struct commit *cd); 1133 struct commit cd; in txCommit() local 1151 cd.tid = tid; in txCommit() 1161 cd.log = log; in txCommit() 1164 lrd = &cd.lrd; in txCommit() 1180 cd.iplist = iplist; in txCommit() 1181 cd.nip = nip; in txCommit() 1198 ip = cd.iplist[n]; in txCommit() 1201 cd.iplist[n] = cd.iplist[k]; in txCommit() 1206 ip = cd.iplist[k]; in txCommit() [all …]
|