Lines Matching refs:ma_cnt
338 int ma_cnt = 0; in fm_smb_check() local
366 ma_cnt = smb_cnttypes(shp, SMB_TYPE_MEMARRAY); in fm_smb_check()
371 expr_cnt != pr_cnt || exma_cnt > ma_cnt || in fm_smb_check()
376 expr_cnt, pr_cnt, exma_cnt, ma_cnt, exmdev_cnt, in fm_smb_check()
417 ma_stype = smb_create_strcnt(ma_cnt); in fm_smb_check()
419 sys_ma = kmem_zalloc(sizeof (uint16_t) * ma_cnt, KM_SLEEP); in fm_smb_check()
428 for (i = 0; i < ma_cnt; i++) { in fm_smb_check()
443 smb_free_strcnt(ma_stype, ma_cnt); in fm_smb_check()
445 kmem_free(sys_ma, sizeof (uint16_t) * ma_cnt); in fm_smb_check()
451 smb_free_strcnt(ma_stype, ma_cnt); in fm_smb_check()
469 for (j = 0; j < ma_cnt; j++) { in fm_smb_check()
473 if (j == ma_cnt) in fm_smb_check()
484 kmem_free(sys_ma, sizeof (uint16_t) * ma_cnt); in fm_smb_check()
492 kmem_free(sys_ma, sizeof (uint16_t) * ma_cnt); in fm_smb_check()