Lines Matching refs:pai
1270 mmd_addpattr(multidata_t *mmd, pdesc_t *pd, pattrinfo_t *pai,
1282 ASSERT(pai != NULL);
1304 bkt = &(tbl[PATTBL_HASH(pai->type, tbl->pbkt_tbl_sz)]);
1307 if ((pa = mmd_find_pattr(bkt, pai->type)) != NULL)
1310 size = sizeof (*pa) + pai->len;
1318 pa->pat_type = pai->type;
1319 pai->buf = pai->len > 0 ? ((uchar_t *)(pa + 1)) : NULL;
1423 pattrinfo_t pai;
1445 pai.type = pa->pat_type;
1446 pai.len = pa->pat_buflen - sizeof (*pa);
1447 if (mmd_addpattr(n_mmd, n_pd, &pai, (pa->pat_flags &
1454 if (pai.buf != NULL)
1455 bcopy(pa + 1, pai.buf, pai.len);
1525 mmd_getpattr(multidata_t *mmd, pdesc_t *pd, pattrinfo_t *pai)
1532 ASSERT(pai != NULL);
1542 bkt = &(tbl[PATTBL_HASH(pai->type, tbl->pbkt_tbl_sz)]);
1544 if ((pa = mmd_find_pattr(bkt, pai->type)) != NULL) {
1546 pai->len = pa->pat_buflen - sizeof (*pa);
1547 pai->buf = pai->len > 0 ?