/titanic_44/usr/src/cmd/pgrep/ |
H A D | idtab.c | 51 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 D | idtab.h | 49 size_t id_size; member
|
/titanic_44/usr/src/cmd/mdb/common/modules/fctl/ |
H A D | fctl.c | 49 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 D | ses_safte.c | 299 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 D | idm_impl.c | 652 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 D | smb_kutil.c | 212 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 D | prstat.h | 132 size_t id_size; /* memory usage */ member
|
H A D | prstat.c | 335 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 D | lun_map.h | 159 stmf_id_data_t *stmf_lookup_id(stmf_id_list_t *idlist, uint16_t id_size,
|
H A D | lun_map.c | 592 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 D | fctl.h | 286 int id_size; /* message size */ member
|
/titanic_44/usr/src/uts/common/sys/idm/ |
H A D | idm_impl.h | 429 uint32_t id_size; member
|
/titanic_44/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 6136 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 D | smb_ktypes.h | 302 uint32_t id_size; member
|