Lines Matching defs:cc_state
522 * array), and rcu_read_lock() (to protect access to cc_state).
527 struct cc_state *cc_state;
539 cc_state = get_cc_state(ppd);
541 if (!cc_state)
544 * and set_link_ipg() should not be called if cc_state
556 ccti_limit = cc_state->cct.ccti_limit;
560 cce = cc_state->cct.entries[max_ccti].entry;
582 struct cc_state *cc_state;
592 cc_state = get_cc_state(ppd);
594 if (!cc_state) {
605 ccti_min = cc_state->cong_setting.entries[sl].ccti_min;
606 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer;
635 struct cc_state *cc_state;
691 cc_state = kzalloc(sizeof(*cc_state), GFP_KERNEL);
692 RCU_INIT_POINTER(ppd->cc_state, cc_state);
693 if (!cc_state)
1530 struct cc_state *cc_state;
1540 cc_state = get_cc_state_protected(ppd);
1541 RCU_INIT_POINTER(ppd->cc_state, NULL);
1544 if (cc_state)
1545 kfree_rcu(cc_state, rcu);