Lines Matching refs:sl
400 struct dccp_service_list *sl = NULL; in dccp_setsockopt_service() local
407 sl = kmalloc(optlen, GFP_KERNEL); in dccp_setsockopt_service()
408 if (sl == NULL) in dccp_setsockopt_service()
411 sl->dccpsl_nr = optlen / sizeof(u32) - 1; in dccp_setsockopt_service()
412 if (copy_from_user(sl->dccpsl_list, in dccp_setsockopt_service()
415 dccp_list_has_service(sl, DCCP_SERVICE_INVALID_VALUE)) { in dccp_setsockopt_service()
416 kfree(sl); in dccp_setsockopt_service()
426 dp->dccps_service_list = sl; in dccp_setsockopt_service()
588 const struct dccp_service_list *sl; in dccp_getsockopt_service() local
592 if ((sl = dp->dccps_service_list) != NULL) { in dccp_getsockopt_service()
593 slen = sl->dccpsl_nr * sizeof(u32); in dccp_getsockopt_service()
604 (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) in dccp_getsockopt_service()