Home
last modified time | relevance | path

Searched refs:id_size (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/cmd/pgrep/
H A Didtab.c51 idt->id_nelems = idt->id_size = 0; in idtab_destroy()
61 if (idt->id_nelems >= idt->id_size) { in idtab_append()
62 size = idt->id_size ? idt->id_size * IDTAB_GROW : IDTAB_DEFSIZE; in idtab_append()
66 idt->id_size = size; in idtab_append()
H A Didtab.h49 size_t id_size; member
/titanic_44/usr/src/cmd/mdb/common/modules/fctl/
H A Dfctl.c49 int id_size; member
983 if (msg.id_size) { in fc_dump_logmsg()
985 buf = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg()
986 tmppkt = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg()
988 if (mdb_vread(buf, msg.id_size, in fc_dump_logmsg()
989 (uintptr_t)msg.id_buf) != msg.id_size) { in fc_dump_logmsg()
992 mdb_free(buf, msg.id_size + 1); in fc_dump_logmsg()
1001 bcopy(buf, tmppkt, msg.id_size + 1); in fc_dump_logmsg()
1019 mdb_free(buf, msg.id_size + 1); in fc_dump_logmsg()
1020 mdb_free(tmppkt, msg.id_size + 1); in fc_dump_logmsg()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dses_safte.c299 int *driveids, id_size = cc->Nslots * sizeof (int); in safte_rdstat() local
301 driveids = kmem_alloc(id_size, slpflg); in safte_rdstat()
338 kmem_free(driveids, id_size); in safte_rdstat()
364 kmem_free(driveids, id_size); in safte_rdstat()
388 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
461 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
535 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
574 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
602 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
644 BAIL(r, hiwater, sdata, buflen, driveids, id_size); in safte_rdstat()
[all …]
/titanic_44/usr/src/uts/common/io/idm/
H A Didm_impl.c652 new_size = pool->id_size * 2; in idm_idpool_increment()
657 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in idm_idpool_increment()
658 kmem_free(pool->id_pool, pool->id_size / 8); in idm_idpool_increment()
660 pool->id_free_counter += new_size - pool->id_size; in idm_idpool_increment()
661 pool->id_max_free_counter += new_size - pool->id_size; in idm_idpool_increment()
662 pool->id_size = new_size; in idm_idpool_increment()
688 pool->id_size = IDM_IDPOOL_MIN_SIZE; in idm_idpool_create()
719 kmem_free(pool->id_pool, (size_t)(pool->id_size / 8)); in idm_idpool_destroy()
743 i = pool->id_size; in idm_idpool_alloc()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c212 new_size = pool->id_size * 2; in smb_idpool_increment()
217 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in smb_idpool_increment()
218 kmem_free(pool->id_pool, pool->id_size / 8); in smb_idpool_increment()
220 pool->id_free_counter += new_size - pool->id_size; in smb_idpool_increment()
221 pool->id_max_free_counter += new_size - pool->id_size; in smb_idpool_increment()
222 pool->id_size = new_size; in smb_idpool_increment()
248 pool->id_size = SMB_IDPOOL_MIN_SIZE; in smb_idpool_constructor()
279 kmem_free(pool->id_pool, (size_t)(pool->id_size / 8)); in smb_idpool_destructor()
305 i = pool->id_size; in smb_idpool_alloc()
/titanic_44/usr/src/cmd/prstat/
H A Dprstat.h132 size_t id_size; /* memory usage */ member
H A Dprstat.c335 id->id_size = match->vmu_swap_all / 1024; in list_getsize()
475 Format_size(psize, id->id_size, 6); in list_print()
722 id->id_size += lwp->li_info.pr_size; in list_update()
752 id->id_size = lwp->li_info.pr_size; in list_update()
/titanic_44/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.h159 stmf_id_data_t *stmf_lookup_id(stmf_id_list_t *idlist, uint16_t id_size,
H A Dlun_map.c592 stmf_alloc_id(uint16_t id_size, uint16_t type, uint8_t *id_data, in stmf_alloc_id() argument
598 real_id_size = ((uint32_t)id_size + 7) & (~7); in stmf_alloc_id()
604 id->id_data_size = id_size; in stmf_alloc_id()
611 bcopy(id_data, id->id_data, id_size); in stmf_alloc_id()
624 stmf_lookup_id(stmf_id_list_t *idlist, uint16_t id_size, uint8_t *data) in stmf_lookup_id() argument
629 if ((id->id_data_size == id_size) && in stmf_lookup_id()
630 (bcmp(id->id_data, data, id_size) == 0)) { in stmf_lookup_id()
/titanic_44/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h286 int id_size; /* message size */ member
/titanic_44/usr/src/uts/common/sys/idm/
H A Didm_impl.h429 uint32_t id_size; member
/titanic_44/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c6136 dmsg->id_size = strlen(buf) + 1; in fc_trace_logmsg()
6137 dmsg->id_buf = kmem_alloc(dmsg->id_size, KM_NOSLEEP); in fc_trace_logmsg()
6152 logq->il_size += dmsg->id_size; in fc_trace_logmsg()
6187 logq->il_size -= dmsg->id_size; in fc_trace_freemsg()
6188 kmem_free(dmsg->id_buf, dmsg->id_size); in fc_trace_freemsg()
/titanic_44/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h302 uint32_t id_size; member