memcpy(upath->dgid, kpath->dgid.raw, sizeof(union ib_gid)); memcpy(upath->sgid, kpath->sgid.raw, sizeof(union ib_gid)); 
memcpy(upath->dgid, kpath->dgid.raw, sizeof *upath->dgid); memcpy(upath->sgid, kpath->sgid.raw, sizeof *upath->sgid); 
static void ib_ucm_event_path_get(struct ib_ucm_path_rec *upath,				  struct ib_sa_path_rec	 *kpath){	if (!kpath || !upath)		return;	memcpy(upath->dgid, kpath->dgid.raw, sizeof(union ib_gid));	memcpy(upath->sgid, kpath->sgid.raw, sizeof(union ib_gid));	upath->dlid             = kpath->dlid;	upath->slid             = kpath->slid;	upath->raw_traffic      = kpath->raw_traffic;	upath->flow_label       = kpath->flow_label;	upath->hop_limit        = kpath->hop_limit;	upath->traffic_class    = kpath->traffic_class;	upath->reversible       = kpath->reversible;	upath->numb_path        = kpath->numb_path;	upath->pkey             = kpath->pkey;	upath->sl	        = kpath->sl;	upath->mtu_selector     = kpath->mtu_selector;	upath->mtu              = kpath->mtu;	upath->rate_selector    = kpath->rate_selector;	upath->rate             = kpath->rate;	upath->packet_life_time = kpath->packet_life_time;	upath->preference       = kpath->preference;	upath->packet_life_time_selector =		kpath->packet_life_time_selector;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b9ef520f9caf20aba8ac7cb2bbba45b52ff19d53/ucm.c/clean/drivers/infiniband/core/ucm.c