Lines Matching refs:len

105 				int *len);
107 void *buf, int len);
217 char *name, void *buf, int len);
219 char *name, int *len);
381 int len;
387 len = sizeof (memory_ranges);
389 "sb-mem-ranges", (caddr_t)&memory_ranges[0], &len) !=
469 int len = OBP_MAXDRVNAME;
479 (caddr_t)name, &len) != DDI_PROP_SUCCESS) {
485 len = sizeof (bnum);
488 (caddr_t)&bnum, &len) != DDI_PROP_SUCCESS) {
503 len = sizeof (cpuid);
506 (caddr_t)&cpuid, &len) != DDI_PROP_SUCCESS) {
570 int len = OBP_MAXDRVNAME;
580 (caddr_t)name, &len) != DDI_PROP_SUCCESS) {
586 len = sizeof (bnum);
589 (caddr_t)&bnum, &len) != DDI_PROP_SUCCESS) {
604 len = sizeof (cpuid);
607 (caddr_t)&cpuid, &len) != DDI_PROP_SUCCESS) {
778 drmach_node_ddi_get_prop(drmach_node_t *np, char *name, void *buf, int len)
791 (caddr_t)buf, &len) != DDI_PROP_SUCCESS) {
799 drmach_node_ddi_get_proplen(drmach_node_t *np, char *name, int *len)
808 len) != DDI_PROP_SUCCESS) {
1138 int i, rv, len;
1148 "floating-boards", &len) != DDI_PROP_SUCCESS) {
1151 floating = (int *)kmem_alloc(len, KM_SLEEP);
1154 &len);
1159 for (i = 0; i < len / sizeof (int); i++) {
1163 kmem_free(floating, len);
2052 int len = OBP_MAXDRVNAME;
2055 (caddr_t)name, &len) != DDI_PROP_SUCCESS) {
2620 int len = strlen(drmach_pt_arr[i].name);
2622 if (strncmp(drmach_pt_arr[i].name, opts->copts, len) == 0)
2929 int rtn, len;
2937 len = prom_getproplen(node, OPL_DR_STATUS_PROP);
2938 if (len == -1) {
2946 str = (char *)kmem_zalloc(len+1, KM_SLEEP);
2948 kmem_free(str, len + 1);
2960 struct memlist *mlist, uint64_t base, uint64_t len)
2964 if (len == 0ull)
2973 mlist->ml_size = len;
2981 if ((base + len) < ml->ml_address) {
2987 nl->ml_size = len;
2995 ml->ml_size = MAX((base + len),
3003 MAX((base + len), (ml->ml_address + ml->ml_size)) -
3015 nl->ml_size = len;
3421 uint_t len;
3587 len = sizeof (drmach_copy_rename_critical_t);
3588 wp = (caddr_t)roundup((uint64_t)bp + len, sizeof (void *));
3590 len = (uint_t)((ulong_t)drmach_copy_rename_end -
3597 wp = wp + len + 1024;
3599 len = (uint_t)((ulong_t)drmach_fmem_exec_script_end -
3602 wp = wp + len + 1024;
3604 len = (uint_t)((ulong_t)drmach_fmem_exec_script -
3606 wp = wp + len + 1024;
3616 len = sizeof (drmach_copy_rename_critical_t);
3617 wp = (caddr_t)roundup((uint64_t)bp + len, sizeof (void *));
3620 len = (uint_t)((ulong_t)drmach_copy_rename_end -
3623 bcopy((caddr_t)drmach_copy_rename_prog__relocatable, wp, len);
3625 wp = (caddr_t)roundup((uint64_t)wp + len, 1024);
3628 len = (int)((ulong_t)drmach_fmem_exec_script_end -
3630 bcopy((caddr_t)drmach_fmem_exec_script, wp, len);
3632 len = (int)((ulong_t)drmach_fmem_exec_script_end -
3634 wp = (caddr_t)roundup((uint64_t)wp + len, 1024);
3637 len = (int)((ulong_t)drmach_fmem_exec_script -
3639 bcopy((caddr_t)drmach_fmem_loop_script, (void *)wp, len);
3640 len = (int)((ulong_t)drmach_fmem_loop_script_rtn-
3642 prog->critical->loop_rtn = (void (*)()) (wp+len);