/src/sys/compat/linux/common/ |
linux_oldselect.c | 64 struct linux_oldselect ls; local in function:linux_sys_oldselect 67 if ((error = copyin(SCARG(uap, lsp), &ls, sizeof(ls)))) 70 return linux_select1(l, retval, ls.nfds, ls.readfds, ls.writefds, 71 ls.exceptfds, ls.timeout);
|
linux_sysctl.c | 166 struct linux___sysctl ls; local in function:linux_sys___sysctl 173 if ((error = copyin(SCARG(uap, lsp), &ls, sizeof(ls)))) 180 if (ls.oldlenp != NULL) { 181 error = copyin(ls.oldlenp, &oldlen, sizeof(oldlen)); 191 if (ls.nlen > CTL_MAXNAME || ls.nlen < 1) 193 error = copyin(ls.name, &name, ls.nlen * sizeof(int)); 197 ktrmib(name, ls.nlen) [all...] |
linux_ipc.c | 156 bsd_to_linux_semid_ds(struct semid_ds *bs, struct linux_semid_ds *ls) 159 memset(ls, 0, sizeof *ls); 160 bsd_to_linux_ipc_perm(&bs->sem_perm, &ls->l_sem_perm); 161 ls->l_sem_otime = bs->sem_otime; 162 ls->l_sem_ctime = bs->sem_ctime; 163 ls->l_sem_nsems = bs->sem_nsems; 167 bsd_to_linux_semid64_ds(struct semid_ds *bs, struct linux_semid64_ds *ls) 170 memset(ls, 0, sizeof *ls); 572 struct linux_shmid_ds ls; local in function:linux_sys_shmctl [all...] |
/src/sys/stand/ |
ls.c | 1 /* $NetBSD: ls.c,v 1.17 2011/09/27 01:08:55 christos Exp $ */ 40 static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/11/93"; 42 __RCSID("$NetBSD: ls.c,v 1.17 2011/09/27 01:08:55 christos Exp $"); 55 static void ls(int); 64 if ((fd = getfile("ls", 0)) == -1) 68 printf("ls: cannot stat\n"); 73 printf("ls: not a directory\n"); 77 printf("ls: zero length directory\n"); 80 ls(fd); 86 ls(register int fd function in typeref:typename:void [all...] |
/src/tests/lib/librumpclient/ |
t_fd.c | 106 int ls; local in function:ATF_TC_BODY 117 RL(ls = rump_sys_socket(PF_INET, SOCK_STREAM, 0)); 119 RL(rump_sys_fcntl(ls, F_SETOWN, rump_sys_getpid())); 120 RL(fl = rump_sys_fcntl(ls, F_GETFL)); 121 RL(rump_sys_fcntl(ls, F_SETFL, fl | O_ASYNC)); 127 RL(rump_sys_bind(ls, (struct sockaddr *)&sin, sizeof(sin))); 128 RL(rump_sys_listen(ls, 5));
|
/src/sys/arch/alpha/pci/ |
dwlpx.c | 79 unsigned long ls; local in function:dwlpxmatch 85 ls = DWLPX_SYSBASE1(ka->ka_node, ka->ka_hosenum); 91 if (badaddr(KV(PCIA_CTL(1) + ls), sizeof (ctl)) != 0) { 186 unsigned long vec, ls = DWLPX_SYSBASE(sc); local in function:dwlpx_init 198 if (badaddr(KV(PCIA_CTL(sc->dwlpx_nhpc) + ls), 218 ccp->cc_sysbase = ls;
|
/src/sys/lib/libsa/ |
ls.c | 1 /* $NetBSD: ls.c,v 1.5 2014/03/20 03:13:18 christos Exp $ */ 88 #include "ls.h" 93 ls(const char *path) function in typeref:typename:void 126 printf("ls: %s\n", strerror(errno)); 159 printf("no ls support for this file system\n"); 226 printf("The ls command is not currently supported for %s\n", name);
|
stand.h | 119 __compactcall void (*ls)(struct open_file *, const char *); member in struct:fs_ops 152 #define FS_LS(fs) ((fs)->ls) 278 void ls(const char *);
|
/src/sys/arch/vax/uba/ |
qvms.c | 126 struct qvaux_linestate *ls; local in function:qvms_attach 131 ls = &qvaux->sc_qvaux[daa->daa_line]; 132 qvms->qvms_ls = ls;
|
qvkbd.c | 158 struct qvaux_linestate *ls; local in function:qvkbd_attach 165 ls = &qvaux->sc_qvaux[daa->daa_line]; 174 qvi->qvi_ks.attmt.cookie = ls; 176 qvi->qvi_ls = ls; 203 qvkbd_cnattach(struct qvaux_linestate *ls) 207 qvkbd_console_internal.qvi_ks.attmt.cookie = ls; 209 qvkbd_console_internal.qvi_ls = ls; 229 struct qvaux_linestate *ls = v; local in function:qvkbd_sendchar 233 qvauxputc(ls, c);
|
/src/sys/netbt/ |
rfcomm_dlc.c | 75 struct rfcomm_session *ls; local in function:rfcomm_dlc_newconn 93 LIST_FOREACH(ls, &rfcomm_session_listen, rs_next) { 94 l2cap_sockaddr_pcb(ls->rs_l2cap, &addr); 100 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) { 107 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) {
|
/src/sys/dev/dec/ |
dzms.c | 123 struct dz_linestate *ls; local in function:dzms_attach 128 ls = &dz->sc_dz[daa->daa_line]; 129 dzms->dzms_ls = ls;
|
dzkbd.c | 152 struct dz_linestate *ls; local in function:dzkbd_attach 159 ls = &dz->sc_dz[daa->daa_line]; 169 dzi->dzi_ks.attmt.cookie = ls; 170 dzi->dzi_ls = ls; 207 dzkbd_cnattach(struct dz_linestate *ls) 211 dzkbd_console_internal.dzi_ks.attmt.cookie = ls; 213 dzkbd_console_internal.dzi_ls = ls; 233 struct dz_linestate *ls = v; local in function:dzkbd_sendchar 237 dzputc(ls, c);
|
/src/sys/arch/alpha/alpha/ |
dec_6600.c | 234 struct ev6_logout_sys *ls = local in function:dec_6600_mcheck_sys 239 IPRINTF(indent, FMT, "Software Error Summary Flags", ls->flags); 241 IPRINTF(indent, FMT, "CPU Device Interrupt Requests", ls->dir); 242 tsc_print_dir(indent + 1, ls->dir); 244 IPRINTF(indent, FMT, "Cchip Miscellaneous Register", ls->misc); 245 tsc_print_misc(indent + 1, ls->misc); 247 IPRINTF(indent, FMT, "Pchip 0 Error Register", ls->p0_error); 248 if (ls->flags & 0x5) 249 tsp_print_error(indent + 1, ls->p0_error); 251 IPRINTF(indent, FMT, "Pchip 1 Error Register", ls->p1_error) [all...] |
/src/libexec/ld.elf_so/ |
expand.c | 140 size_t ls = expand(dp, execname, i, ds); local in function:_rtld_expand_path 141 if (ls >= ds) 143 ds -= ls; 144 dp += ls;
|
/src/games/sail/ |
globals.c | 576 struct ship *ls; /* &cc->ship[cc->vessels] */ variable in typeref:struct:ship *
|
/src/sys/dev/usb/ |
uxrcom.c | 245 usb_cdc_line_state_t ls; local in function:uxrcom_param 255 USETDW(ls.dwDTERate, t->c_ospeed); 257 ls.bCharFormat = UCDC_STOP_BIT_2; 259 ls.bCharFormat = UCDC_STOP_BIT_1; 262 ls.bParityType = UCDC_PARITY_ODD; 264 ls.bParityType = UCDC_PARITY_EVEN; 266 ls.bParityType = UCDC_PARITY_NONE; 269 ls.bDataBits = 5; 272 ls.bDataBits = 6; 275 ls.bDataBits = 7 [all...] |
umodem_common.c | 466 usb_cdc_line_state_t ls; local in function:umodem_param 473 USETDW(ls.dwDTERate, t->c_ospeed); 475 ls.bCharFormat = UCDC_STOP_BIT_2; 477 ls.bCharFormat = UCDC_STOP_BIT_1; 480 ls.bParityType = UCDC_PARITY_ODD; 482 ls.bParityType = UCDC_PARITY_EVEN; 484 ls.bParityType = UCDC_PARITY_NONE; 487 ls.bDataBits = 5; 490 ls.bDataBits = 6; 493 ls.bDataBits = 7 568 int ls; local in function:umodem_set_line_state [all...] |
/src/usr.bin/uniq/ |
uniq.c | 205 size_t ls = *linesize; local in function:skip 207 for (nfields = numfields, infield = 0; nfields && *str; ++str, --ls) 215 for (nchars = numchars; nchars-- && *str; ++str, --ls) 217 *linesize = ls;
|
/src/sys/dev/pci/ |
ppb.c | 188 u_int ls = __SHIFTOUT(reg, PCIE_LCSR_LINKSPEED); local in function:ppb_print_pcie 190 if (lw != mlw || ls != mls) { 191 if (ls < __arraycount(pcie_linkspeed_strings)) { 194 lw, pcie_linkspeed_strings[ls]); 198 lw, (ls * 25) / 10, (ls * 25) % 10);
|
/src/sys/arch/atari/stand/tostools/aptck/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 248 ls[0] = '\0'; 251 snprintf(ls, sizeof(ls), " lun %d", l); 254 dd->fname = strbd(bs, us, ls, NULL);
|
/src/sys/arch/atari/stand/tostools/libtos/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 248 ls[0] = '\0'; 251 snprintf(ls, sizeof(ls), " lun %d", l); 254 dd->fname = strbd(bs, us, ls, NULL);
|
/src/sys/compat/linux32/common/ |
linux32_ipccall.c | 291 struct linux32_semid_ds ls; local in function:linux32_semctl 316 error = copyin(NETBSD32PTR64(lsem.l_buf), &ls, 317 sizeof ls); 318 linux32_to_bsd_semid_ds(&ls, &bs); 362 bsd_to_linux32_semid_ds(&bs, &ls); 363 error = copyout(&ls, NETBSD32PTR64(lsem.l_buf), sizeof ls); 664 struct linux32_shmid_ds ls; local in function:linux32_shmctl 683 bsd_to_linux32_shmid_ds(&bs, &ls); 684 error = copyout(&ls, SCARG_P32(uap, ptr), sizeof ls) [all...] |
linux32_signal.c | 266 linux32_sigset_t ls; local in function:linux32_old_to_native_sigset 268 memset(&ls, 0, sizeof(ls)); 269 ls.sig[0] = *lss; 271 linux32_to_native_sigset(bss, &ls);
|
/src/sys/arch/sparc/sparc/ |
cache.c | 108 u_int i, lim, ls, ts; local in function:sun4_cache_enable 117 ls = CACHEINFO.c_linesize; 120 for (i = AC_CACHETAGS, lim = i + ts; i < lim; i += ls) 209 int i, ls, ts; local in function:hypersparc_cache_enable 223 ls = CACHEINFO.c_linesize; 229 for (i = 0; i < ts; i += ls) 259 int i, ls, ts; local in function:swift_cache_enable 270 ls = CACHEINFO.ic_linesize; 273 for (i = 0; i < ts; i += ls) 276 ls = CACHEINFO.dc_linesize 290 int i, ls, ts; local in function:cypress_cache_enable 322 int i, ls, ts; local in function:turbosparc_cache_enable 388 int i, ls; local in function:sun4_vcache_flush_context 418 int i, ls; local in function:sun4_vcache_flush_region 441 int i, ls; local in function:sun4_vcache_flush_segment 467 int i, ls; local in function:sun4_vcache_flush_page 517 int i, ls, baseoff; local in function:sun4_cache_flush 592 int i, ls, octx; local in function:srmmu_vcache_flush_context 618 int i, ls, octx; local in function:srmmu_vcache_flush_region 646 int i, ls, octx; local in function:srmmu_vcache_flush_segment 670 int i, ls, octx; local in function:srmmu_vcache_flush_page 721 int i, ls, offset; local in function:srmmu_vcache_flush_range 917 int i, ls; local in function:cypress_cache_flush_all [all...] |