Home
last modified time | relevance | path

Searched refs:size (Results 101 – 125 of 1400) sorted by last modified time

12345678910>>...56

/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c453 gfx_mem_wr1(uint8_t *base, size_t size, uint32_t o, uint8_t v) in gfx_mem_wr1() argument
456 if (o >= size) in gfx_mem_wr1()
462 gfx_mem_wr2(uint8_t *base, size_t size, uint32_t o, uint16_t v) in gfx_mem_wr2() argument
465 if (o >= size) in gfx_mem_wr2()
471 gfx_mem_wr4(uint8_t *base, size_t size, uint32_t o, uint32_t v) in gfx_mem_wr4() argument
474 if (o >= size) in gfx_mem_wr4()
490 size_t size; in gfxfb_blt_fill() local
525 size = gfx_fb.framebuffer_common.framebuffer_height * pitch; in gfxfb_blt_fill()
532 gfx_mem_wr1(destination, size, off, in gfxfb_blt_fill()
537 gfx_mem_wr2(destination, size, off, data); in gfxfb_blt_fill()
[all …]
H A Dtem.c219 size_t size, width, height; in tem_internal_init() local
231 size = width * sizeof (tem_char_t); in tem_internal_init()
232 ptem->tvs_outbuf = malloc(size); in tem_internal_init()
252 size = width * height * sizeof (term_char_t); in tem_internal_init()
253 ptem->tvs_screen_buf = malloc(size); in tem_internal_init()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_dev.c1368 size_t size = 0; in vmmdev_do_ioctl() local
1379 size = (1 << kemu.access_width); in vmmdev_do_ioctl()
1380 ASSERT(size >= 1 && size <= 8); in vmmdev_do_ioctl()
1384 kemu.gpa, kemu.value, size); in vmmdev_do_ioctl()
1387 kemu.gpa, &kemu.value, size); in vmmdev_do_ioctl()
1533 int size; in vmmdev_do_ioctl() local
1541 size = vm_cpuset.cpusetsize; in vmmdev_do_ioctl()
1542 if (size <= 0 || size > sizeof (cpuset_t)) { in vmmdev_do_ioctl()
1549 if (size <= sizeof (tempset.cpub[0])) { in vmmdev_do_ioctl()
1561 ASSERT(size > 0 && size <= sizeof (tempset)); in vmmdev_do_ioctl()
[all …]
H A Dvmm_vm.c234 const uintptr_t size = end + 1; in vmspace_alloc() local
240 VERIFY(size > 0 && (size & PAGEOFFSET) == 0 && in vmspace_alloc()
241 size <= (uintptr_t)USERLIMIT); in vmspace_alloc()
244 vms->vms_size = size; in vmspace_alloc()
496 vm_object_mem_allocate(size_t size, bool transient) in vm_object_mem_allocate() argument
502 ASSERT3U(size, !=, 0); in vm_object_mem_allocate()
503 ASSERT3U(size & PAGEOFFSET, ==, 0); in vm_object_mem_allocate()
505 err = vmmr_alloc(size, transient, &region); in vm_object_mem_allocate()
514 vmo->vmo_size = size; in vm_object_mem_allocate()
523 vm_object_mmio_allocate(size_t size, uintptr_t hpa) in vm_object_mmio_allocate() argument
[all …]
/illumos-gate/usr/src/cmd/ps/
H A Dps.c91 size_t size; /* number of ugdata structs allocated */ member
385 size_t size, len; in stdmain() local
548 size = TSZ; in stdmain()
551 size -= 3; in stdmain()
553 (void) strncat(p, parg, size); in stdmain()
2135 if (tbl->size == tbl->nent) { /* reallocate the table entries */ in add_ugentry()
2136 if ((tbl->size *= 2) == 0) in add_ugentry()
2137 tbl->size = 32; /* first time */ in add_ugentry()
2138 tbl->ent = Realloc(tbl->ent, tbl->size*sizeof (struct ugdata)); in add_ugentry()
2444 Realloc(void *ptr, size_t size) in Realloc() argument
[all …]
/illumos-gate/usr/src/data/terminfo/
H A Dterminfo.src482 # beware of screen size problems and memory relative cursor addressing.
886 # All linux kernels since 1.2.13 (at least) set the screen size
1339 # #define FNSIZE 60 /* font name size */
1673 # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
1674 # size-dependent <is2>. Finally, I added <rmam>/<smam> -- esr)
2600 # host writable status line, yet another different DRCS matrix size,
2990 # retrieving the window title, and for setting the window size (i.e., using
3023 # - it recognizes the dtterm window controls for reporting size in
5186 # one but in screen size
9297 # 25 data lines. The 48 and 50 line modes change the page size
[all …]
H A Dtermcap.src461 # beware of screen size problems and memory relative cursor addressing.
818 # All linux kernels since 1.2.13 (at least) set the screen size
1217 # #define FNSIZE 60 /* font name size */
1464 # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
1465 # size-dependent :is:. Finally, I added <rmam>/<smam> -- esr)
2301 # host writable status line, yet another different DRCS matrix size,
2642 # retrieving the window title, and for setting the window size (i.e., using
2672 # - it recognizes the dtterm window controls for reporting size in
4546 # one but in screen size
8286 # 25 data lines. The 48 and 50 line modes change the page size
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5410 uint32_t size; in e1000g_loopback_ioctl() local
5429 size = sizeof (lb_info_sz_t); in e1000g_loopback_ioctl()
5430 if (iocp->ioc_count != size) in e1000g_loopback_ioctl()
5491 size = value; in e1000g_loopback_ioctl()
5492 if (iocp->ioc_count != size) in e1000g_loopback_ioctl()
5519 size = sizeof (uint32_t); in e1000g_loopback_ioctl()
5520 if (iocp->ioc_count != size) in e1000g_loopback_ioctl()
5528 size = 0; in e1000g_loopback_ioctl()
5538 iocp->ioc_count = size; in e1000g_loopback_ioctl()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_ich8lan.c128 u8 size, u16 *data);
3910 u8 size, u16 *data) in e1000_read_flash_data_ich8lan() argument
3921 if (size < 1 || size > 2 || offset > ICH_FLASH_LINEAR_ADDR_MASK) in e1000_read_flash_data_ich8lan()
3935 hsflctl.hsf_ctrl.fldbcount = size - 1; in e1000_read_flash_data_ich8lan()
3950 if (size == 1) in e1000_read_flash_data_ich8lan()
3952 else if (size == 2) in e1000_read_flash_data_ich8lan()
4481 u8 size, u16 data) in e1000_write_flash_data_ich8lan() argument
4493 if (size != 4 || offset > ICH_FLASH_LINEAR_ADDR_MASK) in e1000_write_flash_data_ich8lan()
4496 if (size < 1 || size > 2 || offset > ICH_FLASH_LINEAR_ADDR_MASK) in e1000_write_flash_data_ich8lan()
4520 hsflctl.hsf_ctrl.fldbcount = size - 1; in e1000_write_flash_data_ich8lan()
[all …]
H A De1000_hw.h991 u16 size; member
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dabd.c187 extern inline void abd_copy(abd_t *dabd, abd_t *sabd, size_t size);
188 extern inline void abd_copy_from_buf(abd_t *abd, const void *buf, size_t size);
189 extern inline void abd_copy_to_buf(void* buf, abd_t *abd, size_t size);
190 extern inline int abd_cmp_buf(abd_t *abd, const void *buf, size_t size);
191 extern inline void abd_zero(abd_t *abd, size_t size);
244 abd_chunkcnt_for_bytes(size_t size) in abd_chunkcnt_for_bytes() argument
246 return (P2ROUNDUP(size, zfs_abd_chunk_size) / zfs_abd_chunk_size); in abd_chunkcnt_for_bytes()
282 size_t size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_alloc_struct() local
283 abd_t *abd = kmem_alloc(size, KM_PUSHPAGE); in abd_alloc_struct()
285 ABDSTAT_INCR(abdstat_struct_size, size); in abd_alloc_struct()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c295 int size = 0; \
435 size++; in asn1_decode_principal_name()
437 (*val)->data = (krb5_data*)malloc(size*sizeof(krb5_data)); in asn1_decode_principal_name()
440 size*sizeof(krb5_data)); in asn1_decode_principal_name()
443 &((*val)->data[size-1].length), in asn1_decode_principal_name()
444 &((*val)->data[size-1].data)); in asn1_decode_principal_name()
447 (*val)->length = size; in asn1_decode_principal_name()
732 #define array_append(array,size,element,type)\ argument
733 size++;\
735 *(array) = (type**)malloc((size+1)*sizeof(type*));\
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D64.vbmi2.s405 .size libdis_test, [.-libdis_test]
H A D64.vbmi.s367 .size libdis_test, [.-libdis_test]
H A D32.avx512cd.s158 .size libdis_test, [.-libdis_test]
H A D32.vbmi.s367 .size libdis_test, [.-libdis_test]
H A D64.avx512cd.s158 .size libdis_test, [.-libdis_test]
H A D32.vbmi2.s405 .size libdis_test, [.-libdis_test]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h614 DAT_COUNT size; /* used for SEND and RDMA write */ member
/illumos-gate/usr/src/common/dis/i386/
H A Ddis_tables.c3673 dtrace_imm_opnd(dis86_t *x, int wbit, int size, int opindex) in dtrace_imm_opnd() argument
3702 valsize = size; in dtrace_imm_opnd()
3708 if (valsize < size) in dtrace_imm_opnd()
3709 valsize = size; in dtrace_imm_opnd()
3714 for (i = 0; i < size; ++i) { in dtrace_imm_opnd()
3732 x->d86_imm_bytes += size; in dtrace_imm_opnd()
3740 dtrace_disp_opnd(dis86_t *x, int wbit, int size, int opindex) in dtrace_disp_opnd() argument
3742 dtrace_imm_opnd(x, wbit, size, opindex); in dtrace_disp_opnd()
7212 log2(int size) in log2() argument
7214 switch (size) { in log2()
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c44 char *dst, size_t size));
46 char *dst, size_t size));
59 inet_net_ntop(af, src, bits, dst, size) in inet_net_ntop() argument
64 size_t size;
68 return (inet_net_ntop_ipv4(src, bits, dst, size));
70 return (inet_net_ntop_ipv6(src, bits, dst, size));
91 inet_net_ntop_ipv4(src, bits, dst, size) in inet_net_ntop_ipv4() argument
95 size_t size;
108 if (size < sizeof "0")
111 size--;
[all …]
/illumos-gate/usr/src/cmd/expr/
H A Dexpr.c71 static void *exprmalloc(size_t size);
644 exprmalloc(size_t size) in exprmalloc() argument
648 if ((rv = malloc(size)) == NULL) { in exprmalloc()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c10126 int i, size, npaths; in build_symlink() local
10143 size = strlen(prefix) + len; in build_symlink()
10145 size += fs->rootpath.pathname4_val[i].utf8string_len + 1; in build_symlink()
10148 symbuf = kmem_zalloc(size, KM_SLEEP); in build_symlink()
10168 *strsz = size; in build_symlink()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c98 void *my_zalloc(size_t size);
1319 int size; in get_device() local
1325 size = resolvepath(node, devnode, PATH_MAX); in get_device()
1326 if ((size <= 0) || (size >= (PATH_MAX - 1))) in get_device()
1330 devnode[size] = '\0'; in get_device()
1535 my_zalloc(size_t size) in my_zalloc() argument
1539 ret = malloc(size); in my_zalloc()
1545 ret = malloc(size); in my_zalloc()
1555 (void) memset(ret, 0, size); in my_zalloc()
1996 float size; in get_media_info() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c1015 uintptr_t top, base, size; in whatis_walk_ulwp() local
1022 size = ulwp->ul_stksiz; in whatis_walk_ulwp()
1029 if (size > top) in whatis_walk_ulwp()
1030 size = top; in whatis_walk_ulwp()
1031 if (top > MIN_STACK_ADDR && top - size < MIN_STACK_ADDR) in whatis_walk_ulwp()
1032 size = top - MIN_STACK_ADDR; in whatis_walk_ulwp()
1034 base = top - size; in whatis_walk_ulwp()
1036 while (mdb_whatis_match(w, base, size, &cur)) in whatis_walk_ulwp()
1041 size = ulwp->ul_ustack.ss_size; in whatis_walk_ulwp()
1043 while (mdb_whatis_match(w, base, size, &cur)) in whatis_walk_ulwp()

12345678910>>...56