Home
last modified time | relevance | path

Searched refs:max_blocks (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_port.c610 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 Dosm_port_info_rcv.c474 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 Dosm_pkey.c101 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 Dosm_pkey_mgr.c405 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()
/freebsd/sys/fs/ext2fs/
H A Dext2_extents.h128 unsigned long max_blocks, struct ucred *cred, struct buf **bpp,
H A Dext2_extents.c1395 unsigned long max_blocks, struct ucred *cred, struct buf **bpp, in ext4_ext_get_blocks() argument
1460 allocated = max_blocks; in ext4_ext_get_blocks()
1478 if (allocated > max_blocks) in ext4_ext_get_blocks()
1479 allocated = max_blocks; in ext4_ext_get_blocks()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_pkey.h92 uint16_t max_blocks; member
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c98 uint32_t max_blocks; /* number of "long" blocks in bitmask */ member
3300 int max_blocks; in ipfw_objhash_bitmap_alloc() local
3307 max_blocks = items / BLOCK_ITEMS; in ipfw_objhash_bitmap_alloc()
3315 *pblocks = max_blocks; in ipfw_objhash_bitmap_alloc()
3329 old_blocks = ni->max_blocks; in ipfw_objhash_bitmap_merge()
3349 old_blocks = ni->max_blocks; in ipfw_objhash_bitmap_swap()
3352 ni->max_blocks = *blocks; in ipfw_objhash_bitmap_swap()
3399 ipfw_objhash_bitmap_alloc(items, (void*)&ni->idx_mask, &ni->max_blocks); in ipfw_objhash_create()
3699 if (i >= ni->max_blocks) in ipfw_objhash_free_idx()
3733 for (i = off; i < ni->max_blocks; i++, mask++) { in ipfw_objhash_alloc_idx()
/freebsd/crypto/openssh/
H A Dpacket.c962 u_int64_t *max_blocks; in ssh_set_newkeys() local
973 max_blocks = &state->max_blocks_out; in ssh_set_newkeys()
978 max_blocks = &state->max_blocks_in; in ssh_set_newkeys()
1038 *max_blocks = (u_int64_t)1 << (enc->block_size*2); in ssh_set_newkeys()
1040 *max_blocks = ((u_int64_t)1 << 30) / enc->block_size; in ssh_set_newkeys()
1042 *max_blocks = MINIMUM(*max_blocks, in ssh_set_newkeys()
1045 (unsigned long long)*max_blocks); in ssh_set_newkeys()
/freebsd/usr.sbin/lpr/common_source/
H A Dlp.h64 long max_blocks; /* MX: maximum number of blocks to copy */ member
H A Dprintcap.c229 CHK(capdb_getaltnum(bp, "mx", "max.blocks", DEFMX, &pp->max_blocks)); in getprintcap_int()
/freebsd/usr.sbin/lpr/lpr/
H A Dlpr.c546 if (pp->max_blocks > 0 && nr > pp->max_blocks) { in copy()