Searched refs:mem_len (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 862 smb_mbc_put_mem(mbuf_chain_t *mbc, void *vmem, int mem_len) in smb_mbc_put_mem() argument 869 if (mem_len <= 0) in smb_mbc_put_mem() 872 if ((rc = mbc_marshal_make_room(mbc, mem_len)) != 0) in smb_mbc_put_mem() 892 if (tlen > mem_len) in smb_mbc_put_mem() 893 tlen = mem_len; in smb_mbc_put_mem() 897 mem_len -= tlen; in smb_mbc_put_mem() 904 while (mem_len > 0) { in smb_mbc_put_mem() 907 if (tlen > mem_len) in smb_mbc_put_mem() 908 tlen = mem_len; in smb_mbc_put_mem() 912 mem_len -= tlen; in smb_mbc_put_mem()
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | table.c | 138 read_line_from_mem(const char *mem, int mem_len, char *line, int line_len, in read_line_from_mem() argument 143 if (line_len <= 0 || mem_len <= 0) { in read_line_from_mem() 147 if (*index >= mem_len) { in read_line_from_mem() 151 while (line_len > 1 && *index < mem_len) { in read_line_from_mem()
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_text.c | 220 static void textbuf_memcpy(idm_textbuf_t *itb, void *mem, int mem_len); 1024 textbuf_memcpy(idm_textbuf_t *itb, void *mem, int mem_len) in textbuf_memcpy() argument 1026 textbuf_makeroom(itb, mem_len); in textbuf_memcpy() 1027 (void) memcpy(itb->itb_mem + itb->itb_offset, mem, mem_len); in textbuf_memcpy() 1028 itb->itb_offset += mem_len; in textbuf_memcpy()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 204 size_t mem_len; /* allocated size */ member 212 (area).offset, (area).mem_len, (flag))) 223 #define DMA_ZERO(area) bzero(DMA_VPTR(area), (area).mem_len)
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_dbg_fw_funcs.c | 3437 u32 mem_addr, mem_len; in ecore_grc_dump_mem_entries() local 3448 mem_len = GET_FIELD(mem->dword1, DBG_DUMP_MEM_LENGTH); in ecore_grc_dump_mem_entries() 3455 if (mem_len % MAX_LCIDS) { in ecore_grc_dump_mem_entries() 3460 mem_len = ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LCIDS) * (mem_len / MAX_LCIDS); in ecore_grc_dump_mem_entries() 3463 if (mem_len % MAX_LTIDS) { in ecore_grc_dump_mem_entries() 3468 mem_len = ecore_grc_get_param(p_hwfn, DBG_GRC_PARAM_NUM_LTIDS) * (mem_len / MAX_LTIDS); in ecore_grc_dump_mem_entries() 3480 …re_grc_dump_mem(p_hwfn, p_ptt, dump_buf + offset, dump, OSAL_NULL, mem_addr, mem_len, mem_wide_bus, in ecore_grc_dump_mem_entries()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 3158 alloc_size = qlge->ioctl_buf_dma_attr.mem_len = in ql_alloc_ioctl_dma_buf()
|