| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cselib.h | 37 struct elt_loc_list *locs; member 120 if (!val->locs || val->locs->next in canonical_cselib_val() 121 || !val->locs->loc || GET_CODE (val->locs->loc) != VALUE in canonical_cselib_val() 122 || val->uid < CSELIB_VAL_PTR (val->locs->loc)->uid) in canonical_cselib_val() 125 canon = CSELIB_VAL_PTR (val->locs->loc); in canonical_cselib_val()
|
| H A D | cselib.c | 144 for (l = v->locs; l; l = l->next) in equal() 296 struct elt_loc_list *el, *next = val->locs; in new_elt_loc_list() 308 next = val->locs; in new_elt_loc_list() 328 if (CSELIB_VAL_PTR (loc)->locs) in new_elt_loc_list() 331 for (el = CSELIB_VAL_PTR (loc)->locs; el->next; el = el->next) in new_elt_loc_list() 337 gcc_checking_assert (CSELIB_VAL_PTR (el->loc)->locs->loc in new_elt_loc_list() 339 CSELIB_VAL_PTR (el->loc)->locs->loc = val->val_rtx; in new_elt_loc_list() 342 el->next = val->locs; in new_elt_loc_list() 343 next = val->locs = CSELIB_VAL_PTR (loc)->locs; in new_elt_loc_list() 372 CSELIB_VAL_PTR (loc)->locs = el; in new_elt_loc_list() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cselib.h | 37 struct elt_loc_list *locs; member 121 if (!val->locs || val->locs->next in canonical_cselib_val() 122 || !val->locs->loc || GET_CODE (val->locs->loc) != VALUE in canonical_cselib_val() 123 || val->uid < CSELIB_VAL_PTR (val->locs->loc)->uid) in canonical_cselib_val() 126 canon = CSELIB_VAL_PTR (val->locs->loc); in canonical_cselib_val()
|
| H A D | cselib.cc | 145 for (l = v->locs; l; l = l->next) in equal() 297 struct elt_loc_list *el, *next = val->locs; in new_elt_loc_list() 309 next = val->locs; in new_elt_loc_list() 329 if (CSELIB_VAL_PTR (loc)->locs) in new_elt_loc_list() 332 for (el = CSELIB_VAL_PTR (loc)->locs; el->next; el = el->next) in new_elt_loc_list() 338 gcc_checking_assert (CSELIB_VAL_PTR (el->loc)->locs->loc in new_elt_loc_list() 340 CSELIB_VAL_PTR (el->loc)->locs->loc = val->val_rtx; in new_elt_loc_list() 343 el->next = val->locs; in new_elt_loc_list() 344 next = val->locs = CSELIB_VAL_PTR (loc)->locs; in new_elt_loc_list() 373 CSELIB_VAL_PTR (loc)->locs = el; in new_elt_loc_list() [all …]
|
| /netbsd-src/sys/arch/alpha/mcbus/ |
| H A D | mcbus.c | 125 int locs[MCBUSCF_NLOCS]; in mcbusattach() local 147 locs[MCBUSCF_MID] = 1; in mcbusattach() 150 .locators = locs)); in mcbusattach() 165 locs[MCBUSCF_MID] = mid; in mcbusattach() 169 .locators = locs)); in mcbusattach() 195 locs[MCBUSCF_MID] = mid; in mcbusattach() 198 .locators = locs)); in mcbusattach()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_drvctl.c | 304 int locs[MAXLOCATORS]; in rescanbus() local 306 locs[i] = -1; in rescanbus() 309 locs[i] = locators[i]; in rescanbus() 327 (*ap)->ci_name, locs); in rescanbus() 338 rc = (*device_cfattach(d)->ca_rescan)(d, ifattr, locs); in rescanbus() 364 int *locs; in drvctl_ioctl() local 400 locs = kmem_alloc(locs_sz, KM_SLEEP); in drvctl_ioctl() 401 res = copyin(d->locators, locs, locs_sz); in drvctl_ioctl() 403 kmem_free(locs, locs_sz); in drvctl_ioctl() 407 locs = NULL; in drvctl_ioctl() [all …]
|
| /netbsd-src/sys/arch/mips/sibyte/dev/ |
| H A D | sbscd.c | 106 int locs[SBSCDCF_NLOCS]; in sbscd_attach() local 114 locs[SBSCDCF_OFFSET] = sb1250_sbscd_devs[i].sa_offset; in sbscd_attach() 115 locs[SBSCDCF_INTR + 0] = in sbscd_attach() 117 locs[SBSCDCF_INTR + 1] = in sbscd_attach() 122 .locators = locs)); in sbscd_attach()
|
| H A D | sbsmbus.c | 87 int locs[SMBUSCF_NLOCS]; in smbus_attach() local 100 locs[SMBUSCF_CHAN] = 0; /* XXX */ in smbus_attach() 101 locs[SMBUSCF_DEV] = smbus_devs[i].sa_device; in smbus_attach() 105 .locators = locs)); in smbus_attach()
|
| H A D | sbobio.c | 206 int locs[SBOBIOCF_NLOCS]; in sbobio_attach() local 240 locs[SBOBIOCF_OFFSET] = devs[i].sa_offset; in sbobio_attach() 241 locs[SBOBIOCF_INTR + 0] = devs[i].sa_intr[0]; in sbobio_attach() 242 locs[SBOBIOCF_INTR + 1] = devs[i].sa_intr[1]; in sbobio_attach() 246 .locators = locs)); in sbobio_attach()
|
| /netbsd-src/sys/arch/alpha/tlsb/ |
| H A D | tlsb.c | 130 int locs[TLSBCF_NLOCS]; in tlsbattach() local 186 locs[TLSBCF_NODE] = node; in tlsbattach() 190 .locators = locs)); in tlsbattach() 234 locs[TLSBCF_NODE] = node; in tlsbattach() 238 .locators = locs)); in tlsbattach()
|
| /netbsd-src/sys/dev/tc/ |
| H A D | tc.c | 79 int locs[TCCF_NLOCS]; in tcattach() local 135 locs[TCCF_SLOT] = builtin->tcb_slot; in tcattach() 136 locs[TCCF_OFFSET] = builtin->tcb_offset; in tcattach() 142 .locators = locs)); in tcattach() 180 locs[TCCF_SLOT] = i; in tcattach() 181 locs[TCCF_OFFSET] = 0; in tcattach() 187 .locators = locs)); in tcattach()
|
| H A D | ioasic_subr.c | 61 int locs[IOASICCF_NLOCS]; in ioasic_attach_devs() local 74 locs[IOASICCF_OFFSET] = ioasic_devs[i].iad_offset; in ioasic_attach_devs() 77 .locators = locs)); in ioasic_attach_devs()
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | fdtbus.c | 162 fdt_rescan(device_t self, const char *ifattr, const int *locs) in fdt_rescan() argument 355 fdt_scan_submatch(device_t parent, cfdata_t cf, const int *locs, void *aux) in fdt_scan_submatch() argument 357 if (locs[FDTCF_PASS] != FDTCF_PASS_DEFAULT && in fdt_scan_submatch() 358 locs[FDTCF_PASS] != cf->cf_loc[FDTCF_PASS]) in fdt_scan_submatch() 361 return config_stdsubmatch(parent, cf, locs, aux); in fdt_scan_submatch() 376 const int locs[FDTCF_NLOCS] = { in fdt_scan_best() local 383 .locators = locs)); in fdt_scan_best() 403 const int locs[FDTCF_NLOCS] = { in fdt_scan() local 431 CFARGS(.locators = locs, in fdt_scan() 443 .locators = locs, in fdt_scan()
|
| /netbsd-src/sys/arch/arm/ep93xx/ |
| H A D | epsoc.c | 82 int locs[EPSOCCF_NLOCS]; in epsoc_attach() local 167 locs[EPSOCCF_ADDR] = EP93XX_APB_HWBASE + EP93XX_APB_TIMERS; in epsoc_attach() 170 .locators = locs)); in epsoc_attach() 172 locs[EPSOCCF_ADDR] = EP93XX_APB_HWBASE + EP93XX_APB_GPIO; in epsoc_attach() 176 .locators = locs))); in epsoc_attach()
|
| /netbsd-src/sys/dev/ata/ |
| H A D | ata_raid.c | 117 ataraid_rescan(device_t self, const char *ifattr, const int *locs) in ataraid_rescan() argument 204 int locs[ATARAIDCF_NLOCS]; in ataraid_attach() local 215 locs[ATARAIDCF_VENDTYPE] = aai->aai_type; in ataraid_attach() 216 locs[ATARAIDCF_UNIT] = aai->aai_arrayno; in ataraid_attach() 220 .locators = locs)); in ataraid_attach()
|
| /netbsd-src/sys/arch/pmax/ibus/ |
| H A D | ibus.c | 52 int locs[IBUSCF_NLOCS]; in ibusattach() local 67 locs[IBUSCF_ADDR] = (int32_t)MIPS_KSEG1_TO_PHYS(ia->ia_addr); in ibusattach() 71 .locators = locs)); in ibusattach()
|
| /netbsd-src/sys/dev/isa/ |
| H A D | isa.c | 170 int locs[ISACF_NLOCS]; in isarescan() local 180 memcpy(locs, locators, sizeof(locs)); in isarescan() 188 if (locs[ISACF_SIZE] == -1) in isarescan() 189 locs[ISACF_SIZE] = ISACF_SIZE_DEFAULT; in isarescan() 190 if (locs[ISACF_IOSIZ] == -1) in isarescan() 191 locs[ISACF_IOSIZ] = ISACF_IOSIZ_DEFAULT; in isarescan() 195 .locators = locs)); in isarescan()
|
| /netbsd-src/sys/arch/emips/ebus/ |
| H A D | ebus.c | 53 int locs[EBUSCF_NLOCS]; in ebusattach() local 83 locs[EBUSCF_ADDR] = ia->ia_paddr; in ebusattach() 87 .locators = locs)) == NULL) { in ebusattach()
|
| /netbsd-src/sys/arch/alpha/gbus/ |
| H A D | gbus.c | 117 int locs[GBUSCF_NLOCS]; in gbusattach() local 128 locs[GBUSCF_OFFSET] = gaa.ga_offset; in gbusattach() 131 .locators = locs)); in gbusattach()
|
| /netbsd-src/sys/arch/powerpc/ibm4xx/dev/ |
| H A D | exb.c | 74 int locs[EXBCF_NLOCS]; in exb_attach() local 99 locs[EXBCF_ADDR] = ec->ec_addr; in exb_attach() 106 .locators = locs)); in exb_attach()
|
| /netbsd-src/sbin/drvctl/ |
| H A D | drvctl.c | 75 int *locs, i; in main() 148 locs = malloc((argc - 1) * sizeof(int)); in main() 149 if (!locs) in main() 152 locs[i] = atoi(argv[i + 1]); in main() 154 raa.locators = locs; in main() 77 int *locs, i; main() local
|
| /netbsd-src/tests/bin/sh/ |
| H A D | t_input.sh | 111 for locs in '0 225' '0 224' '0 127 223' '0 10 15' '0 48 55' \ 117 set -- $locs 153 atf_fail "${locs}: build failure"
|
| /netbsd-src/sys/arch/powerpc/booke/dev/ |
| H A D | pq3obio.c | 286 int locs[OBIOCF_NLOCS]; in pq3obio_attach() local 287 locs[OBIOCF_ADDR] = OBIOCF_ADDR_DEFAULT; in pq3obio_attach() 288 locs[OBIOCF_SIZE] = OBIOCF_SIZE_DEFAULT; in pq3obio_attach() 289 locs[OBIOCF_CS] = OBIOCF_CS_DEFAULT; in pq3obio_attach() 292 .locators = locs)); in pq3obio_attach()
|
| /netbsd-src/sys/arch/alpha/sableio/ |
| H A D | sableio.c | 142 int locs[SABLEIOCF_NLOCS]; in sableio_attach() local 170 locs[SABLEIOCF_PORT] = sableio_devs[i].sd_ioaddr; in sableio_attach() 174 .locators = locs)); in sableio_attach()
|
| /netbsd-src/sys/dev/mca/ |
| H A D | mca.c | 137 int locs[MCACF_NLOCS]; in mca_attach() local 152 locs[MCACF_SLOT] = slot; in mca_attach() 158 .locators = locs)); in mca_attach()
|