Home
last modified time | relevance | path

Searched refs:cd (Results 1 – 10 of 10) sorted by relevance

/fs/
Dchar_dev.c53 struct char_device_struct *cd; in chrdev_show() local
56 for (cd = chrdevs[major_to_index(offset)]; cd; cd = cd->next) { in chrdev_show()
57 if (cd->major == offset) in chrdev_show()
58 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show()
68 struct char_device_struct *cd; in find_dynamic_major() local
77 for (cd = chrdevs[major_to_index(i)]; cd; cd = cd->next) in find_dynamic_major()
78 if (cd->major == i) in find_dynamic_major()
81 if (cd == NULL) in find_dynamic_major()
100 struct char_device_struct *cd, *curr, *prev = NULL; in __register_chrdev_region() local
116 cd = kzalloc(sizeof(struct char_device_struct), GFP_KERNEL); in __register_chrdev_region()
[all …]
/fs/nfs/
Dcache_lib.c35 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) in nfs_cache_upcall() argument
44 cd->name, in nfs_cache_upcall()
116 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_register_sb() argument
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()
143 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_unregister_sb() argument
145 sunrpc_cache_unregister_pipefs(cd); in nfs_cache_unregister_sb()
[all …]
Ddns_resolve.c140 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request() argument
150 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall() argument
157 if (!nfs_cache_upcall(cd, key->hostname)) in nfs_dns_upcall()
160 return sunrpc_cache_pipe_upcall_timeout(cd, ch); in nfs_dns_upcall()
177 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show() argument
203 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup() argument
208 ch = sunrpc_cache_lookup_rcu(cd, in nfs_dns_lookup()
216 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update() argument
222 ch = sunrpc_cache_update(cd, in nfs_dns_update()
230 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse() argument
[all …]
Dcache_lib.h22 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/
Dexport.c54 static int expkey_upcall(struct cache_detail *cd, struct cache_head *h) in expkey_upcall() argument
56 return sunrpc_cache_pipe_upcall(cd, h); in expkey_upcall()
59 static void expkey_request(struct cache_detail *cd, in expkey_request() argument
74 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
76 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
134 ek = svc_expkey_lookup(cd, &key); in expkey_parse()
148 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
160 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
170 cache_put(&ek->h, cd); in expkey_parse()
[all …]
Dnfs4idmap.c126 idtoname_upcall(struct cache_detail *cd, struct cache_head *h) in idtoname_upcall() argument
128 return sunrpc_cache_pipe_upcall_timeout(cd, h); in idtoname_upcall()
132 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument
157 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() argument
205 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse() argument
247 res = idtoname_lookup(cd, &ent); in idtoname_parse()
261 res = idtoname_update(cd, &ent, res); in idtoname_parse()
265 cache_put(&res->h, cd); in idtoname_parse()
273 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() argument
275 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in idtoname_lookup()
[all …]
Dexport.h77 struct cache_detail *cd; member
122 cache_put(&exp->h, exp->cd); in exp_put()
Dnfs4xdr.c2431 *p++ = cpu_to_be32(convert_to_wallclock(exp->cd->flush_time)); in encode_change()
3402 nfsd4_encode_dirent_fattr(struct xdr_stream *xdr, struct nfsd4_readdir *cd, in nfsd4_encode_dirent_fattr() argument
3405 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr()
3410 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3426 && !attributes_need_mount(cd->rd_bmval)) { in nfsd4_encode_dirent_fattr()
3435 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); in nfsd4_encode_dirent_fattr()
3440 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
3446 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
3447 cd->rd_rqstp, ignore_crossmnt); in nfsd4_encode_dirent_fattr()
3476 struct nfsd4_readdir *cd = container_of(ccd, struct nfsd4_readdir, common); in nfsd4_encode_dirent() local
[all …]
Dnfs3xdr.c1070 compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp, in compose_entry_fh() argument
1077 dparent = cd->fh.fh_dentry; in compose_entry_fh()
1078 exp = cd->fh.fh_export; in compose_entry_fh()
1101 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
/fs/jfs/
Djfs_txnmgr.c152 struct tlock *tlck, struct commit *cd);
163 struct commit *cd);
1133 struct commit cd; in txCommit() local
1150 sb = cd.sb = iplist[0]->i_sb; in txCommit()
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()
1195 for (k = 0; k < cd.nip; k++) { in txCommit()
[all …]