/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_cc.c | 743 dt_node_t *size; in dt_action_tracemem() local 760 if ((size = max->dn_list) != NULL) { in dt_action_tracemem() 761 if (size->dn_list != NULL) { in dt_action_tracemem() 762 dnerror(size, D_TRACEMEM_ARGS, "tracemem ( ) prototype " in dt_action_tracemem() 766 if (!dt_node_is_scalar(size)) { in dt_action_tracemem() 767 dnerror(size, D_TRACEMEM_DYNSIZE, "tracemem ( ) " in dt_action_tracemem() 772 dt_cg(yypcb, size); in dt_action_tracemem()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 135 uint32_t entries, uint32_t size) in hxge_setup_dma_common() argument 139 tsize = size * entries; in hxge_setup_dma_common() 142 dest_p->block_size = size; in hxge_setup_dma_common() 1866 uint32_t size, bsize; in hxge_map_txdma_channel_buf_ring() local 1911 size = nmsgs * sizeof (tx_msg_t); in hxge_map_txdma_channel_buf_ring() 1912 tx_msg_ring = KMEM_ZALLOC(size, KM_SLEEP); in hxge_map_txdma_channel_buf_ring() 2000 KMEM_FREE(tx_msg_ring, size); in hxge_map_txdma_channel_buf_ring()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 186 static void lex_advance(Sfio_t *iop, const char *buff, register int size, void *context) in lex_advance() argument 198 sfwrite(log, (void*)buff, size); in lex_advance() 200 sfwrite(sfstderr, buff, size); in lex_advance() 207 int n = size - (lp->lexd.docend-(char*)buff); in lex_advance() 217 size -= (lp->lexd.first-(char*)buff); in lex_advance() 225 if(size>0 && (lp->arg||lp->lexd.noarg)) in lex_advance() 227 sfwrite(stkp,buff,size); in lex_advance()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 2265 size_t size; in elfcore() local 2271 if ((size = (size_t)(naddr - saddr)) == 0) { in elfcore() 2281 phdr[i].p_memsz = size; in elfcore() 2294 if (saddr == stkbase && size == stksize) { in elfcore() 2298 } else if (saddr == brkbase && size == brksize) { in elfcore() 2350 phdr[i].p_filesz = size; in elfcore() 2351 doffset += size; in elfcore()
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 893 size_t size; in i40e_get_switch_resources() local 898 size = cnt * sizeof (i40e_switch_rsrc_t); in i40e_get_switch_resources() 899 ASSERT(size > 0); in i40e_get_switch_resources() 900 if (size > UINT16_MAX) in i40e_get_switch_resources() 902 buf = kmem_alloc(size, KM_SLEEP); in i40e_get_switch_resources() 908 kmem_free(buf, size); in i40e_get_switch_resources() 912 kmem_free(buf, size); in i40e_get_switch_resources()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 383 int size; in zfs_acl_znode_info() local 389 &size)) != 0) in zfs_acl_znode_info() 391 *aclsize = size; in zfs_acl_znode_info() 669 void *datap, zfs_ace_t *z_acl, uint64_t aclcnt, size_t *size, in zfs_copy_ace_2_fuid() argument 721 *size = (caddr_t)aceptr - (caddr_t)z_acl; in zfs_copy_ace_2_fuid() 790 zfs_oldace_t *z_acl, int aclcnt, size_t *size) in zfs_copy_ace_2_oldace() argument 807 *size = (caddr_t)aceptr - (caddr_t)z_acl; in zfs_copy_ace_2_oldace()
|
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs.c | 4932 sw.WindowSize = gw.size; in cs_modify_mem_window() 5031 uint32_t size; in cs_map_mem_page() local 5089 size = gw.size; in cs_map_mem_page() 5091 size = iw.mem_win_char.ReqOffset; in cs_map_mem_page() 5093 if (((mmp->CardOffset/size)*size) != mmp->CardOffset) { in cs_map_mem_page() 5574 set_window.WindowSize = imw->size; 5592 imw->size = set_window.WindowSize; 5950 uint32_t *size) 5975 if (size) 5976 *size = iw->iowin_char.ReqGran; [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/ |
H A D | kernel.implicit_dependencies.no_structs | 19 …->num_debug, (struct module)->num_kp, (struct module_layout)->base, (struct module_layout)->size, ] 20 …->num_debug, (struct module)->num_kp, (struct module_layout)->base, (struct module_layout)->size, ] 79 …set_on_fork, (struct task_struct)->policy, (struct mm_segment_t)->seg, (struct sched_attr)->size, ] 154 …(struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->nlink, (struct kstat)->size, ] 155 …(struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->nlink, (struct kstat)->size, ] 156 …(struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->nlink, (struct kstat)->size, ] 157 …(struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->nlink, (struct kstat)->size, ] 247 …n_struct)->signum, (struct file_ra_state)->start, (struct file_ra_state)->size, (struct file_ra_st… 248 …n_struct)->signum, (struct file_ra_state)->start, (struct file_ra_state)->size, (struct file_ra_st… 478 …n_struct)->signum, (struct file_ra_state)->start, (struct file_ra_state)->size, (struct file_ra_st… [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 98 size_t size; in sctp_alloc_hdr() local 101 size = sizeof (*tudr) + _TPI_ALIGN_TOPT(nlen) + clen; in sctp_alloc_hdr() 102 size = MAX(size, sizeof (sctp_msg_hdr_t)); in sctp_alloc_hdr() 104 mp = allocb_wait(size, BPRI_MED, 0, &error); in sctp_alloc_hdr() 106 mp = allocb(size, BPRI_MED); in sctp_alloc_hdr()
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/ |
H A D | audioemu10k.c | 219 uint32_t ptr, ptr_addr_mask, val, mask, size, offset; in emu10k_read_reg() local 228 size = (reg >> 24) & 0x3f; in emu10k_read_reg() 230 mask = ((1 << size) - 1) << offset; in emu10k_read_reg() 241 uint32_t ptr, ptr_addr_mask, mask, size, offset; in emu10k_write_reg() local 249 size = (reg >> 24) & 0x3f; in emu10k_write_reg() 251 mask = ((1 << size) - 1) << offset; in emu10k_write_reg()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cyclic.c | 1354 cyc_index_t new_size = arg->cyx_size, size = cpu->cyp_size, i; in cyclic_expand_xcall() local 1375 ASSERT(new_size == (size << 1)); in cyclic_expand_xcall() 1378 bcopy(cpu->cyp_heap, new_heap, sizeof (cyc_index_t) * size); in cyclic_expand_xcall() 1379 bcopy(cyclics, new_cyclics, sizeof (cyclic_t) * size); in cyclic_expand_xcall() 1387 for (i = 0; i < size; i++) in cyclic_expand_xcall() 1393 for (i = size; i < new_size; i++) { in cyclic_expand_xcall()
|
H A D | pcifm.c | 1344 int i, size; in pci_check_ranges() local 1400 (caddr_t)&pci_bus_rangep, &size) != DDI_SUCCESS) { in pci_check_ranges() 1409 kmem_free(pci_bus_rangep, size); in pci_check_ranges() 1412 kmem_free(pci_bus_rangep, size); in pci_check_ranges()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu.c | 1557 int size; in oplmsu_conf_stream() local 1583 size = (sizeof (struct msu_path) + (sizeof (struct msu_dev) * devcnt)); in oplmsu_conf_stream() 1584 mpath = (struct msu_path *)kmem_zalloc((size_t)size, KM_SLEEP); in oplmsu_conf_stream() 1629 kmem_free(mpath, size); in oplmsu_conf_stream() 1643 kmem_free(mpath, size); in oplmsu_conf_stream() 1663 kmem_free(mpath, size); in oplmsu_conf_stream()
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 1413 size_t size; in kidmap_rpc_call() local 1463 if ((size = xdr_sizeof(xdr_args, args)) == 0) { in kidmap_rpc_call() 1471 inbuf_size = size + 1024; in kidmap_rpc_call() 1472 outbuf_size = size + 1024; in kidmap_rpc_call()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | sparse-llvm.c | 226 switch (insn->size) { in insn_symbol_type() 233 die("invalid bit size %d", insn->size); in insn_symbol_type() 922 if (insn->size < width) in output_op_cast() 924 else if (insn->size == width) in output_op_cast()
|
H A D | show-parse.c | 748 int size = arg->ctype->bit_size; in show_call_expression() local 749 printf("\tpush.%d\t\tv%d\n", size, new); in show_call_expression() 750 framesize += bits_to_bytes(size); in show_call_expression()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | sym.msg | 99 @ MSG_DESC_ST_SIZE "Symbol size" 179 @ MSG_A2_DESC_ST_SIZE "Integer value to set for symbol size.\n" 303 size of the specified symbol (st_size field).\n\ 311 the symndx argument, the size of the symbol at that index is\n\
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 190 lex(struct conf_file *filep, char *val, size_t size) in lex() argument 198 if (size < 2) in lex() 205 remain = size - 1; in lex() 262 remain = size - 1; in lex()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1595 size_t size = 0; in ib_fill_static_apids() local 1602 IBNEX_HCA_VERBOSE_INFO, 0, (void **)&data, &size); in ib_fill_static_apids() 2114 size_t size; in ib_get_devicepath() local 2118 IBNEX_GET_DEVICE_PATH, 0, (void **)&devpath, &size) == CFGA_IB_OK) { in ib_get_devicepath()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.S | 241 mov 8, %o3 ! A reasonable initial step size 251 sllx %o3, 1, %o3 ! If not, then double our step size, 902 sllx %o4, 1, %o4 ! delay: double step size 1165 ! Since the size of the smap struct is 48 bytes, issuing 1 prefetch
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 422 int size; in sosdp_recvmsg() local 458 size = uiop->uio_resid; in sosdp_recvmsg() 467 size, flags, uiop); in sosdp_recvmsg()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 1283 expandmem(int n, void **array, int size) in expandmem() argument 1289 new = (void *)calloc(n + DELTA, size); in expandmem() 1297 bcopy(old, new, n * size); in expandmem()
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 758 int size; in cpc_get_list() local 766 if (syscall(SYS_cpc, szcmd, -1, &size, arg, 0) != 0) in cpc_get_list() 769 if ((list = malloc(size)) == NULL) in cpc_get_list()
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 1307 allocb(size_t size, uint_t pri) in allocb() argument 1314 if ((base = (unsigned char *)bkmem_zalloc(size)) == NULL) in allocb() 1319 mp->b_size = size; in allocb()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_util.c | 736 Dwarf_Unsigned size = 0; in _dwarf_get_abbrev_for_code() local 742 DW_SECT_ABBREV,&size); in _dwarf_get_abbrev_for_code() 744 end_abbrev_ptr = abbrev_ptr + size; in _dwarf_get_abbrev_for_code()
|