/src/sys/arch/powerpc/ibm4xx/dev/ |
ibm405gp.c | 154 paddr_t la, lm, pl, ph; local in function:ibm4xx_show_pci_map 161 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM0MA); 164 printf("0: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, 165 (lm & 2) ? "":"not ", 166 (lm & 1) ? "enabled":"disabled"); 168 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM1MA); 171 printf("1: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, 172 (lm & 2) ? "":"not ", 173 (lm & 1) ? "enabled":"disabled"); 175 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM2MA) [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_rlimit.c | 120 } lm[] = { local in function:netbsd32_adjust_limits 142 if (i >= __arraycount(lm)) 145 rlim = lim->pl_rlimit + lm[i].id; 146 if (LIMITCHECK(rlim->rlim_cur, lm[i].lim)) 148 if (LIMITCHECK(rlim->rlim_max, lm[i].lim)) 155 for (i = 0; i < __arraycount(lm); i++) { 156 rlim = lim->pl_rlimit + lm[i].id; 157 if (LIMITCHECK(rlim->rlim_cur, lm[i].lim)) 158 rlim->rlim_cur = lm[i].lim; 159 if (LIMITCHECK(rlim->rlim_max, lm[i].lim) [all...] |
/src/sys/fs/nfs/common/ |
nfs_lock.c | 111 struct __lock_msg *lm; local in function:nfslock_close 116 lm = TAILQ_FIRST(&nfslock_list); 118 TAILQ_REMOVE(&nfslock_list, lm, lm_link); 119 free(lm, M_NFSLOCK); 129 struct __lock_msg *lm; local in function:nfslock_read 131 if (uio->uio_resid != sizeof *lm) 133 lm = NULL; 143 lm = TAILQ_FIRST(&nfslock_list); 144 TAILQ_REMOVE(&nfslock_list, lm, lm_link); 148 error = uiomove(lm, sizeof *lm, uio) [all...] |
/src/sys/miscfs/nullfs/ |
null.h | 84 struct layer_mount lm; /* generic layerfs mount stuff */ member in struct:null_mount 86 #define nullm_rootvp lm.layerm_rootvp 87 #define nullm_export lm.layerm_export 88 #define nullm_flags lm.layerm_flags 89 #define nullm_size lm.layerm_size 90 #define nullm_tag lm.layerm_tag 91 #define nullm_bypass lm.layerm_bypass 92 #define nullm_alloc lm.layerm_alloc 93 #define nullm_vnodeop_p lm.layerm_vnodeop_p 94 #define nullm_node_hashtbl lm.layerm_node_hashtb [all...] |
/src/sys/miscfs/overlay/ |
overlay.h | 87 struct layer_mount lm; /* generic layerfs mount stuff */ member in struct:overlay_mount 89 #define ovm_rootvp lm.layerm_rootvp 90 #define ovm_export lm.layerm_export 91 #define ovm_flags lm.layerm_flags 92 #define ovm_size lm.layerm_size 93 #define ovm_tag lm.layerm_tag 94 #define ovm_bypass lm.layerm_bypass 95 #define ovm_alloc lm.layerm_alloc 96 #define ovm_vnodeop_p lm.layerm_vnodeop_p 97 #define ovm_node_hashtbl lm.layerm_node_hashtb [all...] |
/src/usr.sbin/ldpd/ |
ldp_peer.h | 81 struct label_mapping *lm; member in struct:peer_map
|
ldp_command.c | 484 struct label_mapping *lm = NULL; local in function:show_labels 489 while ((lm = ldp_peer_lm_right(p, lm)) != NULL) { 492 if (lm->address.sa.sa_family != AF_INET) 494 strlcpy(lma, inet_ntoa(lm->address.sin.sin_addr), 497 inet_ntoa(p->ldp_id), lm->label, lma, lm->prefix);
|
ldp_peer.c | 541 struct label_mapping *lm = NULL; local in function:ldp_test_mapping 554 lm = ldp_peer_get_lm(lpeer, a, prefix); 556 if (!lm) { 568 rv->lm = lm;
|
/src/sys/external/bsd/common/include/linux/ |
slab.h | 96 struct linux_malloc *lm; local in function:kmalloc 99 KASSERTMSG(size < SIZE_MAX - sizeof(*lm), "size=%zu", size); 102 lm = kmem_intr_zalloc(sizeof(*lm) + size, kmflags); 104 lm = kmem_intr_alloc(sizeof(*lm) + size, kmflags); 105 if (lm == NULL) 108 lm->lm_size = size; 109 return lm + 1; 157 struct linux_malloc *lm; local in function:kfree [all...] |
/src/sys/arch/sparc64/dev/ |
ldc.c | 616 struct ldc_map *lm; local in function:ldc_map_alloc 623 lm = kmem_zalloc(sizeof(struct ldc_map), KM_SLEEP); 628 BUS_DMA_NOWAIT | BUS_DMA_ALLOCNOW, &lm->lm_map) != 0) { 633 if (bus_dmamem_alloc(t, size, PAGE_SIZE, 0, &lm->lm_seg, 1, 639 if (bus_dmamem_map(t, &lm->lm_seg, 1, size, (void *)&va, 644 if (bus_dmamap_load(t, lm->lm_map, (void*)va, size, NULL, 652 lm->lm_slot = (struct ldc_map_slot *)va; 653 lm->lm_nentries = nentries; 654 bzero(lm->lm_slot, nentries * sizeof(struct ldc_map_slot)); 655 return (lm); [all...] |
/src/games/boggle/boggle/ |
bog.c | 430 int i, *lm; local in function:checkword 442 lm = letter_map[*word - 'a']; 464 while (*lm != -1) { 465 *path = *lm; 466 usedbits |= (1 << *lm); 467 if (checkword(subword + 1, *lm, path + 1) > 0) 469 usedbits &= ~(1 << *lm); 470 lm++; 480 for (i = 0; lm[i] != -1; i++) { 481 if (adjacency[prev][lm[i]]) 623 int *lm[26]; local in function:newgame [all...] |
/src/sys/compat/linux32/common/ |
linux32_ipccall.c | 499 struct linux32_msqid_ds lm; local in function:linux32_msgctl 516 error = copyin(data, &lm, sizeof lm); 517 linux32_to_bsd_msqid_ds(&lm, &bm); 536 bsd_to_linux32_msqid_ds(&bm, &lm); 537 error = copyout(&lm, data, sizeof lm);
|
/src/sys/dev/isa/ |
aztech.c | 101 struct lm700x_t lm; member in struct:az_softc 167 sc->lm.iot = ia->ia_iot; 175 if (bus_space_map(sc->lm.iot, ia->ia_io[0].ir_addr, 176 ia->ia_io[0].ir_size, 0, &sc->lm.ioh)) 181 /* Configure struct lm700x_t lm */ 182 sc->lm.offset = 0; 183 sc->lm.wzcl = AZ_WREN_ON | AZ_CLCK_OFF | AZ_DATA_OFF; 184 sc->lm.wzch = AZ_WREN_ON | AZ_CLCK_ON | AZ_DATA_OFF; 185 sc->lm.wocl = AZ_WREN_ON | AZ_CLCK_OFF | AZ_DATA_ON; 186 sc->lm.woch = AZ_WREN_ON | AZ_CLCK_ON | AZ_DATA_ON [all...] |
radiotrack.c | 114 struct lm700x_t lm; member in struct:rt_softc 180 sc->lm.iot = ia->ia_iot; 188 if (bus_space_map(sc->lm.iot, ia->ia_io[0].ir_addr, 189 ia->ia_io[0].ir_size, 0, &sc->lm.ioh)) 211 /* Configure struct lm700x_t lm */ 212 sc->lm.offset = 0; 213 sc->lm.wzcl = RT_WREN_ON | RT_CLCK_OFF | RT_DATA_OFF; 214 sc->lm.wzch = RT_WREN_ON | RT_CLCK_ON | RT_DATA_OFF; 215 sc->lm.wocl = RT_WREN_ON | RT_CLCK_OFF | RT_DATA_ON; 216 sc->lm.woch = RT_WREN_ON | RT_CLCK_ON | RT_DATA_ON [all...] |
/src/sys/dev/rcons/ |
raster_op.c | 1103 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_op_nosrc_noclip 1128 lm = leftmask[dstleftignore] | rightmask[dstrightignore]; 1129 nlm = ~lm; 1136 /*pst*/ *dstlin = ( *dstlin & lm ) | ( dl & nlm ); ) 1143 lm = leftmask[dstleftignore]; 1146 nlm = ~lm; 1162 /*pst*/ *dstlong = ( *dstlong & lm ) | ( dl & nlm ); ) 1199 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_op_nosrc_noclip 1235 lm = leftmask[dstleftignore] | rightmask[dstrightignore]; 1236 nlm = ~lm; 1306 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_op_nosrc_noclip 1411 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_op_nosrc_noclip 1516 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_op_nosrc_noclip 1639 u_int32_t dl, lm, nlm, rm, nrm; local in function:raster_blit [all...] |
/src/sys/external/bsd/ipf/netinet/ |
ip_scan.c | 415 ipscan_t *isc, *lm; local in function:ipf_scan_match 442 lm = NULL; 460 lm = isc; 464 isc = lm;
|
/src/sys/miscfs/umapfs/ |
umap.h | 60 struct layer_mount lm; member in struct:umap_mount 68 #define umapm_rootvp lm.layerm_rootvp 69 #define umapm_export lm.layerm_export 70 #define umapm_flags lm.layerm_flags 71 #define umapm_size lm.layerm_size 72 #define umapm_tag lm.layerm_tag 73 #define umapm_bypass lm.layerm_bypass 74 #define umapm_alloc lm.layerm_alloc 75 #define umapm_vnodeop_p lm.layerm_vnodeop_p 76 #define umapm_node_hashtbl lm.layerm_node_hashtb [all...] |
/src/usr.bin/rfcomm_sppd/ |
rfcomm_sppd.c | 126 int n, lm, rfcomm, tty_in, tty_out; local in function:main 137 lm = 0; 172 lm = RFCOMM_LM_AUTH; 174 lm = RFCOMM_LM_ENCRYPT; 176 lm = RFCOMM_LM_SECURE; 228 rfcomm = open_client(&laddr, &raddr, lm, psm, service); 230 rfcomm = open_server(&laddr, psm, channel, lm, service); 336 open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm, 393 if (setsockopt(fd, BTPROTO_RFCOMM, SO_RFCOMM_LM, &lm, sizeof(lm)) == -1 [all...] |
/src/usr.bin/rdist/ |
expand.c | 347 char *lm, savec, *spathp; local in function:execbrc 349 for (lm = restbuf; *p != '{'; *lm++ = *p++) 396 strlcpy(lm, pl, sizeof(restbuf) - (lm - restbuf));
|
/src/sys/compat/linux/common/ |
linux_ipc.c | 386 struct linux_msqid_ds lm; local in function:linux_sys_msgctl 405 error = copyin(SCARG(uap, buf), &lm, sizeof lm); 406 linux_to_bsd_msqid_ds(&lm, &bm); 425 bsd_to_linux_msqid_ds(&bm, &lm); 426 error = copyout(&lm, SCARG(uap, buf), sizeof lm);
|
/src/bin/csh/ |
glob.c | 130 Char *lm, *pe, *pl, *pm, **nv, **vl; local in function:globbrace 138 for (lm = gbuf, p = s; *p != LBRC; *lm++ = *p++) 192 (void)Strcpy(lm, pl);
|
/src/usr.sbin/sysinst/ |
disklabel.c | 276 const char *lm = get_last_mounted(fd, local in function:disklabel_parts_read 279 if (lm != NULL && *lm != 0) { 280 strlcpy(parts->last_mounted[part], lm,
|
gpt.c | 404 const char *lm = get_last_mounted(fd, local in function:gpt_read_from_disk 407 if (lm != NULL && *lm != 0) { 408 char *path = strdup(lm);
|
/src/lib/libc/gen/ |
glob.c | 273 Char *lm, *ls; local in function:globexp2 283 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) 285 ls = lm; 349 for (lm = ls; (pl < pm); *lm++ = *pl++) 355 for (pl = pe + 1; (*lm++ = *pl++) != EOS;)
|
/src/sys/arch/amiga/dev/ |
grf_rh.c | 303 volatile unsigned char *lm = ba + LM_OFFSET; local in function:RZ3BitBlit 311 (volatile unsigned long *) (lm + PAT_MEM_OFF); 379 volatile unsigned char *lm = ba + LM_OFFSET; local in function:RZ3BitBlit16 387 (volatile unsigned long *) (lm + PAT_MEM_OFF); 458 volatile unsigned char *lm = ba + LM_OFFSET; local in function:RZ3BitBlit24 467 (volatile unsigned long *) (lm + PAT_MEM_OFF);
|