Lines Matching refs:gbuf_cont
218 if (gbuf_cont(m) != NULL)
219 i = gbuf_len(gbuf_cont(m));
220 if (iocbp->ioc_count < size || (gbuf_cont(m) == NULL) || i < size) {
224 gbuf_cont(m)? 'Y' : 'N', i));
341 cfgp = (at_if_cfg_t*) gbuf_rptr(gbuf_cont(m));
351 if ( (gbuf_cont(m) == NULL)
352 || (elapp = find_ifID(gbuf_rptr(gbuf_cont(m)))) == NULL) {
356 gbuf_freem(gbuf_cont(m));
357 if ((gbuf_cont(m) =gbuf_alloc(sizeof(at_elap_stats_t),
362 statsp = ((at_elap_stats_t *)gbuf_rptr(gbuf_cont(m)));
364 gbuf_wset(gbuf_cont(m),sizeof(at_elap_stats_t));
373 add_route((RT_entry *)gbuf_rptr(gbuf_cont(m)));
392 i = *(int *)gbuf_rptr(gbuf_cont(m));
393 gbuf_freem(gbuf_cont(m));
394 gbuf_cont(m) = NULL;
398 if ((gbuf_cont(m) = gbuf_alloc(sizeof(ZT_entryno), PRI_MED)) == NULL) {
402 *(ZT_entryno *)gbuf_rptr(gbuf_cont(m)) = *pZTe;
403 gbuf_wset(gbuf_cont(m),sizeof(ZT_entryno));
429 i = *(int *)gbuf_rptr(gbuf_cont(m));
430 gbuf_freem(gbuf_cont(m));
431 gbuf_cont(m) = NULL;
435 if ((gbuf_cont(m) = gbuf_alloc(sizeof(RT_entry), PRI_MED)) == NULL) {
439 *(RT_entry *)gbuf_rptr(gbuf_cont(m)) = *pRT;
440 gbuf_wset(gbuf_cont(m),sizeof(RT_entry));
457 if ((gbuf_cont(m) = gbuf_alloc(sizeof(snmpStats_t),
463 *(snmpStats_t *)gbuf_rptr(gbuf_cont(m)) = snmpStats;
464 gbuf_wset(gbuf_cont(m),sizeof(snmpStats));
475 i = *(int *)gbuf_rptr(gbuf_cont(m));
476 gbuf_freem(gbuf_cont(m));
477 gbuf_cont(m) = NULL;
507 if ((gbuf_cont(m) = gbuf_alloc(size, PRI_MED)) == NULL) {
511 bcopy(&snmp,gbuf_rptr(gbuf_cont(m)),size);
512 gbuf_wset(gbuf_cont(m),size);
526 i = *(int *)gbuf_rptr(gbuf_cont(m));
527 gbuf_freem(gbuf_cont(m));
528 gbuf_cont(m) = NULL;
537 if ((gbuf_cont(m) = gbuf_alloc(bytes, PRI_MED)) == NULL) {
541 bcopy(snmpp, gbuf_rptr(gbuf_cont(m)), bytes);
542 gbuf_wset(gbuf_cont(m),bytes);
557 i = *(int *)gbuf_rptr(gbuf_cont(m));
558 gbuf_freem(gbuf_cont(m));
559 gbuf_cont(m) = NULL;
579 if (gbuf_cont(m))
580 gbuf_freem(gbuf_cont(m));
589 gbuf_cont(mo) = mn;
596 if ((gbuf_cont(m) = gbuf_alloc(sizeof(int), PRI_MED)) == NULL) {
608 *(int*)gbuf_rptr(gbuf_cont(m)) = totalsize; /* return table size */
609 gbuf_wset(gbuf_cont(m),sizeof(int));
621 i = *(int *)gbuf_rptr(gbuf_cont(m));
622 gbuf_freem(gbuf_cont(m));
623 gbuf_cont(m) = NULL;
644 if (gbuf_cont(m))
645 gbuf_freem(gbuf_cont(m));
654 gbuf_cont(mo) = mn;
661 if ((gbuf_cont(m) = gbuf_alloc(sizeof(int), PRI_MED)) == NULL) {
670 *(int*)gbuf_rptr(gbuf_cont(m)) = totalsize; /* return table size */
671 gbuf_wset(gbuf_cont(m),sizeof(int));
683 i = *(int *)gbuf_rptr(gbuf_cont(m));
684 gbuf_freem(gbuf_cont(m));
685 gbuf_cont(m) = NULL;
710 if (gbuf_cont(m))
711 gbuf_freem(gbuf_cont(m));
724 gbuf_cont(mo) = mn;
731 if ((gbuf_cont(m) = gbuf_alloc(sizeof(int), PRI_MED)) == NULL) {
740 *(int*)gbuf_rptr(gbuf_cont(m)) = totalsize; /* return table size */
741 gbuf_wset(gbuf_cont(m),sizeof(int));