Lines Matching defs:sizeof

198 		    chosen_reg, (int *)&reg, (sizeof (reg)/sizeof (int)))
326 case sizeof (uint8_t):
329 case sizeof (uint16_t):
332 case sizeof (uint32_t):
335 case sizeof (uint64_t):
354 case sizeof (uint8_t):
357 case sizeof (uint16_t):
360 case sizeof (uint32_t):
363 case sizeof (uint64_t):
380 case sizeof (uint8_t):
381 case sizeof (uint16_t):
382 case sizeof (uint32_t):
383 case sizeof (uint64_t):
396 case sizeof (uint8_t):
397 case sizeof (uint16_t):
398 case sizeof (uint32_t):
399 case sizeof (uint64_t):
411 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
418 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
425 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
432 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
449 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
456 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
463 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
470 return (i_ddi_peekpoke(dip, DDI_CTLOPS_PEEK, sizeof (*val_p), addr,
478 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
484 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
490 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
496 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
511 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
517 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
523 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
529 return (i_ddi_peekpoke(dip, DDI_CTLOPS_POKE, sizeof (val), addr, &val));
548 if (xfersize > sizeof (long))
549 xfersize = sizeof (long);
553 sz = sizeof (int8_t);
569 case sizeof (int64_t):
571 (sizeof (int64_t) - 1)) == 0) {
576 case sizeof (int32_t):
578 (sizeof (int32_t) - 1)) == 0) {
590 sz = sizeof (int16_t);
1593 *lengthp = sizeof (uint64_t);
1595 *lengthp = sizeof (uint64_t);
1597 *lengthp = sizeof (uint32_t);
1599 *lengthp = sizeof (uint32_t);
1601 *lengthp = sizeof (uint32_t);
1745 int proplength = sizeof (int);
1781 pdd = kmem_zalloc(sizeof (struct prop_driver_data) + size, KM_SLEEP);
1782 pdd->pdd_size = (sizeof (struct prop_driver_data) + size);
1788 return ((void *)((caddr_t)pdd + sizeof (struct prop_driver_data)));
1838 ((caddr_t)datap - sizeof (struct prop_driver_data));
2031 intp = ddi_prop_decode_alloc((cnt * sizeof (int)),
2105 intp = ddi_prop_decode_alloc((cnt * sizeof (int64_t)),
2365 nbytes = (cnt + 1) * sizeof (char *);
2395 ptr = (caddr_t)strs + ((cnt + 1) * sizeof (char *));
2749 if (ph->ph_size < sizeof (int) ||
2751 ph->ph_size - sizeof (int))))
2765 bcopy(ph->ph_cur_pos, data, sizeof (int));
2783 ph->ph_size - sizeof (int))))
2790 bcopy(data, ph->ph_cur_pos, sizeof (int));
2833 return (sizeof (int));
2866 if (ph->ph_size < sizeof (int64_t) ||
2869 ph->ph_size - sizeof (int64_t))))
2879 bcopy(ph->ph_cur_pos, data, sizeof (int64_t));
2887 sizeof (int64_t);
2895 ph->ph_size < sizeof (int64_t) ||
2897 ph->ph_size - sizeof (int64_t))))
2904 bcopy(data, ph->ph_cur_pos, sizeof (int64_t));
2911 sizeof (int64_t);
2919 ph->ph_size < sizeof (int64_t))
2935 sizeof (int64_t);
2942 return (sizeof (int64_t));
2948 return (sizeof (int64_t));
3240 (kmem_zalloc(sizeof (ddi_prop_t), km_flags))
3298 kmem_free(new_propp, sizeof (ddi_prop_t));
3321 kmem_free(new_propp, sizeof (ddi_prop_t));
3622 bzero(&ph, sizeof (prop_handle_t));
4123 kmem_free(propp, sizeof (ddi_prop_t));
4502 int proplength = sizeof (int);
4542 int proplength = sizeof (propvalue);
4908 ncallbacks * sizeof (struct ddi_callback), KM_SLEEP);
4915 sizeof (cbstats) / sizeof (kstat_named_t), KSTAT_FLAG_VIRTUAL)) {
4927 size_t size = sizeof (struct ddi_callback);
4942 new = kmem_alloc_tryhard(sizeof (struct ddi_callback),
5622 sizeof (DDI_NT_BLOCK) - 1) == 0 &&
5623 (node_type[sizeof (DDI_NT_BLOCK) - 1] == '\0' ||
5624 node_type[sizeof (DDI_NT_BLOCK) - 1] == ':') &&
5630 sizeof (DDI_NT_NET) - 1) == 0 &&
5631 (node_type[sizeof (DDI_NT_NET) - 1] == '\0' ||
5632 node_type[sizeof (DDI_NT_NET) - 1] == ':')) {
5637 sizeof (DDI_NT_PRINTER) - 1) == 0 &&
5638 (node_type[sizeof (DDI_NT_PRINTER) - 1] == '\0' ||
5639 node_type[sizeof (DDI_NT_PRINTER) - 1] == ':')) {
5644 sizeof (DDI_PSEUDO) -1) == 0 &&
5646 sizeof (ESC_LOFI) -1) == 0)) {
5761 if ((dmdp = kmem_zalloc(sizeof (struct ddi_minor_data),
5766 kmem_free(dmdp, sizeof (struct ddi_minor_data));
5872 kmem_free(dmdp, sizeof (struct ddi_minor_data));
5965 ss = kmem_zalloc(sizeof (*ss), KM_SLEEP);
5981 ss->array = kmem_zalloc(ss->n_items * sizeof (void *), KM_SLEEP);
6059 new_array = kmem_zalloc(new_n_items * sizeof (void *),
6064 bcopy(array, new_array, ss->n_items * sizeof (void *));
6069 dirty = kmem_zalloc(sizeof (*dirty), KM_SLEEP);
6199 kmem_free(ss->array, ss->n_items * sizeof (void *));
6207 kmem_free(dirty->array, dirty->n_items * sizeof (void *));
6208 kmem_free(dirty, sizeof (*dirty));
6212 kmem_free(ss, sizeof (*ss));
6240 sss = kmem_zalloc(sizeof (*sss), KM_SLEEP);
6323 kmem_free(sss, sizeof (*sss));
6347 ss = kmem_alloc(sizeof (*ss), KM_SLEEP);
6488 kmem_free(ss, sizeof (*ss));
7769 int sz = sizeof (*i_devid) + nbytes - sizeof (char);
7791 nbytes = sizeof (int) +
7792 sizeof (struct timeval32) + sizeof (short);
7853 i < sizeof (timestamp32) / sizeof (int); i++, ip++) {
8000 kmem_free(devlist, sizeof (dev_t) * ndevs);
8096 kmem_free(cp, sizeof (struct ddi_umem_cookie));
8312 p = kmem_zalloc(sizeof (struct ddi_umem_cookie), KM_SLEEP);
8341 kmem_free(p, sizeof (struct ddi_umem_cookie));
8350 kmem_free(p, sizeof (struct ddi_umem_cookie));
8388 kmem_free(p, sizeof (struct ddi_umem_cookie));
8423 kmem_free(p, sizeof (struct ddi_umem_cookie));
8479 kmem_free(p, sizeof (struct ddi_umem_cookie));
8492 kmem_free(p, sizeof (struct ddi_umem_cookie));
8610 p = kmem_zalloc(sizeof (struct ddi_umem_cookie), KM_SLEEP);
8638 kmem_free(p, sizeof (struct ddi_umem_cookie));
8648 kmem_free(p, sizeof (struct ddi_umem_cookie));
8768 bp = kmem_alloc(sizeof (struct buf), sleepflag);
8885 (void) snprintf(full_name, sizeof (full_name), "%s_%s",
9046 cbp = kmem_zalloc(sizeof (ddi_cb_t), KM_SLEEP);
9085 kmem_free(cbp, sizeof (ddi_cb_t));
9159 *nextp = kmem_zalloc(sizeof (struct ptnode), KM_SLEEP);
9345 kmem_free(tnp, sizeof (struct ptnode));
9986 mod_hash_null_valdtor, sizeof (struct dev_info));
9989 mod_hash_null_valdtor, sizeof (struct snode));