Searched refs:max_blocks (Results 1 – 13 of 13) sorted by relevance
| /src/contrib/ofed/opensm/opensm/ |
| H A D | osm_port.c | 610 uint16_t max_blocks; in osm_physp_set_pkey_tbl() local 623 max_blocks = in osm_physp_set_pkey_tbl() 633 max_blocks = in osm_physp_set_pkey_tbl() 638 if (block_num >= max_blocks) { in osm_physp_set_pkey_tbl() 642 block_num, max_blocks, in osm_physp_set_pkey_tbl()
|
| H A D | osm_port_info_rcv.c | 474 uint16_t block_num, max_blocks; in get_pkey_table() local 490 max_blocks = in get_pkey_table() 507 max_blocks = (cl_ntoh16(p_node->sw->switch_info.enforce_cap) + in get_pkey_table() 512 p_physp->pkeys.rcv_blocks_cnt = max_blocks; in get_pkey_table() 513 for (block_num = 0; block_num < max_blocks; block_num++) { in get_pkey_table()
|
| H A D | osm_pkey.c | 101 p_pkey_tbl->max_blocks = 0; in osm_pkey_tbl_init() 273 while (*p_block_idx < p_pkey_tbl->max_blocks) { in osm_pkey_find_next_free_entry() 277 if (*p_block_idx >= p_pkey_tbl->max_blocks) in osm_pkey_find_next_free_entry()
|
| H A D | osm_pkey_mgr.c | 405 if (p_pkey_tbl->max_blocks > max_num_of_blocks) { in pkey_mgr_update_port() 409 p_pkey_tbl->max_blocks, max_num_of_blocks, in pkey_mgr_update_port() 414 p_pkey_tbl->max_blocks = max_num_of_blocks; in pkey_mgr_update_port() 621 if (p_pkey_tbl->used_blocks == p_pkey_tbl->max_blocks) in last_used_pkey_index()
|
| /src/sys/fs/ext2fs/ |
| H A D | ext2_extents.h | 128 unsigned long max_blocks, struct ucred *cred, struct buf **bpp,
|
| H A D | ext2_extents.c | 1391 unsigned long max_blocks, struct ucred *cred, struct buf **bpp, in ext4_ext_get_blocks() argument 1456 allocated = max_blocks; in ext4_ext_get_blocks() 1474 if (allocated > max_blocks) in ext4_ext_get_blocks() 1475 allocated = max_blocks; in ext4_ext_get_blocks()
|
| /src/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_pkey.h | 92 uint16_t max_blocks; member
|
| /src/sys/netpfil/ipfw/ |
| H A D | ip_fw_sockopt.c | 98 uint32_t max_blocks; /* number of "long" blocks in bitmask */ member 3313 int max_blocks; in ipfw_objhash_bitmap_alloc() local 3320 max_blocks = items / BLOCK_ITEMS; in ipfw_objhash_bitmap_alloc() 3328 *pblocks = max_blocks; in ipfw_objhash_bitmap_alloc() 3342 old_blocks = ni->max_blocks; in ipfw_objhash_bitmap_merge() 3362 old_blocks = ni->max_blocks; in ipfw_objhash_bitmap_swap() 3365 ni->max_blocks = *blocks; in ipfw_objhash_bitmap_swap() 3412 ipfw_objhash_bitmap_alloc(items, (void*)&ni->idx_mask, &ni->max_blocks); in ipfw_objhash_create() 3712 if (i >= ni->max_blocks) in ipfw_objhash_free_idx() 3746 for (i = off; i < ni->max_blocks; i++, mask++) { in ipfw_objhash_alloc_idx()
|
| /src/crypto/openssh/ |
| H A D | packet.c | 961 u_int64_t *max_blocks; in ssh_set_newkeys() local 972 max_blocks = &state->max_blocks_out; in ssh_set_newkeys() 977 max_blocks = &state->max_blocks_in; in ssh_set_newkeys() 1037 *max_blocks = (u_int64_t)1 << (enc->block_size*2); in ssh_set_newkeys() 1039 *max_blocks = ((u_int64_t)1 << 30) / enc->block_size; in ssh_set_newkeys() 1041 *max_blocks = MINIMUM(*max_blocks, in ssh_set_newkeys() 1044 (unsigned long long)*max_blocks); in ssh_set_newkeys()
|
| /src/usr.sbin/lpr/common_source/ |
| H A D | lp.h | 64 long max_blocks; /* MX: maximum number of blocks to copy */ member
|
| H A D | printcap.c | 229 CHK(capdb_getaltnum(bp, "mx", "max.blocks", DEFMX, &pp->max_blocks)); in getprintcap_int()
|
| /src/usr.sbin/lpr/lpr/ |
| H A D | lpr.c | 546 if (pp->max_blocks > 0 && nr > pp->max_blocks) { in copy()
|
| /src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | bcmsdh.c | 759 uint max_blocks; in brcmf_sdiod_sgtable_alloc() local 766 max_blocks = min_t(uint, host->max_blk_count, 511u); in brcmf_sdiod_sgtable_alloc() 768 max_blocks * func->cur_blksize); in brcmf_sdiod_sgtable_alloc()
|