• Home
  • Raw
  • Download

Lines Matching refs:sp

258 	if (val == NULL || (type == FEAT_SP && val->sp.vec == NULL))  in dccp_feat_printval()
261 for (i = 0; i < val->sp.len; i++) in dccp_feat_printval()
262 dccp_pr_debug_cat("%s%u", i ? " " : "", val->sp.vec[i]); in dccp_feat_printval()
272 dccp_feat_val fval = { .sp.vec = list, .sp.len = len }; in dccp_feat_printvals()
319 if (fval->sp.vec == NULL) { in __dccp_feat_activate()
328 val = fval->sp.vec[0]; in __dccp_feat_activate()
369 fval->sp.len = len; in dccp_feat_clone_sp_val()
370 if (fval->sp.len > 0) { in dccp_feat_clone_sp_val()
371 fval->sp.vec = kmemdup(val, len, gfp_any()); in dccp_feat_clone_sp_val()
372 if (fval->sp.vec == NULL) { in dccp_feat_clone_sp_val()
373 fval->sp.len = 0; in dccp_feat_clone_sp_val()
385 kfree(val->sp.vec); in dccp_feat_val_destructor()
403 original->val.sp.vec, in dccp_feat_clone_entry()
404 original->val.sp.len)) { in dccp_feat_clone_entry()
652 len = pos->val.sp.len; in dccp_feat_insert_opts()
653 ptr = pos->val.sp.vec; in dccp_feat_insert_opts()
741 kfree(fval.sp.vec); in __feat_register_sp()
988 if (entry->feat_num == DCCPF_CCID && entry->val.sp.len == 1) in dccp_feat_finalise_settings()
989 ccids[entry->is_local] = entry->val.sp.vec[0]; in dccp_feat_finalise_settings()
1014 ccid = entry->val.sp.vec[0]; in dccp_feat_server_ccid_dependencies()
1076 if (!fv->sp.vec || !arr) { in dccp_feat_reconcile()
1082 rc = dccp_feat_preflist_match(fv->sp.vec, fv->sp.len, arr, len); in dccp_feat_reconcile()
1084 rc = dccp_feat_preflist_match(arr, len, fv->sp.vec, fv->sp.len); in dccp_feat_reconcile()
1094 return dccp_feat_prefer(rc, fv->sp.vec, fv->sp.len); in dccp_feat_reconcile()
1157 fval.sp.vec[0] = defval; in dccp_feat_change_recv()
1158 } else if (!dccp_feat_is_valid_sp_val(feat, fval.sp.vec[0])) { in dccp_feat_change_recv()
1159 kfree(fval.sp.vec); in dccp_feat_change_recv()
1164 if (feat == DCCPF_CCID && !ccid_support_check(fval.sp.vec, 1)) { in dccp_feat_change_recv()
1165 kfree(fval.sp.vec); in dccp_feat_change_recv()
1285 entry->val.sp.vec[0] = *val; in dccp_feat_confirm_recv()