Home
last modified time | relevance | path

Searched refs:rnum (Results 1 – 21 of 21) sorted by relevance

/NextBSD/sys/x86/isa/
HDorm.c64 int rnum; member
99 sc->rnum = 0; in orm_identify()
100 while (sc->rnum < MAX_ROMS && chunk < IOMEM_END) { in orm_identify()
101 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify()
103 rid = sc->rnum; in orm_identify()
107 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in orm_identify()
127 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in orm_identify()
133 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify()
135 rid = sc->rnum; in orm_identify()
138 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in orm_identify()
[all …]
/NextBSD/sys/dev/cfe/
HDcfe_resource.c55 int rnum; member
89 sc->rnum = 0; in cferes_identify()
102 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, addr, len); in cferes_identify()
103 rid = sc->rnum; in cferes_identify()
106 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in cferes_identify()
109 sc->rid[sc->rnum] = rid; in cferes_identify()
110 sc->res[sc->rnum] = res; in cferes_identify()
112 sc->rnum++; in cferes_identify()
113 if (sc->rnum == MAX_CFE_RESERVATIONS) in cferes_identify()
117 if (sc->rnum == 0) { in cferes_identify()
[all …]
/NextBSD/crypto/openssl/crypto/des/
HDenc_read.c104 long num = 0, rnum; in OPENSSL_IMPLEMENT_GLOBAL()
174 rnum = (num < 8) ? 8 : ((num + 7) / 8 * 8); in OPENSSL_IMPLEMENT_GLOBAL()
177 while (net_num < rnum) { in OPENSSL_IMPLEMENT_GLOBAL()
179 i = read(fd, (void *)&(net[net_num]), rnum - net_num); in OPENSSL_IMPLEMENT_GLOBAL()
181 i = _read(fd, (void *)&(net[net_num]), rnum - net_num); in OPENSSL_IMPLEMENT_GLOBAL()
214 if (len < rnum) { in OPENSSL_IMPLEMENT_GLOBAL()
HDenc_writ.c91 long rnum; in DES_enc_write()
141 rnum = 8; in DES_enc_write()
144 rnum = ((len + 7) / 8 * 8); /* round up to nearest eight */ in DES_enc_write()
155 outnum = rnum + HDRSIZE; in DES_enc_write()
/NextBSD/sbin/devfs/
HDrule.c131 devfs_rnum rnum; in rule_apply() local
137 if (!atonum(av[1], &rnum)) { in rule_apply()
147 rid = mkrid(in_rsnum, rnum); in rule_apply()
208 devfs_rnum rnum; in rule_show() local
214 rnum = eatoi(av[1]); in rule_show()
215 dr.dr_id = mkrid(in_rsnum, rnum - 1); in rule_show()
219 if (rid2rn(dr.dr_id) == rnum) in rule_show()
316 devfs_rnum rnum; in rulespec_intok() local
328 if (!atonum(av[0], &rnum)) in rulespec_intok()
329 rnum = 0; /* auto-number */ in rulespec_intok()
[all …]
/NextBSD/sys/sparc64/ebus/
HDebus.c310 int i, rnum, rid; in ebus_pci_attach() local
333 for (rnum = 0; rnum < sc->sc_nrange; rnum++) { in ebus_pci_attach()
334 eri = &sc->sc_rinfo[rnum]; in ebus_pci_attach()
335 range = &((struct isa_ranges *)sc->sc_range)[rnum]; in ebus_pci_attach()
337 rid = PCIR_BAR(rnum); in ebus_pci_attach()
342 "could not allocate range resource %d\n", rnum); in ebus_pci_attach()
348 rnum, rman_get_start(res), ISA_RANGE_PHYS(range)); in ebus_pci_attach()
354 rnum, rman_get_size(res), range->size); in ebus_pci_attach()
362 "could not initialize rman for range %d", rnum); in ebus_pci_attach()
369 for (i = rnum; i >= 0; i--) { in ebus_pci_attach()
[all …]
/NextBSD/cddl/contrib/opensolaris/cmd/zfs/
HDzfs_iter.c292 uint64_t lnum, rnum; in zfs_sort() local
347 &rnum, NULL, NULL, 0); in zfs_sort()
359 else if (lnum < rnum) in zfs_sort()
361 else if (lnum > rnum) in zfs_sort()
/NextBSD/lib/libc/iconv/
HDcitrus_esdb.c257 _citrus_esdb_get_list(char ***rlist, size_t *rnum, bool sorted) in _citrus_esdb_get_list() argument
365 *rnum = num; in _citrus_esdb_get_list()
/NextBSD/sys/fs/devfs/
HDdevfs_rule.c166 devfs_rnum rnum; in devfs_rules_ioctl() local
270 rnum = rid2rn(dr->dr_id); in devfs_rules_ioctl()
272 if (rid2rn(dk->dk_rule.dr_id) > rnum) in devfs_rules_ioctl()
/NextBSD/sys/dev/nxge/xgehal/
HDxgehal-device.c1519 int rnum; in __hal_device_rts_port_configure() local
1538 for (rnum = 0; rnum < XGE_HAL_MAX_RING_NUM; rnum++) { in __hal_device_rts_port_configure()
1540 xge_hal_ring_queue_t *queue = &hldev->config.ring.queue[rnum]; in __hal_device_rts_port_configure()
1566 vBIT(rnum,37,3) | BIT(63); in __hal_device_rts_port_configure()
1834 int rnum; in __hal_device_rth_it_configure() local
1856 for (rnum = 0; rnum < XGE_HAL_MAX_RING_NUM; rnum++) { in __hal_device_rth_it_configure()
1857 if (hldev->config.ring.queue[rnum].configured && in __hal_device_rth_it_configure()
1858 hldev->config.ring.queue[rnum].rth_en) in __hal_device_rth_it_configure()
1859 rings[rmax++] = rnum; in __hal_device_rth_it_configure()
1862 rnum = 0; in __hal_device_rth_it_configure()
[all …]
/NextBSD/sys/netpfil/ipfw/
HDip_fw_sockopt.c2061 size_t sz, rnum; in dump_config() local
2091 if ((rnum = hdr->start_rule) > IPFW_DEFAULT_RULE) in dump_config()
2092 rnum = IPFW_DEFAULT_RULE; in dump_config()
2093 da.b = ipfw_find_rule(chain, rnum, 0); in dump_config()
2094 rnum = hdr->end_rule; in dump_config()
2095 rnum = (rnum < IPFW_DEFAULT_RULE) ? rnum+1 : IPFW_DEFAULT_RULE; in dump_config()
2096 da.e = ipfw_find_rule(chain, rnum, 0) + 1; in dump_config()
/NextBSD/sys/dev/sound/pci/
HDemu10k1.c225 int pnum, rnum; member
953 ch = &sc->rch[sc->rnum]; in emurchan_init()
960 ch->num = sc->rnum; in emurchan_init()
961 switch(sc->rnum) { in emurchan_init()
986 sc->rnum++; in emurchan_init()
1844 sc->pnum = sc->rnum = 0; in emu_init()
/NextBSD/sbin/natd/
HDnatd.c133 static int CheckIpfwRulenum(unsigned int rnum);
2027 CheckIpfwRulenum(unsigned int rnum) in CheckIpfwRulenum() argument
2038 if (rnum >= default_rule) { in CheckIpfwRulenum()
/NextBSD/gnu/usr.bin/grep/
HDdfa.c3298 int lnum, rnum; in inboth() local
3308 for (rnum = 0; right[rnum] != NULL; ++rnum) in inboth()
3310 temp = comsubs(left[lnum], right[rnum]); in inboth()
/NextBSD/contrib/tzcode/zic/
HDzic.c118 const char * rname, int rnum);
398 eats(name, num, rname, rnum) in eats() argument
402 const int rnum;
407 rlinenum = rnum;
/NextBSD/sbin/ipfw/
HDipfw2.c2483 uint32_t rnum; in ipfw_list() local
2502 rnum = strtoul(*lav++, &endptr, 10); in ipfw_list()
2503 if (sfo.first == 0 || rnum < sfo.first) in ipfw_list()
2504 sfo.first = rnum; in ipfw_list()
2507 rnum = strtoul(endptr + 1, &endptr, 10); in ipfw_list()
2508 if (sfo.last == 0 || rnum > sfo.last) in ipfw_list()
2509 sfo.last = rnum; in ipfw_list()
/NextBSD/contrib/file/magic/Magdir/
HDdatabase520 >48 lequad x \b, rnum=%lld
/NextBSD/contrib/gcc/
HDreload1.c1711 int rnum = reload_order[order]; in find_reg() local
1712 struct reload *rl = rld + rnum; in find_reg()
1730 if (rld[other].regno >= 0 && reloads_conflict (other, rnum)) in find_reg()
1782 fprintf (dump_file, "Using reg %d for reload %d\n", best_reg, rnum); in find_reg()
HDdwarf2out.c459 int rnum = DWARF2_FRAME_REG_OUT (DWARF_FRAME_REGNUM (i), 1); in expand_builtin_init_dwarf_reg_sizes() local
461 if (rnum < DWARF_FRAME_REGISTERS) in expand_builtin_init_dwarf_reg_sizes()
463 HOST_WIDE_INT offset = rnum * GET_MODE_SIZE (mode); in expand_builtin_init_dwarf_reg_sizes()
/NextBSD/contrib/binutils/bfd/
HDelf32-arm.c3508 int rnum = 0; in bfd_arm_vfp11_insn_decode() local
3514 regs[rnum++] = fm; in bfd_arm_vfp11_insn_decode()
3516 *numregs = rnum; in bfd_arm_vfp11_insn_decode()
/NextBSD/contrib/libxo/xohtml/external/
HDjquery.js6503 rnum = /^-?\d/, variable
6798 if ( !rnumpx.test( ret ) && rnum.test( ret ) ) {