| /src/sys/compat/linux32/common/ | 
| linux32_sysinfo.c | 71 	struct linux32_sysinfo si;  local in function:linux32_sys_sysinfo 75 	memset(&si, 0, sizeof(si));
 76 	si.uptime = time_uptime;
 78 	si.loads[0] = la->ldavg[0] * LINUX_SYSINFO_LOADS_SCALE / la->fscale;
 79 	si.loads[1] = la->ldavg[1] * LINUX_SYSINFO_LOADS_SCALE / la->fscale;
 80 	si.loads[2] = la->ldavg[2] * LINUX_SYSINFO_LOADS_SCALE / la->fscale;
 81 	si.totalram = ctob((u_long)physmem);
 83 	si.freeram = (u_long)uvm_availmem(true) * uvmexp.pagesize;
 88 	si.sharedram = 0;	/* XXX *
 [all...]
 | 
| /src/tests/usr.bin/xlint/lint1/ | 
| msg_011.c | 12 		signed int si: 3;  member in struct:example::__anonfa862dfd0108 
 | 
| msg_118.c | 9 int si;  variable in typeref:typename:int 17 	si <<= si;
 18 	si <<= ui;
 20 	si <<= sl;
 22 	si <<= ul;
 24 	si = si << si;
 25 	si = si << ui
 [all...]
 | 
| msg_118_ilp32.c | 9 int si;  variable in typeref:typename:int 22 	si <<= si;
 23 	si <<= ui;
 24 	si <<= sl;
 25 	si <<= ul;
 27 	si = si << si;
 28 	si = si << ui
 [all...]
 | 
| /src/tests/lib/libc/sys/ | 
| t_wait.c | 57 	siginfo_t si;  local in function:ATF_TC_BODY 60 	ATF_REQUIRE(wait6(P_ALL, 0, &st, 0, &wru, &si) == -1
 73 	siginfo_t si;  local in function:ATF_TC_BODY
 86 		ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid);
 88 		ATF_REQUIRE(si.si_status == 0x5a5a5a5a);
 89 		ATF_REQUIRE(si.si_pid == pid);
 90 		ATF_REQUIRE(si.si_uid == getuid());
 91 		ATF_REQUIRE(si.si_code == CLD_EXITED);
 92 		printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime,
 93 		    (uintmax_t)si.si_utime)
 107  siginfo_t si;  local in function:ATF_TC_BODY
 142  siginfo_t si;  local in function:ATF_TC_BODY
 179  siginfo_t si;  local in function:ATF_TC_BODY
 245  siginfo_t si;  local in function:ATF_TC_BODY
 [all...]
 | 
| /src/lib/libm/src/ | 
| s_nan.c | 67 	int si;		/* index into s */  local in function:_scan_nan 77 	for (si = 0; isxdigit((unsigned char)s[si]); si++)
 86 		if (--si < 0)
 88 		words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
 
 | 
| /src/sys/arch/sparc/stand/common/ | 
| promdev.h | 36 	struct	saioreq *si;		/* Oldmon IO request */  member in struct:promdata 
 | 
| /src/usr.sbin/bootp/common/ | 
| hwaddr.c | 75 	struct sockaddr_in *si;  local in function:setarp 86 	si = (struct sockaddr_in *) &arpreq.arp_pa;
 87 	si->sin_addr = *ia;
 
 | 
| /src/lib/libc/rpc/ | 
| svc_generic.c | 207 	struct __rpc_sockinfo si;  local in function:svc_tli_create 222 		__rpc_nconf2sockinfo(nconf, &si);
 228 		if (!__rpc_fd2sockinfo(fd, &si)) {
 242 				ss.ss_family = si.si_af;
 243 				ss.ss_len = si.si_alen;
 245 				    (socklen_t)si.si_alen) < 0) {
 251 			if (si.si_socktype != SOCK_DGRAM &&
 260 			    (socklen_t)si.si_alen) < 0) {
 265 			if (si.si_socktype != SOCK_DGRAM &&
 276 	switch (si.si_socktype)
 [all...]
 | 
| clnt_generic.c | 303 	struct __rpc_sockinfo si;  local in function:clnt_tli_create 321 		if (!__rpc_fd2sockinfo(fd, &si))
 326 		if (!__rpc_fd2sockinfo(fd, &si))
 328 		servtype = __rpc_socktype2seman(si.si_socktype);
 336 	if (si.si_af != ((struct sockaddr *)svcaddr->buf)->sa_family) {
 346 		(void)__rpc_setnodelay(fd, &si);
 
 | 
| /src/sys/arch/hpc/stand/hpcboot/ | 
| arch.cpp | 124 	SYSTEM_INFO si;  local in function:Architecture::systemInfo 147 	GetSystemInfo(&si);
 151 	    si.wProcessorArchitecture));
 153 	    si.wProcessorLevel));
 155 	    si.wProcessorRevision));
 158 	    si.dwPageSize));
 160 	    si.dwAllocationGranularity));
 162 	    si.dwProcessorType));
 
 | 
| /src/sys/arch/sun68k/stand/libsa/ | 
| dev_disk.c | 60 	struct saioreq *si;  local in function:disk_open 74 	si = &disk_ioreq;
 81 		si->si_boottab = bp->bootDevice;
 82 		si->si_ctlr = bp->ctlrNum;
 83 		si->si_unit = bp->unitNum;
 84 		si->si_boff = bp->partNum;
 85 		if ((error = prom_iopen(si)) != 0)
 90 	f->f_devdata = si;
 97 	struct saioreq *si;  local in function:disk_close
 104 	si = f->f_devdata
 117  struct saioreq *si;  local in function:disk_strategy
 [all...]
 | 
| netif_sun.c | 93 	struct saioreq *si;  local in function:netif_init 101 	si = &dd->dd_si;
 102 	memset(si, 0, sizeof(*si));
 104 	si->si_boottab = bp->bootDevice;
 105 	si->si_ctlr = bp->ctlrNum;
 106 	si->si_unit = bp->unitNum;
 107 	si->si_boff = bp->partNum;
 118 	if ((error = prom_iopen(si)) != 0) {
 123 	if (si->si_sif == NULL)
 159  struct saioreq *si;  local in function:netif_fini
 279  struct saioreq *si;  local in function:netif_put
 345  struct saioreq *si;  local in function:netif_get
 [all...]
 | 
| /src/sys/arch/sun68k/stand/tapeboot/ | 
| dev_tape.c | 78 	struct saioreq *si;  local in function:tape_open 103 	si = &tape_ioreq;
 104 	memset(si, 0, sizeof(*si));
 107 	si->si_boottab = bp->bootDevice;
 108 	si->si_ctlr = bp->ctlrNum;
 109 	si->si_unit = bp->unitNum;
 110 	si->si_boff = part; 	/* default = bp->partNum + 1; */
 112 	error = prom_iopen(si);
 119 		f->f_devdata = si;
 127  struct saioreq *si;  local in function:tape_close
 143  struct saioreq *si;  local in function:tape_strategy
 [all...]
 | 
| /src/sys/compat/netbsd32/ | 
| netbsd32_wait.c | 96 	siginfo_t si, *sip;  local in function:netbsd32_wait6 106 		sip = &si;
 
 | 
| /src/sys/external/bsd/sljit/dist/sljit_src/ | 
| sljitUtils.c | 254 	SYSTEM_INFO si;  local in function:sljit_allocate_stack 263 		GetSystemInfo(&si);
 264 		sljit_page_align = si.dwPageSize - 1;
 
 | 
| /src/usr.bin/eject/ | 
| am_glue.c | 63 	struct sockaddr_in si;  local in function:ping_pmap 67 	(void)memset(&si, 0, sizeof(si));
 68 	si.sin_family = AF_INET;
 69 	si.sin_len = sizeof(si);
 70 	si.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
 71 	si.sin_port = htons(PMAPPORT);
 73 	if ((cl = clntudp_bufcreate(&si, PMAPPROG, PMAPVERS, pingtv,
 
 | 
| /src/lib/libc/gdtoa/ | 
| dmisc.c | 122 	ULong si, z, zs;  local in function:quorem 156 			si = *sx++;
 157 			ys = (si & 0xffff) * q + carry;
 158 			zs = (si >> 16) * q + (ys >> 16);
 199 			si = *sx++;
 200 			ys = (si & 0xffff) + carry;
 201 			zs = (si >> 16) + (ys >> 16);
 
 | 
| /src/sys/dev/scsipi/ | 
| scsipi_ioctl.c | 87 	struct scsi_ioctl *si;  local in function:si_get 89 	si = malloc(sizeof(struct scsi_ioctl), M_TEMP, M_WAITOK|M_ZERO);
 90 	buf_init(&si->si_bp);
 92 	LIST_INSERT_HEAD(&si_head, si, si_list);
 94 	return (si);
 98 si_free(struct scsi_ioctl *si)
 102 	LIST_REMOVE(si, si_list);
 104 	buf_destroy(&si->si_bp);
 105 	free(si, M_TEMP);
 111 	struct scsi_ioctl *si;  local in function:si_find
 133  struct scsi_ioctl *si;  local in function:scsipi_user_done
 234  struct scsi_ioctl *si;  local in function:scsistrategy
 330  struct scsi_ioctl *si;  local in function:scsipi_do_ioctl
 [all...]
 | 
| /src/usr.bin/xlint/lint1/ | 
| emit1.c | 349 				int64_t si = arg->u.value.u.integer;  local in function:outcall 350 				if (si == 0)
 353 				else if (!msb(si, t))
 
 | 
| /src/sys/arch/sun3/dev/ | 
| si.c | 1 /*	$NetBSD: si.c,v 1.65 2024/12/20 23:52:00 tsutsui Exp $	*/ 73 __KERNEL_RCSID(0, "$NetBSD: si.c,v 1.65 2024/12/20 23:52:00 tsutsui Exp $");
 175 	 *  Initialize si board itself.
 204 	volatile struct si_regs *si = sc->sc_regs;  local in function:si_intr
 212 	csr = si->si_csr;
 302 	panic("si: no free DMA handles.");
 383 	volatile struct si_regs *si = sc->sc_regs;  local in function:si_dma_poll
 399 		if (si->si_csr & CSR_MASK)
 402 			printf("si: DMA timeout (while polling)\n");
 414 		printf("%s: done, csr=0x%x\n", __func__, si->si_csr)
 [all...]
 | 
| si_obio.c | 221 	volatile struct si_regs *si = sc->sc_regs;  local in function:si_obio_reset 235 	si->si_csr = 0;
 237 	si->si_csr = SI_CSR_FIFO_RES | SI_CSR_SCSI_RES | SI_CSR_INTR_EN;
 239 	si->fifo_count = 0;
 243 si_obio_udc_write(volatile struct si_regs *si, int regnum, int value)
 246 	si->udc_addr = regnum;
 248 	si->udc_data = value;
 253 si_obio_udc_read(volatile struct si_regs *si, int regnum)
 257 	si->udc_addr = regnum;
 259 	value = si->udc_data
 281  volatile struct si_regs *si = sc->sc_regs;  local in function:si_obio_dma_setup
 380  volatile struct si_regs *si = sc->sc_regs;  local in function:si_obio_dma_start
 439  volatile struct si_regs *si = sc->sc_regs;  local in function:si_obio_dma_stop
 [all...]
 | 
| si_vme.c | 148 	 * it is an "sc" (Sun2) or "si" (Sun3) SCSI board.  This can 150 	 * 4K bytes in VME space but the "si" board occupies 2K bytes.
 152 	/* Note: the "si" board should NOT respond here. */
 235 	volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_reset
 249 	si->si_csr = 0;
 251 	si->si_csr = SI_CSR_FIFO_RES | SI_CSR_SCSI_RES | SI_CSR_INTR_EN;
 253 	si->fifo_count = 0;
 256 	si->dma_addrh = 0;
 257 	si->dma_addrl = 0;
 258 	si->dma_counth = 0
 275  volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_intr_on
 300  volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_intr_off
 322  volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_dma_setup
 385  volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_dma_start
 447  volatile struct si_regs *si = sc->sc_regs;  local in function:si_vme_dma_stop
 [all...]
 | 
| /src/lib/libc/stdlib/ | 
| radixsort.c | 71 	int sn, si;  member in struct:__anon23be511e0108 143 #define pop(a, n, i)	a = (--sp)->sa, n = sp->sn, i = sp->si
 144 #define push(a, n, i)	sp->sa = a, sp->sn = n, (sp++)->si = i
 
 | 
| /src/usr.bin/sort/ | 
| radix_sort.c | 58 	int si;			/* index into data for compare */  member in struct:__anon199a33e40108 66 #define pop(a, n, i)	a = (--sp)->sa, n = sp->sn, i = sp->si
 67 #define push(a, n, i)	sp->sa = a, sp->sn = n, (sp++)->si = i
 
 |