Lines Matching refs:need
564 int need = 0; in dn_compat_calc_size() local
572 need += V_dn_cfg.schk_count * sizeof(struct dn_pipe8) / 2; in dn_compat_calc_size()
573 need += V_dn_cfg.fsk_count * sizeof(struct dn_flow_set); in dn_compat_calc_size()
574 need += V_dn_cfg.si_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size()
575 need += V_dn_cfg.queue_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size()
577 return need; in dn_compat_calc_size()
671 int need = 0; in dn_compat_copy_pipe() local
683 need = pipe_size + queue_size * n_queue; in dn_compat_copy_pipe()
684 if (have < need) { in dn_compat_copy_pipe()
685 D("have %d < need %d", have, need); in dn_compat_copy_pipe()
730 int need = 0; in dn_compat_copy_queue() local
740 need = fs_size + queue_size * n_queue; in dn_compat_copy_queue()
741 if (have < need) { in dn_compat_copy_queue()