if ((dp = kmalloc(sizeof(struct nfs4_delegation), GFP_KERNEL)) == NULL) 
dp = kmem_cache_alloc(deleg_slab, GFP_KERNEL); if (dp == NULL) 
alloc_init_deleg(struct nfs4_client *clp, struct nfs4_stateid *stp, struct svc_fh *current_fh, u32 type){	struct nfs4_delegation *dp;	struct nfs4_file *fp = stp->st_file;	struct nfs4_callback *cb = &stp->st_stateowner->so_client->cl_callback;	dprintk("NFSD alloc_init_deleg\n");	if ((dp = kmalloc(sizeof(struct nfs4_delegation),		GFP_KERNEL)) == NULL)		return dp;	INIT_LIST_HEAD(&dp->dl_del_perfile);	INIT_LIST_HEAD(&dp->dl_del_perclnt);	INIT_LIST_HEAD(&dp->dl_recall_lru);	dp->dl_client = clp;	dp->dl_file = fp;	dp->dl_flock = NULL;	get_file(stp->st_vfs_file);	dp->dl_vfs_file = stp->st_vfs_file;	dp->dl_type = type;	dp->dl_recall.cbr_dp = NULL;	dp->dl_recall.cbr_ident = cb->cb_ident;	dp->dl_recall.cbr_trunc = 0;	dp->dl_stateid.si_boot = boot_time;	dp->dl_stateid.si_stateownerid = current_delegid++;	dp->dl_stateid.si_fileid = 0;	dp->dl_stateid.si_generation = 0;	dp->dl_fhlen = current_fh->fh_handle.fh_size;	memcpy(dp->dl_fhval, &current_fh->fh_handle.fh_base,		        current_fh->fh_handle.fh_size);	dp->dl_time = 0;	atomic_set(&dp->dl_count, 1);	list_add(&dp->dl_del_perfile, &fp->fi_del_perfile);	list_add(&dp->dl_del_perclnt, &clp->cl_del_perclnt);	alloc_delegation++;	return dp;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/5b2d21c1965859acc881dd862b6ebbfae67cdc14/nfs4state.c/buggy/fs/nfsd/nfs4state.c