Searched refs:max_children (Results 1 – 8 of 8) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | srclimit.c | 34 static int max_children, max_persource, ipv4_masklen, ipv6_masklen; variable 47 max_children = max; in srclimit_init() 57 child = xcalloc(max_children, sizeof(*child)); in srclimit_init() 58 for (i = 0; i < max_children; i++) in srclimit_init() 90 first_unused = max_children; in srclimit_check_allow() 92 for (i = 0; i < max_children; i++) { in srclimit_check_allow() 107 if (first_unused == max_children) { /* no free slot found */ in srclimit_check_allow() 111 if (first_unused < 0 || first_unused >= max_children) in srclimit_check_allow() 134 for (i = 0; i < max_children; i++) { in srclimit_done()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_mtree.c | 64 p_mtn->max_children = p_sw->num_ports; in osm_mtree_node_new() 65 for (i = 0; i < p_mtn->max_children; i++) in osm_mtree_node_new() 78 for (i = 0; i < p_mtn->max_children; i++) in osm_mtree_destroy() 96 p_mtn->max_children); 98 for (i = 0; i < p_mtn->max_children; i++) {
|
H A D | osm_mcast_mgr.c | 495 uint8_t max_children; in mcast_mgr_branch() local 567 max_children = osm_mtree_node_get_max_children(p_mtn); in mcast_mgr_branch() 569 CL_ASSERT(max_children > 1); in mcast_mgr_branch() 576 list_array = malloc(sizeof(cl_qlist_t) * max_children); in mcast_mgr_branch() 586 memset(list_array, 0, sizeof(cl_qlist_t) * max_children); in mcast_mgr_branch() 588 for (i = 0; i < max_children; i++) in mcast_mgr_branch() 615 for (i = 0; i < max_children; i++) { in mcast_mgr_branch() 821 uint8_t max_children; 843 max_children = osm_mtree_node_get_max_children(p_mtn); 845 CL_ASSERT(max_children <= osm_switch_get_num_ports(p_sw)); [all …]
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_mtree.h | 102 uint8_t max_children; member 192 return (p_mtn->max_children); in osm_mtree_node_get_max_children() 221 CL_ASSERT(child < p_mtn->max_children); in osm_mtree_node_get_child()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | draid.c | 778 int max_children = VDEV_DRAID_MAX_CHILDREN; in draid_generate() local 796 max_children = (int)strtol(optarg, NULL, 0); in draid_generate() 797 if (max_children > VDEV_DRAID_MAX_CHILDREN) { in draid_generate() 875 children <= max_children; children++) { in draid_generate() 1135 int max_children = VDEV_DRAID_MAX_CHILDREN; in draid_dump() local 1149 max_children = (int)strtol(optarg, NULL, 0); in draid_dump() 1150 if (max_children > VDEV_DRAID_MAX_CHILDREN) { in draid_dump() 1184 children <= max_children; children++) { in draid_dump()
|
/freebsd/sys/dev/ice/ |
H A D | ice_sched.c | 214 if (hw->max_children[layer]) { in ice_sched_add_node() 216 ice_calloc(hw, hw->max_children[layer], in ice_sched_add_node() 1468 hw->max_children[i] = LE16_TO_CPU(max_sibl); in ice_sched_query_res_alloc() 1618 u16 max_children; in ice_sched_get_free_qparent() local 1622 max_children = pi->hw->max_children[qgrp_layer]; in ice_sched_get_free_qparent() 1643 if (qgrp_node->num_children < max_children && in ice_sched_get_free_qparent() 1762 num = DIVIDE_AND_ROUND_UP(num, hw->max_children[i]); in ice_sched_calc_vsi_child_nodes() 1859 pi->hw->max_children[i]) in ice_sched_calc_vsi_support_nodes() 2348 if (node->num_children < hw->max_children[l]) in ice_sched_get_free_vsi_parent() 2426 hw->max_children[parent->tx_sched_layer]) in ice_sched_move_nodes() [all …]
|
H A D | ice_type.h | 1084 u16 max_children[ICE_AQC_TOPO_MAX_LEVEL_NUM]; member
|
H A D | ice_adminq_cmd.h | 1223 __le16 max_children; member
|