Lines Matching refs:sl
418 struct dccp_service_list *sl = NULL; in dccp_setsockopt_service() local
425 sl = kmalloc(optlen, GFP_KERNEL); in dccp_setsockopt_service()
426 if (sl == NULL) in dccp_setsockopt_service()
429 sl->dccpsl_nr = optlen / sizeof(u32) - 1; in dccp_setsockopt_service()
430 if (copy_from_sockptr_offset(sl->dccpsl_list, optval, in dccp_setsockopt_service()
432 dccp_list_has_service(sl, DCCP_SERVICE_INVALID_VALUE)) { in dccp_setsockopt_service()
433 kfree(sl); in dccp_setsockopt_service()
443 dp->dccps_service_list = sl; in dccp_setsockopt_service()
592 const struct dccp_service_list *sl; in dccp_getsockopt_service() local
596 if ((sl = dp->dccps_service_list) != NULL) { in dccp_getsockopt_service()
597 slen = sl->dccpsl_nr * sizeof(u32); in dccp_getsockopt_service()
608 (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) in dccp_getsockopt_service()