Searched refs:sd (Results 76 - 100 of 183) sorted by relevance

12345678

/openbsd-current/usr.bin/systat/
H A Dcache.c138 double sd, td, r; local
155 sd = COUNTER(st->bytes[0]) + COUNTER(st->bytes[1]) - old->bytes;
159 r = sd/td;
/openbsd-current/usr.sbin/ldpd/
H A Dpfkey.c51 pfkey_send(int sd, uint8_t satype, uint8_t mtype, uint8_t dir, argument
238 n = writev(sd, iov, iov_cnt);
250 pfkey_read(int sd, struct sadb_msg *h) argument
254 if (recv(sd, &hdr, sizeof(hdr), MSG_PEEK) != sizeof(hdr)) {
270 if (read(sd, &hdr, sizeof(hdr)) == -1) {
281 pfkey_reply(int sd, uint32_t *spip) argument
291 rv = pfkey_read(sd, &hdr);
310 if (read(sd, data, len) != len) {
/openbsd-current/sys/dev/ic/
H A Dhme.c748 struct hme_sxd *sd; local
753 sd = &sc->sc_txd[ri];
766 if (sd->sd_mbuf != NULL) {
767 bus_dmamap_sync(sc->sc_dmatag, sd->sd_map,
768 0, sd->sd_map->dm_mapsize, BUS_DMASYNC_POSTWRITE);
769 bus_dmamap_unload(sc->sc_dmatag, sd->sd_map);
770 m_freem(sd->sd_mbuf);
771 sd->sd_mbuf = NULL;
776 sd = sc->sc_txd;
778 sd
803 struct hme_sxd *sd; local
1256 struct hme_sxd *sd; local
[all...]
H A Dgem.c534 struct gem_sxd *sd; local
564 sd = &sc->sc_txd[i];
565 if (sd->sd_mbuf != NULL) {
566 bus_dmamap_sync(sc->sc_dmatag, sd->sd_map, 0,
567 sd->sd_map->dm_mapsize, BUS_DMASYNC_POSTWRITE);
568 bus_dmamap_unload(sc->sc_dmatag, sd->sd_map);
569 m_freem(sd->sd_mbuf);
570 sd->sd_mbuf = NULL;
1649 struct gem_sxd *sd; local
1656 sd
1686 gem_load_mbuf(struct gem_softc *sc, struct gem_sxd *sd, struct mbuf *m) argument
1714 struct gem_sxd *sd; local
[all...]
H A Dtwe.c752 struct scsi_sense_data sd; local
785 bzero(&sd, sizeof sd);
786 sd.error_code = SSD_ERRCODE_CURRENT;
787 sd.segment = 0;
788 sd.flags = SKEY_NO_SENSE;
789 *(u_int32_t*)sd.info = htole32(0);
790 sd.extra_len = 0;
791 scsi_copy_internal_data(xs, &sd, sizeof(sd));
[all...]
H A Dcac.c566 struct scsi_sense_data sd; local
594 bzero(&sd, sizeof sd);
595 sd.error_code = SSD_ERRCODE_CURRENT;
596 sd.segment = 0;
597 sd.flags = SKEY_NO_SENSE;
598 *(u_int32_t*)sd.info = htole32(0);
599 sd.extra_len = 0;
600 scsi_copy_internal_data(xs, &sd, sizeof(sd));
[all...]
/openbsd-current/games/tetris/
H A Dscores.c94 int sd, mint, i; local
109 sd = open(scorepath, mint, 0666);
110 if (sd == -1) {
117 if ((sf = fdopen(sd, mstr)) == NULL)
/openbsd-current/sys/arch/mips64/include/
H A Dasm.h148 #define REG_S sd
169 #define PTR_S sd
195 sd ra, 56(sp); \
196 sd gp, 48(sp); \
/openbsd-current/usr.sbin/vmd/
H A Dloadfile_elf.c142 * sd: Address of the entry to initialize
151 setsegment(struct mem_segment_descriptor *sd, uint32_t base, size_t limit, argument
154 sd->sd_lolimit = (int)limit;
155 sd->sd_lobase = (int)base;
156 sd->sd_type = type;
157 sd->sd_dpl = dpl;
158 sd->sd_p = 1;
159 sd->sd_hilimit = (int)limit >> 16;
160 sd->sd_avl = 0;
161 sd
179 struct mem_segment_descriptor *sd; local
[all...]
/openbsd-current/lib/libc/asr/
H A Dgetnameinfo_async.c213 struct servent_data sd; local
227 memset(&sd, 0, sizeof (sd));
229 "udp" : "tcp", &s, &sd);
232 endservent_r(&sd);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1497 struct scaler_data *sd = &prev_odm_pipe->plane_res.scl_data; local
1501 sd->h_active /= 2;
1504 if (sd->recout.x + 16 >= sd->h_active)
1506 new_width = sd->h_active - sd->recout.x;
1507 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int(
1508 sd->ratios.horz, sd->recout.width - new_width));
1509 sd
[all...]
/openbsd-current/sys/arch/amd64/amd64/
H A Dmachdep.c1266 set_mem_segment(struct mem_segment_descriptor *sd, void *base, size_t limit, argument
1269 sd->sd_lolimit = (unsigned)limit;
1270 sd->sd_lobase = (unsigned long)base;
1271 sd->sd_type = type;
1272 sd->sd_dpl = dpl;
1273 sd->sd_p = 1;
1274 sd->sd_hilimit = (unsigned)limit >> 16;
1275 sd->sd_avl = 0;
1276 sd->sd_long = is64;
1277 sd
1283 set_sys_segment(struct sys_segment_descriptor *sd, void *base, size_t limit, int type, int dpl, int gran) argument
[all...]
/openbsd-current/sys/arch/powerpc64/powerpc64/
H A Dconf.c46 #include "sd.h"
54 bdev_disk_init(NSD,sd), /* 3: SCSI disk */
136 cdev_disk_init(NSD,sd), /* 26: SCSI disk */
264 /* 26 */ 3, /* sd */
/openbsd-current/sys/arch/hppa/hppa/
H A Dconf.c45 #include "sd.h"
67 bdev_disk_init(NSD,sd), /* 4: SCSI disk */
136 cdev_disk_init(NSD,sd), /* 10: SCSI disk */
223 /* 10 */ 4, /* sd */
/openbsd-current/sys/arch/luna88k/luna88k/
H A Dconf.c51 #include "sd.h"
83 bdev_disk_init(NSD,sd), /* 4: SCSI disk */
111 cdev_disk_init(NSD,sd), /* 8: SCSI disk */
216 /* 8 */ 4, /* sd */
/openbsd-current/sys/arch/alpha/alpha/
H A Dconf.c49 #include "sd.h"
66 bdev_disk_init(NSD,sd), /* 8: SCSI disk */
141 cdev_disk_init(NSD,sd), /* 8: SCSI disk */
262 /* 8 */ 8, /* sd */
/openbsd-current/gnu/llvm/clang/docs/tools/
H A Dgenerate_formatted_state.py93 if any(sd == subdir for sd in skipped_dirs):
/openbsd-current/sys/arch/macppc/macppc/
H A Dconf.c44 #include "sd.h"
58 bdev_disk_init(NSD,sd), /* 2 SCSI Disk */
138 cdev_disk_init(NSD,sd), /* 8: SCSI disk */
276 /* 8 */ 2, /* sd */
/openbsd-current/sys/arch/loongson/loongson/
H A Dconf.c54 #include "sd.h"
63 bdev_disk_init(NSD,sd), /* 0: SCSI disk */
144 cdev_disk_init(NSD,sd), /* 9: SCSI disk */
286 /* 9 */ 0, /* sd */
/openbsd-current/sys/arch/octeon/octeon/
H A Dlocore.S116 sd t1, (t0)
133 sd v0, -8(t0) # store to randomdata
144 sd zero, -8(t0)
/openbsd-current/sys/dev/ofw/
H A Dofw_misc.c353 sfp_register(struct sfp_device *sd) argument
355 sd->sd_phandle = OF_getpropint(sd->sd_node, "phandle", 0);
356 if (sd->sd_phandle == 0)
359 LIST_INSERT_HEAD(&sfp_devices, sd, sd_list);
365 struct sfp_device *sd; local
370 LIST_FOREACH(sd, &sfp_devices, sd_list) {
371 if (sd->sd_phandle == phandle)
372 return sd->sd_enable(sd
393 struct sfp_device *sd; local
[all...]
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_uvd.c836 * @sd: number of SD streams
842 unsigned *sd, unsigned *hd)
846 *sd = 0;
856 ++(*sd);
867 radeon_uvd_count_handles(rdev, &rdev->pm.dpm.sd,
887 unsigned hd = 0, sd = 0; local
888 radeon_uvd_count_handles(rdev, &sd, &hd);
889 if ((rdev->pm.dpm.sd != sd) ||
891 rdev->pm.dpm.sd
841 radeon_uvd_count_handles(struct radeon_device *rdev, unsigned *sd, unsigned *hd) argument
[all...]
/openbsd-current/sys/arch/i386/i386/
H A Dmachdep.c2881 curcpu()->ci_gdt[GUCODE_SEL].sd = pmap->pm_codeseg;
2882 curcpu()->ci_gdt[GUFS_SEL].sd = pcb->pcb_threadsegs[TSEG_FS];
2883 curcpu()->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS];
2982 setsegment(struct segment_descriptor *sd, void *base, size_t limit, int type, argument
2986 sd->sd_lolimit = (int)limit;
2987 sd->sd_lobase = (int)base;
2988 sd->sd_type = type;
2989 sd->sd_dpl = dpl;
2990 sd->sd_p = 1;
2991 sd
[all...]
/openbsd-current/gnu/usr.bin/texinfo/makeinfo/
H A Dlang.h49 sa, sd, sg, sh, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, enumerator in enum:__anon7400
/openbsd-current/usr.sbin/bgpd/
H A Dpfkey.c71 pfkey_send(int sd, uint8_t satype, uint8_t mtype, uint8_t dir, argument
408 n = writev(sd, iov, iov_cnt);
420 pfkey_read(int sd, struct sadb_msg *h) argument
424 if (recv(sd, &hdr, sizeof(hdr), MSG_PEEK) != sizeof(hdr)) {
440 if (read(sd, &hdr, sizeof(hdr)) == -1) {
451 pfkey_reply(int sd, uint32_t *spi) argument
461 rv = pfkey_read(sd, &hdr);
473 if (read(sd, &hdr, sizeof(hdr)) == -1)
484 if (read(sd, data, len) != len) {

Completed in 350 milliseconds

12345678