/freebsd-current/contrib/libpcap/msdos/ |
H A D | pkt_rx1.s | 49 mov di, 158 ;; upper right corner - 1 111 mov di, [_rxInOfs] ; ES:DI -> _pktRxBuf[n] 114 mov [di], cx ; remember firstCount. 115 mov [di+4], bx ; remember handle. 116 add di, 6 ; ES:DI -> _pktRxBuf[n].destinAdr 124 @skip: xor di, di ; return ES:DI = NIL pointer
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_util_os.c | 163 find_shares_object(differ_info_t *di) argument 168 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); 172 (void) snprintf(di->errbuf, sizeof (di->errbuf), 174 return (zfs_error(di->zhp->zfs_hdl, EZFS_DIFF, di->errbuf)); 177 di->shares = (uint64_t)sb.st_ino;
|
/freebsd-current/stand/uboot/ |
H A D | uboot_disk.c | 97 struct device_info *di; local 106 di = ub_dev_get(i); 107 if ((di != NULL) && (di->type & DEV_TYP_STOR)) { 115 stor_info[stor_info_no].type = di->type; 117 di->di_stor.block_count; 119 di->di_stor.block_size;
|
H A D | net.c | 210 struct device_info *di; local 214 if ((di = ub_dev_get(i)) != NULL) 215 if (di->type == DEV_TYP_NET) 318 struct device_info *di; local 328 di = ub_dev_get(sc->sc_handle); 329 memcpy(desc->myea, di->di_net.hwaddr, 6);
|
/freebsd-current/lib/msun/src/ |
H A D | e_jn.c | 53 double a, b, c, s, temp, di; local 178 for(i=n-1,di=(double)(i+i);i>0;i--){ 180 b *= di; 183 di -= two; 186 for(i=n-1,di=(double)(i+i);i>0;i--){ 188 b *= di; 191 di -= two;
|
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_debug.h | 130 int di; local 132 for (di = 0; di < max; di++) { 134 for (ki = di; ki >= -di; ki -= 2) { 138 label = '0' + (di % 10);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | dmu_os.c | 147 int mi, di; local 204 for (mi = 0, di = 0; mi < count && di < numbufs; ) { 216 db = dbp[di]; 250 ASSERT3S(di, <, numbufs); 251 di++; 270 ASSERT3S(di, >=, numbufs - 1); 271 IMPLY(*rahead != 0, di == numbufs - 1); 275 if (di == numbufs) {
|
/freebsd-current/sys/riscv/riscv/ |
H A D | sbi.c | 357 struct sbi_devinfo *di; local 371 di = malloc(sizeof(*di), M_DEVBUF, M_WAITOK | M_ZERO); 372 resource_list_init(&di->rl); 379 device_set_ivars(child, di); 388 struct sbi_devinfo *di; local 390 di = device_get_ivars(child); 391 KASSERT(di != NULL, ("%s: No devinfo", __func__)); 393 return (&di->rl);
|
/freebsd-current/sys/dev/fdt/ |
H A D | simple_mfd.c | 48 const char *name, int unit, struct simplebus_devinfo *di); 50 struct simplebus_devinfo *di); 252 struct simplebus_devinfo *di) 258 if (di == NULL) 261 ndi = di; 263 if (di == NULL) 278 const char *name, int unit, struct simplebus_devinfo *di) 283 if ((ndi = simple_mfd_setup_dinfo(dev, node, di)) == NULL) 291 if (di == NULL) 251 simple_mfd_setup_dinfo(device_t dev, phandle_t node, struct simplebus_devinfo *di) argument 277 simple_mfd_add_device(device_t dev, phandle_t node, u_int order, const char *name, int unit, struct simplebus_devinfo *di) argument
|
H A D | simplebus.c | 271 struct simplebus_devinfo *di) 277 if (di == NULL) 280 ndi = di; 282 if (di == NULL) 296 const char *name, int unit, struct simplebus_devinfo *di) 301 if ((ndi = simplebus_setup_dinfo(dev, node, di)) == NULL) 309 if (di == NULL) 432 struct simplebus_devinfo *di; local 443 if ((di = device_get_ivars(child)) == NULL) 446 rle = resource_list_find(&di 270 simplebus_setup_dinfo(device_t dev, phandle_t node, struct simplebus_devinfo *di) argument 295 simplebus_add_device(device_t dev, phandle_t node, u_int order, const char *name, int unit, struct simplebus_devinfo *di) argument 487 simplebus_print_res(struct simplebus_devinfo *di) argument [all...] |
/freebsd-current/sys/netinet/netdump/ |
H A D | netdump_client.c | 97 static int netdump_start(struct dumperinfo *di, void *key, 286 netdump_start(struct dumperinfo *di, void *key, uint32_t keysize) argument 313 di->dumpoff = 0; 364 netdump_write_headers(struct dumperinfo *di, struct kerneldumpheader *kdh) argument 698 struct dumperinfo di; member in union:__anon2 739 u.di.dumper_start = netdump_start; 740 u.di.dumper_hdr = netdump_write_headers; 741 u.di.dumper = netdump_dumper; 742 u.di.priv = NULL; 743 u.di [all...] |
/freebsd-current/stand/i386/gptboot/ |
H A D | gptldr.S | 94 mov $COPY_BLK_SZ-1,%di # Adjust %es:%di to point at 108 mov $MEM_BTX,%di # %di -> end of BTX at 110 add %cx,%di 112 dec %di
|
/freebsd-current/sys/dev/uart/ |
H A D | uart_dev_lowrisc.c | 194 struct uart_devinfo *di; local 198 di = sc->sc_sysdev; 199 lowrisc_uart_init(bas, di->baudrate, di->databits, di->stopbits, 200 di->parity);
|
/freebsd-current/contrib/libfido2/src/ |
H A D | dev.c | 433 fido_dev_new_with_info(const fido_dev_info_t *di) argument 441 if (di->io.open == NULL || di->io.close == NULL || 442 di->io.read == NULL || di->io.write == NULL) { 449 dev->io = di->io; 450 dev->io_own = di->transport.tx != NULL || di->transport.rx != NULL; 451 dev->transport = di->transport; 455 if ((dev->path = strdup(di [all...] |
H A D | winhello.c | 893 fido_dev_info_t *di; local 906 di = &devlist[*olen]; 907 memset(di, 0, sizeof(*di)); 908 di->path = strdup(FIDO_WINHELLO_PATH); 909 di->manufacturer = strdup("Microsoft Corporation"); 910 di->product = strdup("Windows Hello"); 911 di->vendor_id = VENDORID; 912 di->product_id = PRODID; 913 if (di [all...] |
/freebsd-current/stand/i386/boot0/ |
H A D | boot0.S | 183 movw $start,%di # Destination 188 * After the code, (i.e. at %di+0, 0x800) create a partition entry, 193 movw %di,%bp # Address variables 197 incb -0xe(%di) # Set the S field to 1 266 * Scan the table of bootable ids, which starts at %di and has 267 * length TLEN. On a match, %di points to the element following the 272 movw $bootable_ids,%di # Lookup tables 278 * The byte at $(TLEN-1)(%di) contains the offset of the description 279 * string from %di, so we add the number and print the string. 281 addw $(TLEN-1), %di # Adjus [all...] |
/freebsd-current/sys/arm/arm/ |
H A D | gic_fdt.c | 201 struct arm_gic_devinfo *di; local 203 di = device_get_ivars(child); 204 KASSERT(di != NULL, ("gic_fdt_get_resource_list: No devinfo")); 206 return (&di->rl); 313 struct arm_gic_devinfo *di; local 315 di = device_get_ivars(child); 317 return (&di->obdinfo);
|
H A D | gic_acpi.c | 259 struct gic_acpi_devinfo *di; local 261 di = device_get_ivars(child); 262 KASSERT(di != NULL, ("gic_acpi_get_resource_list: No devinfo")); 264 return (&di->rl);
|
/freebsd-current/contrib/libfido2/fuzz/ |
H A D | fuzz_pcsc.c | 172 const fido_dev_info_t *di = fido_dev_info_ptr(devlist, i); local 173 consume_str(fido_dev_info_path(di)); 174 consume_str(fido_dev_info_manufacturer_string(di)); 175 consume_str(fido_dev_info_product_string(di)); 176 vendor_id = fido_dev_info_vendor(di); 177 product_id = fido_dev_info_product(di);
|
/freebsd-current/sys/sys/ |
H A D | conf.h | 132 typedef int dumper_start_t(struct dumperinfo *di, void *key, uint32_t keysize); 133 typedef int dumper_hdr_t(struct dumperinfo *di, struct kerneldumpheader *kdh); 382 void dumper_destroy(struct dumperinfo *di); 391 int dump_start(struct dumperinfo *di, struct kerneldumpheader *kdh); 394 int dump_finish(struct dumperinfo *di, struct kerneldumpheader *kdh); 395 void dump_init_header(const struct dumperinfo *di, struct kerneldumpheader *kdh,
|
/freebsd-current/usr.sbin/iostat/ |
H A D | iostat.c | 736 int di; local 739 di = dev_select[i].position; 741 cur.dinfo->devices[di].device_name, 742 cur.dinfo->devices[di].unit_number); 824 int di; local 830 di = dev_select[dn].position; 832 if (devstat_compute_statistics(&cur.dinfo->devices[di], 833 havelast ? &last.dinfo->devices[di] : NULL, etime, 868 int block_size = cur.dinfo->devices[di].block_size; 875 cur.dinfo->devices[di] [all...] |
/freebsd-current/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-x86.pl | 73 my ($ai,$bi,$ci,$di,$i)=@_; 74 my ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+1)&3),($ai,$bi,$ci,$di)); # next 75 my ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-1)&3),($ai,$bi,$ci,$di)); # previous 110 &mov ($d_,&DWP(4*$dn,"esp")) if ($di!=$dn); 120 &mov (&DWP(4*$di,"esp"),$d) if ($di!=$dn); 121 &mov ($d_,$d) if ($di==$dn); 381 my ($ai,$bi,$ci,$di,$i)=@_; 382 my ($an,$bn,$cn,$dn)=map(($_&~3)+(($_+1)&3),($ai,$bi,$ci,$di)); # next 383 my ($ap,$bp,$cp,$dp)=map(($_&~3)+(($_-1)&3),($ai,$bi,$ci,$di)); # previou [all...] |
/freebsd-current/sys/net/route/ |
H A D | route_ctl.c | 1430 struct rt_delinfo *di = (struct rt_delinfo *)arg; local 1433 if (rt_delete_conditional(di->rnh, rt, di->prio, 1434 di->filter_f, di->filter_arg, &di->rc) != 0) 1444 if (di->rc.rc_cmd == RTM_DELETE) { 1446 rt->rt_chain = di->head; 1447 di->head = rt; 1454 nhop_free_any(di 1483 struct rt_delinfo di = { local [all...] |
/freebsd-current/sys/dev/dpaa/ |
H A D | portals_common.c | 51 dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu) argument 62 res = &di->di_res; 132 err = bus_generic_config_intr(dev, rle->start, di->di_intr_trig, 133 di->di_intr_pol);
|
/freebsd-current/sys/dev/firmware/xilinx/ |
H A D | zynqmp_firmware.c | 396 struct simplebus_devinfo *di) 402 if (di == NULL) 405 ndi = di; 407 if (di == NULL) 422 const char *name, int unit, struct simplebus_devinfo *di) 427 if ((ndi = zynqmp_firmware_setup_dinfo(dev, node, di)) == NULL) 435 if (di == NULL) 395 zynqmp_firmware_setup_dinfo(device_t dev, phandle_t node, struct simplebus_devinfo *di) argument 421 zynqmp_firmware_add_device(device_t dev, phandle_t node, u_int order, const char *name, int unit, struct simplebus_devinfo *di) argument
|