/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/ |
H A D | nfs4renewd.c | 62 struct nfs_client *clp = local 68 down_read(&clp->cl_sem); 71 if (list_empty(&clp->cl_superblocks)) 73 spin_lock(&clp->cl_lock); 74 lease = clp->cl_lease_time; 75 last = clp->cl_last_renewal; 80 cred = nfs4_get_renew_cred(clp); 82 set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); 83 spin_unlock(&clp->cl_lock); 84 nfs_expire_all_delegations(clp); 110 nfs4_schedule_state_renewal(struct nfs_client *clp) argument 134 nfs4_kill_renewd(struct nfs_client *clp) argument [all...] |
H A D | delegation.c | 113 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local 133 spin_lock(&clp->cl_lock); 135 list_add(&delegation->super_list, &clp->cl_delegations); 144 __FUNCTION__, NIPQUAD(clp->cl_addr.sin_addr)); 148 spin_unlock(&clp->cl_lock); 175 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local 181 down_read(&clp->cl_sem); 184 spin_lock(&clp->cl_lock); 191 spin_unlock(&clp->cl_lock); 194 up_read(&clp 207 struct nfs_client *clp = NFS_SB(sb)->nfs_client; local 231 struct nfs_client *clp = ptr; local 257 nfs_expire_all_delegations(struct nfs_client *clp) argument 275 nfs_handle_cb_pathdown(struct nfs_client *clp) argument 298 struct nfs_client *clp; member in struct:recall_threadargs 309 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local 370 nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) argument 388 nfs_delegation_mark_reclaim(struct nfs_client *clp) argument 400 nfs_delegation_reap_unclaimed(struct nfs_client *clp) argument 422 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; local [all...] |
H A D | callback_proc.c | 19 struct nfs_client *clp; local 26 clp = nfs_find_client(args->addr, 4); 27 if (clp == NULL) 29 inode = nfs_delegation_find_inode(clp, &args->fh); 52 nfs_put_client(clp); 60 struct nfs_client *clp; local 65 clp = nfs_find_client(args->addr, 4); 66 if (clp == NULL) 68 inode = nfs_delegation_find_inode(clp, &args->fh); 84 nfs_put_client(clp); [all...] |
H A D | client.c | 104 struct nfs_client *clp; local 107 if ((clp = kzalloc(sizeof(*clp), GFP_KERNEL)) == NULL) 116 __set_bit(NFS_CS_RPCIOD, &clp->cl_res_state); 121 __set_bit(NFS_CS_CALLBACK, &clp->cl_res_state); 124 atomic_set(&clp->cl_count, 1); 125 clp->cl_cons_state = NFS_CS_INITING; 127 clp->cl_nfsversion = nfsversion; 128 memcpy(&clp->cl_addr, addr, sizeof(clp 165 nfs4_shutdown_client(struct nfs_client *clp) argument 188 nfs_free_client(struct nfs_client *clp) argument 213 nfs_put_client(struct nfs_client *clp) argument 236 struct nfs_client *clp; local 268 struct nfs_client *clp; local 288 struct nfs_client *clp, *new = NULL; local 351 nfs_mark_client_ready(struct nfs_client *clp, int state) argument 393 nfs_create_rpc_client(struct nfs_client *clp, int proto, unsigned int timeo, unsigned int retrans, rpc_authflavor_t flavor, int flags) argument 499 struct nfs_client *clp = server->nfs_client; local 530 nfs_init_client(struct nfs_client *clp, const struct nfs_mount_data *data) argument 569 struct nfs_client *clp; local 693 struct nfs_client *clp = server->nfs_client; local 857 nfs4_init_client(struct nfs_client *clp, int proto, int timeo, int retrans, const char *ip_addr, rpc_authflavor_t authflavour) argument 905 struct nfs_client *clp; local 1282 struct nfs_client *clp; local 1374 struct nfs_client *clp; local [all...] |
H A D | delegation.h | 32 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); 34 void nfs_expire_all_delegations(struct nfs_client *clp); 35 void nfs_handle_cb_pathdown(struct nfs_client *clp); 37 void nfs_delegation_mark_reclaim(struct nfs_client *clp); 38 void nfs_delegation_reap_unclaimed(struct nfs_client *clp);
|
H A D | nfs4state.c | 61 static int nfs4_init_client(struct nfs_client *clp, struct rpc_cred *cred) argument 63 int status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, 66 status = nfs4_proc_setclientid_confirm(clp, cred); 68 nfs4_schedule_state_renewal(clp); 73 nfs4_alloc_lockowner_id(struct nfs_client *clp) argument 75 return clp->cl_lockowner_id ++; 79 nfs4_client_grab_unused(struct nfs_client *clp, struct rpc_cred *cred) argument 83 if (!list_empty(&clp->cl_unused)) { 84 sp = list_entry(clp->cl_unused.next, struct nfs4_state_owner, so_list); 87 list_move(&sp->so_list, &clp 93 nfs4_get_renew_cred(struct nfs_client *clp) argument 107 nfs4_get_setclientid_cred(struct nfs_client *clp) argument 120 nfs4_find_state_owner(struct nfs_client *clp, struct rpc_cred *cred) argument 163 struct nfs_client *clp = sp->so_client; local 175 struct nfs_client *clp = server->nfs_client; local 206 struct nfs_client *clp = sp->so_client; local 409 struct nfs_client *clp = state->owner->so_client; local 621 nfs4_clear_recover_bit(struct nfs_client *clp) argument 633 nfs4_recover_state(struct nfs_client *clp) argument 651 nfs4_schedule_state_recovery(struct nfs_client *clp) argument 748 nfs4_state_mark_reclaim(struct nfs_client *clp) argument 772 struct nfs_client *clp = ptr; local [all...] |
H A D | idmap.c | 111 nfs_idmap_new(struct nfs_client *clp) argument 116 BUG_ON(clp->cl_idmap != NULL); 121 idmap->idmap_dentry = rpc_mkpipe(clp->cl_rpcclient->cl_dentry, "idmap", 135 clp->cl_idmap = idmap; 140 nfs_idmap_delete(struct nfs_client *clp) argument 142 struct idmap *idmap = clp->cl_idmap; 147 clp->cl_idmap = NULL; 493 int nfs_map_name_to_uid(struct nfs_client *clp, const char *name, size_t namelen, __u32 *uid) argument 495 struct idmap *idmap = clp->cl_idmap; 500 int nfs_map_group_to_gid(struct nfs_client *clp, cons argument 507 nfs_map_uid_to_name(struct nfs_client *clp, __u32 uid, char *buf) argument 513 nfs_map_gid_to_group(struct nfs_client *clp, __u32 uid, char *buf) argument [all...] |
H A D | callback.c | 170 struct nfs_client *clp; local 174 clp = nfs_find_client(addr, 4); 175 if (clp == NULL) 180 nfs_put_client(clp);
|
H A D | nfs4proc.c | 67 static int nfs4_wait_clnt_recover(struct rpc_clnt *clnt, struct nfs_client *clp); 198 struct nfs_client *clp = server->nfs_client; local 199 spin_lock(&clp->cl_lock); 200 if (time_before(clp->cl_last_renewal,timestamp)) 201 clp->cl_last_renewal = timestamp; 202 spin_unlock(&clp->cl_lock); 795 struct nfs_client *clp = server->nfs_client; local 799 ret = nfs4_wait_clnt_recover(server->client, clp); 802 if (!test_and_clear_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state)) 804 nfs4_schedule_state_recovery(clp); 877 struct nfs_client *clp = server->nfs_client; local 963 struct nfs_client *clp = server->nfs_client; local 2400 struct nfs_client *clp = (struct nfs_client *)task->tk_msg.rpc_argp; local 2422 nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred) argument 2434 nfs4_proc_renew(struct nfs_client *clp, struct rpc_cred *cred) argument 2669 struct nfs_client *clp = server->nfs_client; local 2706 nfs4_wait_clnt_recover(struct rpc_clnt *clnt, struct nfs_client *clp) argument 2753 struct nfs_client *clp = server->nfs_client; local 2781 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, struct rpc_cred *cred) argument 2828 _nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct rpc_cred *cred) argument 2852 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct rpc_cred *cred) argument 2988 struct nfs_client *clp = server->nfs_client; local 3394 struct nfs_client *clp = state->owner->so_client; local [all...] |
H A D | nfs4_fs.h | 191 struct rpc_cred *nfs4_get_renew_cred(struct nfs_client *clp);
|
H A D | super.c | 297 struct nfs_client *clp = nfss->nfs_client; local 301 seq_printf(m, ",vers=%d", clp->rpc_ops->version); 330 seq_printf(m, ",timeo=%lu", 10U * clp->retrans_timeo / HZ); 331 seq_printf(m, ",retrans=%u", clp->retrans_count);
|
H A D | nfs4xdr.c | 1950 static int nfs4_xdr_enc_renew(struct rpc_rqst *req, __be32 *p, struct nfs_client *clp) argument 1959 return encode_renew(&xdr, clp); 1980 static int nfs4_xdr_enc_setclientid_confirm(struct rpc_rqst *req, __be32 *p, struct nfs_client *clp) argument 1991 status = encode_setclientid_confirm(&xdr, clp); 2139 static int decode_ace(struct xdr_stream *xdr, void *ace, struct nfs_client *clp) argument 2644 static int decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, uint32_t *uid) argument 2657 if (nfs_map_name_to_uid(clp, (char *)p, len, uid) != 0) 2669 static int decode_attr_group(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, uint32_t *gid) argument 2682 if (nfs_map_group_to_gid(clp, (char *)p, len, gid) != 0) 3576 static int decode_setclientid(struct xdr_stream *xdr, struct nfs_client *clp) argument 4345 nfs4_xdr_dec_setclientid(struct rpc_rqst *req, __be32 *p, struct nfs_client *clp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_c/csv/ |
H A D | query_main.c | 27 char **clist, **clp, *home; local 43 if ((clp = clist = 53 *clp++ = optarg; 76 if (clp == clist) 79 for (clp = clist, done = 0; *clp != NULL && !done; ++clp) 80 if ((ret = query(*clp, &done)) != 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/ |
H A D | nfs4callback.c | 350 nfsd4_lookupcred(struct nfs4_client *clp, int taskflags) argument 353 struct rpc_clnt *clnt = clp->cl_callback.cb_client; 356 get_group_info(clp->cl_cred.cr_group_info); 357 acred.uid = clp->cl_cred.cr_uid; 358 acred.gid = clp->cl_cred.cr_gid; 359 acred.group_info = clp->cl_cred.cr_group_info; 364 put_group_info(clp->cl_cred.cr_group_info); 372 nfsd4_probe_callback(struct nfs4_client *clp) argument 375 struct nfs4_callback *cb = &clp->cl_callback; 395 .rpc_argp = clp, 465 struct nfs4_client *clp = (struct nfs4_client *)task->tk_msg.rpc_argp; local 493 struct nfs4_client *clp = dp->dl_client; local [all...] |
H A D | nfs4state.c | 188 alloc_init_deleg(struct nfs4_client *clp, struct nfs4_stateid *stp, struct svc_fh *current_fh, u32 type) argument 204 dp->dl_client = clp; 224 list_add(&dp->dl_perclnt, &clp->cl_delegations); 310 renew_client(struct nfs4_client *clp) argument 316 clp->cl_clientid.cl_boot, 317 clp->cl_clientid.cl_id); 318 list_move_tail(&clp->cl_lru, &client_lru); 319 clp->cl_time = get_seconds(); 336 struct nfs4_client *clp; local 338 if ((clp 352 free_client(struct nfs4_client *clp) argument 361 put_nfs4_client(struct nfs4_client *clp) argument 368 shutdown_callback_client(struct nfs4_client *clp) argument 381 expire_client(struct nfs4_client *clp) argument 419 struct nfs4_client *clp; local 478 gen_clid(struct nfs4_client *clp) argument 484 gen_confirm(struct nfs4_client *clp) argument 507 add_to_unconfirmed(struct nfs4_client *clp, unsigned int strhashval) argument 519 move_to_confirmed(struct nfs4_client *clp) argument 535 struct nfs4_client *clp; local 548 struct nfs4_client *clp; local 561 struct nfs4_client *clp; local 573 struct nfs4_client *clp; local 653 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se) argument 1063 alloc_init_open_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfsd4_open *open) argument 1353 struct nfs4_client *clp = dp->dl_client; local 1435 struct nfs4_client *clp = NULL; local 1823 struct nfs4_client *clp; local 1861 struct nfs4_client *clp; local 2154 struct nfs4_client *clp = sop->so_client; local 2556 alloc_init_lock_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfs4_stateid *open_stp, struct nfsd4_lock *lock) argument 3034 struct nfs4_client *clp; local 3085 struct nfs4_client *clp; local 3215 struct nfs4_client *clp = NULL; local [all...] |
H A D | export.c | 735 exp_find_key(svc_client *clp, int fsid_type, u32 *fsidv, struct cache_req *reqp) argument 740 if (!clp) 743 key.ek_client = clp; 754 static int exp_set_key(svc_client *clp, int fsid_type, u32 *fsidv, argument 759 key.ek_client = clp; 781 exp_get_key(svc_client *clp, dev_t dev, ino_t ino) argument 787 return exp_find_key(clp, FSID_DEV, fsidv, NULL); 790 return exp_find_key(clp, FSID_ENCODE_DEV, fsidv, NULL); 797 exp_get_fsid_key(svc_client *clp, int fsid) argument 803 return exp_find_key(clp, FSID_NU 807 exp_get_by_name(svc_client *clp, struct vfsmount *mnt, struct dentry *dentry, struct cache_req *reqp) argument 842 exp_parent(svc_client *clp, struct vfsmount *mnt, struct dentry *dentry, struct cache_req *reqp) argument 910 exp_fsid_hash(svc_client *clp, struct svc_export *exp) argument 921 exp_hash(struct auth_domain *clp, struct svc_export *exp) argument 954 svc_client *clp; local 1128 exp_rootfh(svc_client *clp, char *path, struct knfsd_fh *f, int maxsize) argument 1174 exp_find(struct auth_domain *clp, int fsid_type, u32 *fsidv, struct cache_req *reqp) argument 1197 exp_pseudoroot(struct auth_domain *clp, struct svc_fh *fhp, struct cache_req *creq) argument [all...] |
H A D | nfs4recover.c | 131 nfsd4_create_clid_dir(struct nfs4_client *clp) argument 133 char *dname = clp->cl_recdir; 141 if (!rec_dir_init || clp->cl_firststate) 165 clp->cl_firststate = 1; 309 nfsd4_remove_clid_dir(struct nfs4_client *clp) argument 315 if (!rec_dir_init || !clp->cl_firststate) 318 clp->cl_firststate = 0; 320 status = nfsd4_unlink_clid_dir(clp->cl_recdir, HEXDIR_LEN-1); 326 " %.*s\n", HEXDIR_LEN, clp->cl_recdir);
|
H A D | nfsctl.c | 223 struct auth_domain *clp; local 240 if (!(clp = auth_unix_lookup(sin->sin_addr))) 243 err = exp_rootfh(clp, data->gd_path, res, data->gd_maxlen); 244 auth_domain_put(clp); 257 struct auth_domain *clp; local 275 if (!(clp = auth_unix_lookup(sin->sin_addr))) 278 err = exp_rootfh(clp, data->gd_path, &fh, NFS_FHSIZE); 279 auth_domain_put(clp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/nfsd/ |
H A D | export.h | 111 struct svc_export * exp_get_by_name(struct auth_domain *clp, 115 struct svc_export * exp_parent(struct auth_domain *clp, 136 exp_find(struct auth_domain *clp, int fsid_type, u32 *fsidv,
|
H A D | state.h | 266 extern void put_nfs4_client(struct nfs4_client *clp); 268 extern void nfsd4_probe_callback(struct nfs4_client *clp); 278 extern int nfsd4_create_clid_dir(struct nfs4_client *clp); 279 extern void nfsd4_remove_clid_dir(struct nfs4_client *clp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 667 struct pvr2_sysfs_class *clp; local 668 clp = container_of(class,struct pvr2_sysfs_class,class); 669 pvr2_sysfs_trace("Destroying pvr2_sysfs_class id=%p",clp); 670 kfree(clp); 887 struct pvr2_sysfs_class *clp; local 888 clp = kzalloc(sizeof(*clp),GFP_KERNEL); 889 if (!clp) return clp; 890 pvr2_sysfs_trace("Creating pvr2_sysfs_class id=%p",clp); 905 pvr2_sysfs_class_destroy(struct pvr2_sysfs_class *clp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | pkt_cls.h | 22 __cls_set_class(unsigned long *clp, unsigned long cl) argument 26 old_cl = *clp; 27 *clp = cl; 32 cls_set_class(struct tcf_proto *tp, unsigned long *clp, argument 38 old_cl = __cls_set_class(clp, cl);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_load/ |
H A D | db_load.c | 86 char **clist, **clp; local 111 if ((clp = clist = 132 *clp++ = optarg; 714 db_load_configure(dbenv, dbp, clp, subdbp, keysp) 717 char **clp, **subdbp; 724 for (; (name = *clp) != NULL; *--value = savech, ++clp) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db_load/ |
H A D | db_load.c | 72 char **clist, **clp; local 97 if ((clp = clist = 117 *clp++ = optarg; 699 configure(dbenv, dbp, clp, subdbp, keysp) 702 char **clp, **subdbp; 709 for (; (name = *clp) != NULL; *--value = savech, ++clp) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/ |
H A D | sch_cbq.c | 1135 struct cbq_class *cl, **clp; local 1138 for (clp = &q->classes[cbq_hash(this->classid)]; (cl = *clp) != NULL; clp = &cl->next) { 1140 *clp = cl->next; 1147 clp=&this->sibling; 1148 cl = *clp; 1151 *clp = cl->sibling; 1154 clp = &cl->sibling; 1155 } while ((cl = *clp) ! [all...] |