/freebsd/usr.sbin/ppp/ |
H A D | mp.c | 77 #include "mp.h" 136 mp_ReadHeader(struct mp *mp, struct mbuf *m, struct mp_header *header) in mp_ReadHeader() argument 138 if (mp->local_is12bit) { in mp_ReadHeader() 143 log_Printf(LogWARN, "Oops - MP header without required zero bits\n"); in mp_ReadHeader() 153 log_Printf(LogWARN, "Oops - MP header without required zero bits\n"); in mp_ReadHeader() 194 struct mp *mp = (struct mp *)v; in mp_UpDown() local 197 percent = MAX(mp->link.stats.total.in.OctetsPerSecond, in mp_UpDown() 198 mp->link.stats.total.out.OctetsPerSecond) * 800 / in mp_UpDown() 199 mp->bundle->bandwidth; in mp_UpDown() 200 if (percent >= mp->cfg.autoload.max) { in mp_UpDown() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | mutex.h | 49 #define MUTEX(mp) (&((mp)->m_mutex)) argument 52 spl_mutex_set_owner(kmutex_t *mp) in spl_mutex_set_owner() argument 54 mp->m_owner = current; in spl_mutex_set_owner() 58 spl_mutex_clear_owner(kmutex_t *mp) in spl_mutex_clear_owner() argument 60 mp->m_owner = NULL; in spl_mutex_clear_owner() 63 #define mutex_owner(mp) (READ_ONCE((mp)->m_owner)) argument 64 #define mutex_owned(mp) (mutex_owner(mp) == current) argument 65 #define MUTEX_HELD(mp) mutex_owned(mp) argument 66 #define MUTEX_NOT_HELD(mp) (!MUTEX_HELD(mp)) argument 70 spl_mutex_set_type(kmutex_t *mp, kmutex_type_t type) in spl_mutex_set_type() argument [all …]
|
/freebsd/lib/libc/db/mpool/ |
H A D | mpool.c | 62 MPOOL *mp; in mpool_open() local 79 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) in mpool_open() 81 TAILQ_INIT(&mp->lqh); in mpool_open() 83 TAILQ_INIT(&mp->hqh[entry]); in mpool_open() 84 mp->maxcache = maxcache; in mpool_open() 85 mp->npages = sb.st_size / pagesize; in mpool_open() 86 mp->pagesize = pagesize; in mpool_open() 87 mp->fd = fd; in mpool_open() 88 return (mp); in mpool_open() 96 mpool_filter(MPOOL *mp, void (*pgin) (void *, pgno_t, void *), in mpool_filter() argument [all …]
|
/freebsd/sys/kern/ |
H A D | vfs_mount.c | 135 static void mount_devctl_event(const char *type, struct mount *mp, bool donew); 154 struct mount *mp; in mount_init() local 156 mp = (struct mount *)mem; in mount_init() 157 mtx_init(&mp->mnt_mtx, "struct mount mtx", NULL, MTX_DEF); in mount_init() 158 mtx_init(&mp->mnt_listmtx, "struct mount vlist mtx", NULL, MTX_DEF); in mount_init() 159 lockinit(&mp->mnt_explock, PVFS, "explock", 0, 0); in mount_init() 160 mp->mnt_pcpu = uma_zalloc_pcpu(pcpu_zone_16, M_WAITOK | M_ZERO); in mount_init() 161 mp->mnt_ref = 0; in mount_init() 162 mp->mnt_vfs_ops = 1; in mount_init() 163 mp->mnt_rootvnode = NULL; in mount_init() [all …]
|
H A D | vfs_export.c | 73 static int vfs_hang_addrlist(struct mount *mp, struct netexport *nep, 102 vfs_hang_addrlist(struct mount *mp, struct netexport *nep, in vfs_hang_addrlist() argument 128 if (mp->mnt_flag & MNT_DEFEXPORTED) { in vfs_hang_addrlist() 129 vfs_mount_error(mp, in vfs_hang_addrlist() 130 "MNT_DEFEXPORTED already set for mount %p", mp); in vfs_hang_addrlist() 144 MNT_ILOCK(mp); in vfs_hang_addrlist() 145 mp->mnt_flag |= MNT_DEFEXPORTED; in vfs_hang_addrlist() 146 MNT_IUNLOCK(mp); in vfs_hang_addrlist() 152 vfs_mount_error(mp, "ex_addrlen %d is greater than %d", in vfs_hang_addrlist() 165 vfs_mount_error(mp, "Invalid saddr->sa_family: %d"); in vfs_hang_addrlist() [all …]
|
H A D | vfs_init.c | 164 vfs_mount_sigdefer(struct mount *mp) in vfs_mount_sigdefer() argument 168 TSRAW(curthread, TS_ENTER, "VFS_MOUNT", mp->mnt_vfc->vfc_name); in vfs_mount_sigdefer() 170 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_mount)(mp); in vfs_mount_sigdefer() 172 TSRAW(curthread, TS_EXIT, "VFS_MOUNT", mp->mnt_vfc->vfc_name); in vfs_mount_sigdefer() 177 vfs_unmount_sigdefer(struct mount *mp, int mntflags) in vfs_unmount_sigdefer() argument 182 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_unmount)(mp, mntflags); in vfs_unmount_sigdefer() 188 vfs_root_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_root_sigdefer() argument 193 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_root)(mp, flags, vpp); in vfs_root_sigdefer() 199 vfs_cachedroot_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_cachedroot_sigdefer() argument 204 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_cachedroot)(mp, flags, vpp); in vfs_cachedroot_sigdefer() [all …]
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 116 tmpfs_update_mtime_lazy(struct mount *mp) in tmpfs_update_mtime_lazy() argument 120 MNT_VNODE_FOREACH_LAZY(vp, mp, mvp, tmpfs_update_mtime_lazy_filter, NULL) { in tmpfs_update_mtime_lazy() 129 tmpfs_update_mtime_all(struct mount *mp) in tmpfs_update_mtime_all() argument 133 if (VFS_TO_TMPFS(mp)->tm_nomtime) in tmpfs_update_mtime_all() 135 MNT_VNODE_FOREACH_ALL(vp, mp, mvp) { in tmpfs_update_mtime_all() 153 tmpfs_check_rw_maps_cb(struct mount *mp __unused, vm_map_t map __unused, in tmpfs_check_rw_maps_cb() 168 tmpfs_revoke_rw_maps_cb(struct mount *mp __unused, vm_map_t map, in tmpfs_revoke_rw_maps_cb() 187 tmpfs_all_rw_maps(struct mount *mp, bool (*cb)(struct mount *mp, vm_map_t, in tmpfs_all_rw_maps() argument 247 if (vp->v_mount != mp) { in tmpfs_all_rw_maps() 271 tmpfs_check_rw_maps(struct mount * mp) tmpfs_check_rw_maps() argument 281 tmpfs_rw_to_ro(struct mount * mp) tmpfs_rw_to_ro() argument 322 tmpfs_mount(struct mount * mp) tmpfs_mount() argument 495 tmpfs_unmount(struct mount * mp,int mntflags) tmpfs_unmount() argument 574 tmpfs_root(struct mount * mp,int flags,struct vnode ** vpp) tmpfs_root() argument 585 tmpfs_fhtovp(struct mount * mp,struct fid * fhp,int flags,struct vnode ** vpp) tmpfs_fhtovp() argument 627 tmpfs_statfs(struct mount * mp,struct statfs * sbp) tmpfs_statfs() argument 659 tmpfs_sync(struct mount * mp,int waitfor) tmpfs_sync() argument 712 db_print_tmpfs(struct mount * mp,struct tmpfs_mount * tmp) db_print_tmpfs() argument 730 struct mount *mp; DB_SHOW_COMMAND() local [all...] |
/freebsd/sys/fs/nullfs/ |
H A D | null_vfsops.c | 78 nullfs_mount(struct mount *mp) in nullfs_mount() argument 89 NULLFSDEBUG("nullfs_mount(mp = %p)\n", (void *)mp); in nullfs_mount() 91 if (mp->mnt_flag & MNT_ROOTFS) in nullfs_mount() 97 if (mp->mnt_flag & MNT_UPDATE) { in nullfs_mount() 101 if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) in nullfs_mount() 110 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&target, &len); in nullfs_mount() 112 error = vfs_getopt(mp->mnt_optnew, "target", (void **)&target, &len); in nullfs_mount() 119 if (mp->mnt_vnodecovered->v_op == &null_vnodeops && in nullfs_mount() 120 VOP_ISLOCKED(mp in nullfs_mount() 251 nullfs_unmount(struct mount * mp,int mntflags) nullfs_unmount() argument 299 nullfs_root(struct mount * mp,int flags,struct vnode ** vpp) nullfs_root() argument 320 nullfs_quotactl(struct mount * mp,int cmd,uid_t uid,void * arg,bool * mp_busy) nullfs_quotactl() argument 351 nullfs_statfs(struct mount * mp,struct statfs * sbp) nullfs_statfs() argument 386 nullfs_sync(struct mount * mp,int waitfor) nullfs_sync() argument 395 nullfs_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) nullfs_vget() argument 409 nullfs_fhtovp(struct mount * mp,struct fid * fidp,int flags,struct vnode ** vpp) nullfs_fhtovp() argument 421 nullfs_extattrctl(struct mount * mp,int cmd,struct vnode * filename_vp,int namespace,const char * attrname) nullfs_extattrctl() argument 430 nullfs_reclaim_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_reclaim_lowervp() argument 443 nullfs_unlink_lowervp(struct mount * mp,struct vnode * lowervp) nullfs_unlink_lowervp() argument [all...] |
/freebsd/sys/fs/unionfs/ |
H A D | union_vfsops.c | 72 unionfs_domount(struct mount *mp) in unionfs_domount() argument 92 UNIONFSDEBUG("unionfs_mount(mp = %p)\n", mp); in unionfs_domount() 104 if (mp->mnt_flag & MNT_ROOTFS) { in unionfs_domount() 105 vfs_mount_error(mp, "Cannot union mount root filesystem"); in unionfs_domount() 112 if (mp->mnt_flag & MNT_UPDATE) { in unionfs_domount() 113 vfs_mount_error(mp, "unionfs does not support mount update"); in unionfs_domount() 120 error = vfs_getopt(mp->mnt_optnew, "target", (void **)&target, &len); in unionfs_domount() 122 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&target, in unionfs_domount() 125 vfs_mount_error(mp, "Invalid target"); in unionfs_domount() 128 if (vfs_getopt(mp->mnt_optnew, "below", NULL, NULL) == 0) in unionfs_domount() [all …]
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 89 static int ffs_sync_lazy(struct mount *mp); 235 ffs_check_blkno(struct mount *mp, ino_t inum, ufs2_daddr_t daddr, int blksize) in ffs_check_blkno() argument 242 KASSERT((mp->mnt_flag & MNT_UNTRUSTED) != 0, in ffs_check_blkno() 244 ump = VFSTOUFS(mp); in ffs_check_blkno() 271 "number %jd\n", mp->mnt_stat.f_mntonname, inum, daddr); in ffs_check_blkno() 343 ffs_mount(struct mount *mp) in ffs_mount() argument 358 if (vfs_filteropt(mp->mnt_optnew, ffs_opts)) in ffs_mount() 373 vfs_deleteopt(mp->mnt_optnew, "groupquota"); in ffs_mount() 374 vfs_deleteopt(mp->mnt_optnew, "userquota"); in ffs_mount() 376 fspec = vfs_getopts(mp->mnt_optnew, "from", &error); in ffs_mount() [all …]
|
H A D | ffs_suspend.c | 69 ffs_susp_suspended(struct mount *mp) in ffs_susp_suspended() argument 75 ump = VFSTOUFS(mp); in ffs_susp_suspended() 94 struct mount *mp; in ffs_susp_rdwr() local 104 error = devfs_get_cdevpriv((void **)&mp); in ffs_susp_rdwr() 110 ump = VFSTOUFS(mp); in ffs_susp_rdwr() 114 if (ffs_susp_suspended(mp) == 0) { in ffs_susp_rdwr() 178 ffs_susp_suspend(struct mount *mp) in ffs_susp_suspend() argument 185 if (!ffs_own_mount(mp)) in ffs_susp_suspend() 187 if (ffs_susp_suspended(mp)) in ffs_susp_suspend() 190 ump = VFSTOUFS(mp); in ffs_susp_suspend() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/ |
H A D | mutex.h | 70 #define isc_mutex_init(mp) \ argument 71 isc_mutex_init_profile((mp), __FILE__, __LINE__) 74 #define isc_mutex_init(mp) \ argument 75 isc_mutex_init_errcheck((mp)) 77 #define isc_mutex_init(mp) \ argument 78 isc__mutex_init((mp), __FILE__, __LINE__) 79 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line); 84 #define isc_mutex_lock(mp) \ argument 85 isc_mutex_lock_profile((mp), __FILE__, __LINE__) 87 #define isc_mutex_lock(mp) \ argument [all …]
|
/freebsd/libexec/talkd/ |
H A D | process.c | 57 process_request(CTL_MSG *mp, CTL_RESPONSE *rp) in process_request() argument 63 rp->type = mp->type; in process_request() 65 if (mp->vers != TALK_VERSION) { in process_request() 66 syslog(LOG_WARNING, "bad protocol version %d", mp->vers); in process_request() 70 mp->id_num = ntohl(mp->id_num); in process_request() 71 mp->addr.sa_family = ntohs(mp->addr.sa_family); in process_request() 72 if (mp->addr.sa_family != AF_INET) { in process_request() 74 mp->addr.sa_family); in process_request() 78 mp->ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family); in process_request() 79 if (mp->ctl_addr.sa_family != AF_INET) { in process_request() [all …]
|
/freebsd/sys/sys/ |
H A D | mount.h | 206 struct mount *mp; /* (c) mount object for upper FS */ member 278 struct vnode *__mnt_vnode_next_all(struct vnode **mvp, struct mount *mp); 279 struct vnode *__mnt_vnode_first_all(struct vnode **mvp, struct mount *mp); 280 void __mnt_vnode_markerfree_all(struct vnode **mvp, struct mount *mp); 282 #define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \ argument 283 for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \ 284 (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp))) 286 #define MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp) \ argument 288 MNT_ILOCK(mp); \ 289 __mnt_vnode_markerfree_all(&(mvp), (mp)); \ [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-condvar.c | 114 cv_wait_common(kcondvar_t *cvp, kmutex_t *mp, int state, int io) in cv_wait_common() argument 120 ASSERT(mp); in cv_wait_common() 122 ASSERT(mutex_owned(mp)); in cv_wait_common() 127 m = xchg(&cvp->cv_mutex, mp); in cv_wait_common() 129 ASSERT(m == NULL || m == mp); in cv_wait_common() 139 mutex_exit(mp); in cv_wait_common() 162 mutex_enter(mp); in cv_wait_common() 166 __cv_wait(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait() argument 168 cv_wait_common(cvp, mp, TASK_UNINTERRUPTIBLE, 0); in __cv_wait() 173 __cv_wait_io(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io() argument [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clcomsubs.c | 58 struct mbuf *mp, *mp2; in nfsm_uiombuf() local 70 mp = mp2 = nd->nd_mb; in nfsm_uiombuf() 74 mtod(mp, char *) + mp->m_len, ("nfsm_uiombuf: mcp wrong")); in nfsm_uiombuf() 84 mlen = M_TRAILINGSPACE(mp); in nfsm_uiombuf() 87 mp = nfsm_add_ext_pgs(mp, in nfsm_uiombuf() 90 mp->m_epg_pa[nd->nd_bextpg]); in nfsm_uiombuf() 94 NFSMCLGET(mp, M_WAITOK); in nfsm_uiombuf() 96 NFSMGET(mp); in nfsm_uiombuf() 97 mp->m_len = 0; in nfsm_uiombuf() 98 mlen = M_TRAILINGSPACE(mp); in nfsm_uiombuf() [all …]
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_vfsops.c | 66 devfs_mount(struct mount *mp) in devfs_mount() argument 79 if (mp->mnt_flag & MNT_ROOTFS) in devfs_mount() 85 if (mp->mnt_optnew != NULL) { in devfs_mount() 86 if (vfs_filteropt(mp->mnt_optnew, devfs_opts)) in devfs_mount() 89 if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) in devfs_mount() 92 if (vfs_getopt(mp->mnt_optnew, "ruleset", NULL, NULL) == 0 && in devfs_mount() 93 (vfs_scanopt(mp->mnt_optnew, "ruleset", "%d", in devfs_mount() 95 vfs_mount_error(mp, "%s", in devfs_mount() 109 if (mp->mnt_flag & MNT_UPDATE) { in devfs_mount() 111 fmp = mp->mnt_data; in devfs_mount() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/ |
H A D | mutex.c | 99 isc_mutex_init_profile(isc_mutex_t *mp, const char *file, int line) { in isc_mutex_init_profile() argument 102 err = pthread_mutex_init(&mp->mutex, NULL); in isc_mutex_init_profile() 122 mp->stats = &stats[stats_next++]; in isc_mutex_init_profile() 126 mp->stats->file = file; in isc_mutex_init_profile() 127 mp->stats->line = line; in isc_mutex_init_profile() 128 mp->stats->count = 0; in isc_mutex_init_profile() 129 timevalclear(&mp->stats->locked_total); in isc_mutex_init_profile() 130 timevalclear(&mp->stats->wait_total); in isc_mutex_init_profile() 132 mp->stats->lockers[i].file = NULL; in isc_mutex_init_profile() 133 mp->stats->lockers[i].line = 0; in isc_mutex_init_profile() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 130 smbfs_mount(struct mount *mp) in smbfs_mount() argument 144 if (mp->mnt_flag & (MNT_UPDATE | MNT_ROOTFS)) in smbfs_mount() 147 if (vfs_filteropt(mp->mnt_optnew, smbfs_opts)) { in smbfs_mount() 148 vfs_mount_error(mp, "%s", "Invalid option"); in smbfs_mount() 156 if (1 != vfs_scanopt(mp->mnt_optnew, "fd", "%d", &v)) { in smbfs_mount() 157 vfs_mount_error(mp, "No fd option"); in smbfs_mount() 165 vfs_mount_error(mp, "invalid device handle %d %d\n", v, error); in smbfs_mount() 172 mp->mnt_stat.f_iosize = SSTOVC(ssp)->vc_txmax; in smbfs_mount() 173 mp->mnt_data = smp; in smbfs_mount() 177 if (1 != vfs_scanopt(mp->mnt_optnew, in smbfs_mount() [all …]
|
/freebsd/usr.bin/mail/ |
H A D | quit.c | 67 struct message *mp; in quit() local 138 for (mp = &message[0]; mp < &message[msgCount]; mp++) { in quit() 139 if (mp->m_flag & MNEW) { in quit() 140 mp->m_flag &= ~MNEW; in quit() 141 mp->m_flag |= MSTATUS; in quit() 143 if (mp->m_flag & MSTATUS) in quit() 145 if ((mp->m_flag & MTOUCH) == 0) in quit() 146 mp->m_flag |= MPRESERVE; in quit() 147 if ((mp->m_flag & nohold) == 0) in quit() 148 mp->m_flag |= holdbit; in quit() [all …]
|
H A D | cmd1.c | 53 struct message *mp; in headers() local 61 mp = &message[screen * size]; in headers() 62 if (mp >= &message[msgCount]) in headers() 63 mp = &message[msgCount - size]; in headers() 64 if (mp < &message[0]) in headers() 65 mp = &message[0]; in headers() 67 mesg = mp - &message[0]; in headers() 69 dot = mp; in headers() 70 for (; mp < &message[msgCount]; mp++) { in headers() 72 if (mp->m_flag & MDELETED) in headers() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 123 struct mount *mp; in mount_snapshot() local 135 * variables will fit in our mp buffers, including the in mount_snapshot() 168 mp = vfs_mount_alloc(vp, vfsp, fspath, vp->v_mount->mnt_cred); in mount_snapshot() 170 mp->mnt_optnew = NULL; in mount_snapshot() 171 vfs_setmntopt(mp, "from", fspec, 0); in mount_snapshot() 172 mp->mnt_optnew = mp->mnt_opt; in mount_snapshot() 173 mp->mnt_opt = NULL; in mount_snapshot() 178 mp->mnt_flag = fsflags & MNT_UPDATEMASK; in mount_snapshot() 182 mp->mnt_flag |= MNT_RDONLY; in mount_snapshot() 187 mp->mnt_flag |= MNT_NOSUID; in mount_snapshot() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | nullfs18.sh | 63 eval mp$i=${mntpoint}$i 67 eval mp=\$mp$i 68 [ -d $mp ] || mkdir -p $mp 69 mount | grep $mp | grep -q nullfs && umount -f $mp 73 mount -t nullfs $msrc $mp 74 chmod 777 $mp 75 export RUNDIR=$mp/stressX 76 export CTRLDIR=$mp/stressX.control 81 mps="$mps $mp" 107 eval mp=\$mp$i [all …]
|
/freebsd/stand/libsa/ |
H A D | zalloc.c | 88 znalloc(MemPool *mp, uintptr_t bytes, size_t align) in znalloc() argument 108 if (bytes > mp->mp_Size - mp->mp_Used) in znalloc() 111 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in znalloc() 156 mp->mp_Used += bytes; in znalloc() 172 zfree(MemPool *mp, void *ptr, uintptr_t bytes) in zfree() argument 190 if ((char *)ptr < (char *)mp->mp_Base || in zfree() 191 (char *)ptr + bytes > (char *)mp->mp_End || in zfree() 198 mp->mp_Used -= bytes; in zfree() 200 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in zfree() 235 if (pmn != &mp->mp_First) { in zfree() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_api.c | 102 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_register() local 104 mp->mod_info = mip; in fmd_hdl_register() 105 mp->mod_name = mip->fmdi_desc + 4; /* drop 'ZFS ' prefix */ in fmd_hdl_register() 106 mp->mod_spec = NULL; in fmd_hdl_register() 109 (void) strcpy(mp->mod_stats.ms_accepted.fmds_name, "fmd.accepted"); in fmd_hdl_register() 110 (void) strcpy(mp->mod_stats.ms_caseopen.fmds_name, "fmd.caseopen"); in fmd_hdl_register() 111 (void) strcpy(mp->mod_stats.ms_casesolved.fmds_name, "fmd.casesolved"); in fmd_hdl_register() 112 (void) strcpy(mp->mod_stats.ms_caseclosed.fmds_name, "fmd.caseclosed"); in fmd_hdl_register() 114 fmd_serd_hash_create(&mp->mod_serds); in fmd_hdl_register() 124 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_unregister() local [all …]
|