/freebsd/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | lockstat.c | 1117 lsrec_t *lsp, **current, **first, **sort_buf, **merge_buf; in main() local 1545 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main() 1547 lsp = (lsrec_t *)((char *)lsp + g_recsize)) { in main() 1548 ev_count[lsp->ls_event] += lsp->ls_count; in main() 1549 ev_time[lsp->ls_event] += lsp->ls_time; in main() 1567 lsp = newlsp; in main() 1583 bcopy(oldlsp, lsp, LS_TIME); in main() 1584 lsp->ls_caller = oldlsp->ls_stack[fr]; in main() 1586 lsp->ls_lock = strdup(oldlsp->ls_lock); in main() 1589 lsp = (lsrec_t *)((char *)lsp + LS_TIME); in main() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_ipc.c | 197 linux_to_bsd_semid_ds(struct l_semid64_ds *lsp, struct semid_ds *bsp) in linux_to_bsd_semid_ds() argument 200 linux_to_bsd_ipc_perm(&lsp->sem_perm, &bsp->sem_perm); in linux_to_bsd_semid_ds() 201 bsp->sem_otime = lsp->sem_otime; in linux_to_bsd_semid_ds() 202 bsp->sem_ctime = lsp->sem_ctime; in linux_to_bsd_semid_ds() 203 bsp->sem_nsems = lsp->sem_nsems; in linux_to_bsd_semid_ds() 207 bsd_to_linux_semid_ds(struct semid_ds *bsp, struct l_semid64_ds *lsp) in bsd_to_linux_semid_ds() argument 210 bsd_to_linux_ipc_perm(&bsp->sem_perm, &lsp->sem_perm); in bsd_to_linux_semid_ds() 211 lsp->sem_otime = bsp->sem_otime; in bsd_to_linux_semid_ds() 212 lsp->sem_ctime = bsp->sem_ctime; in bsd_to_linux_semid_ds() 213 lsp->sem_nsems = bsp->sem_nsems; in bsd_to_linux_semid_ds() [all …]
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | pci_lpc.c | 368 struct lpc_sysres **lspp, *lsp; in pci_lpc_sysres_dsdt() local 379 lsp = *lspp; in pci_lpc_sysres_dsdt() 380 switch (lsp->type) { in pci_lpc_sysres_dsdt() 382 dsdt_fixed_ioport(lsp->base, lsp->length); in pci_lpc_sysres_dsdt() 385 dsdt_fixed_mem32(lsp->base, lsp->length); in pci_lpc_sysres_dsdt()
|
/freebsd/sys/kern/ |
H A D | kern_sysctl.c | 1188 struct sysctl_oid_list *lsp = &sysctl__children, *lsp2; in sysctl_sysctl_name() local 1198 if (!lsp) { in sysctl_sysctl_name() 1212 oid = RB_FIND(sysctl_oid_list, lsp, &key); in sysctl_sysctl_name() 1229 lsp = lsp2; in sysctl_sysctl_name() 1336 sysctl_sysctl_next_action(struct sysctl_oid_list *lsp, int *name, u_int namelen, in sysctl_sysctl_next_action() argument 1351 oidp = RB_FIND(sysctl_oid_list, lsp, &key); in sysctl_sysctl_next_action() 1354 oidp = RB_MIN(sysctl_oid_list, lsp); in sysctl_sysctl_next_action() 1355 for(; oidp != NULL; oidp = RB_NEXT(sysctl_oid_list, lsp, oidp)) { in sysctl_sysctl_next_action() 1407 struct sysctl_oid_list *lsp = &sysctl__children; in sysctl_sysctl_next() local 1413 success = sysctl_sysctl_next_action(lsp, name, namelen, next, &len, 1, in sysctl_sysctl_next() [all …]
|
/freebsd/sbin/nvmecontrol/ |
H A D | logpage.c | 60 uint8_t lsp; 69 .lsp = 0, 84 OPT("lsp", 'f', arg_uint8, opt, lsp, 192 read_logpage(int fd, uint8_t log_page, uint32_t nsid, uint8_t lsp, in read_logpage() 206 (lsp << 8) | /* LSP */ in read_logpage() 801 read_logpage(fd, opt.page, nsid, opt.lsp, opt.lsi, opt.rae, in logpage() 59 uint8_t lsp; global() member 191 read_logpage(int fd,uint8_t log_page,uint32_t nsid,uint8_t lsp,uint16_t lsi,uint8_t rae,void * payload,uint32_t payload_size) read_logpage() argument
|
H A D | nvmecontrol.h | 87 void read_logpage(int fd, uint8_t log_page, uint32_t nsid, uint8_t lsp,
|
/freebsd/contrib/tzcode/ |
H A D | localtime.c | 476 union local_storage *lsp) 482 register union input_buffer *up = &lsp->u.u; in tzloadbody() 496 if (sizeof lsp->fullname - sizeof tzdirslash <= strlen(name)) in tzloadbody() 502 memcpy(lsp->fullname, tzdirslash, sizeof tzdirslash); in tzloadbody() 503 strcpy(lsp->fullname + sizeof tzdirslash, name); in tzloadbody() 505 name = lsp->fullname; in tzloadbody() 703 struct state *ts = &lsp->u.st; in tzloadbody() 781 union local_storage *lsp = malloc(sizeof *lsp); in tzloadbody() 782 if (!lsp) { in tzloadbody() 480 tzloadbody(char const * name,struct state * sp,bool doextend,union local_storage * lsp) tzloadbody() argument 837 union local_storage *lsp = malloc(sizeof *lsp); tzload() local [all...] |
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 4454 } *lsp, *nlsp; in nfsrv_getrefstr() local 4540 lsp = (struct list *)malloc(sizeof (struct list) in nfsrv_getrefstr() 4542 error = nfsrv_mtostr(nd, lsp->host, len); in nfsrv_getrefstr() 4546 lsp->len = len; in nfsrv_getrefstr() 4547 SLIST_INSERT_HEAD(&head, lsp, next); in nfsrv_getrefstr() 4568 SLIST_FOREACH_SAFE(lsp, &head, next, nlsp) { in nfsrv_getrefstr() 4569 nfsrv_refstrbigenough(siz + lsp->len + stringlen + 3, in nfsrv_getrefstr() 4572 NFSBCOPY(lsp->host, cp3, lsp->len); in nfsrv_getrefstr() 4573 cp3 += lsp->len; in nfsrv_getrefstr() 4578 siz += (lsp->len + stringlen + 2); in nfsrv_getrefstr() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | scanner.l | 314 lsp return LSP;
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 4668 sli4_lsp_sge_t *lsp; in ocs_hw_io_overflow_sgl() local 4710 lsp = &((sli4_lsp_sge_t*)io->sgl->virt)[io->n_sge - 1]; in ocs_hw_io_overflow_sgl() 4711 ocs_memset(lsp, 0, sizeof(*lsp)); in ocs_hw_io_overflow_sgl() 4716 (sli4_sge_t*)lsp, in ocs_hw_io_overflow_sgl() 4721 lsp->buffer_address_high = ocs_addr32_hi(io->ovfl_sgl->phys); in ocs_hw_io_overflow_sgl() 4722 lsp->buffer_address_low = ocs_addr32_lo(io->ovfl_sgl->phys); in ocs_hw_io_overflow_sgl() 4723 lsp->sge_type = SLI4_SGE_TYPE_LSP; in ocs_hw_io_overflow_sgl() 4724 lsp->last = 0; in ocs_hw_io_overflow_sgl() 4725 io->ovfl_lsp = lsp; in ocs_hw_io_overflow_sgl()
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 1797 lsp-ping 3503/tcp #MPLS LSP-echo Port 1798 lsp-ping 3503/udp #MPLS LSP-echo Port
|