Lines Matching refs:sl
399 struct dccp_service_list *sl = NULL; in dccp_setsockopt_service() local
406 sl = kmalloc(optlen, GFP_KERNEL); in dccp_setsockopt_service()
407 if (sl == NULL) in dccp_setsockopt_service()
410 sl->dccpsl_nr = optlen / sizeof(u32) - 1; in dccp_setsockopt_service()
411 if (copy_from_user(sl->dccpsl_list, in dccp_setsockopt_service()
414 dccp_list_has_service(sl, DCCP_SERVICE_INVALID_VALUE)) { in dccp_setsockopt_service()
415 kfree(sl); in dccp_setsockopt_service()
425 dp->dccps_service_list = sl; in dccp_setsockopt_service()
587 const struct dccp_service_list *sl; in dccp_getsockopt_service() local
591 if ((sl = dp->dccps_service_list) != NULL) { in dccp_getsockopt_service()
592 slen = sl->dccpsl_nr * sizeof(u32); in dccp_getsockopt_service()
603 (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) in dccp_getsockopt_service()