/freebsd-current/sys/fs/fuse/ |
H A D | fuse_ipc.h | 177 struct mount *mp; member in struct:fuse_data 228 #define FSESS_PUSH_SYMLINKS_IN 0x0020 /* prefix absolute symlinks with mp */ 250 fuse_get_mpdata(struct mount *mp) argument 252 return mp->mnt_data; 256 fsess_is_impl(struct mount *mp, int opcode) argument 258 struct fuse_data *data = fuse_get_mpdata(mp); 265 fsess_maybe_impl(struct mount *mp, int opcode) argument 267 struct fuse_data *data = fuse_get_mpdata(mp); 274 fsess_not_impl(struct mount *mp, int opcode) argument 276 struct fuse_data *data = fuse_get_mpdata(mp); 283 fsess_set_impl(struct mount *mp, int opcode) argument 291 fsess_set_notimpl(struct mount *mp, int opcode) argument 299 fsess_opt_datacache(struct mount *mp) argument 307 fsess_opt_mmap(struct mount *mp) argument 313 fsess_opt_writeback(struct mount *mp) argument [all...] |
/freebsd-current/sys/ufs/ufs/ |
H A D | ufs_inode.c | 111 struct mount *mp; local 113 mp = NULL; 133 if (vn_start_secondary_write(vp, &mp, V_NOWAIT) != 0) { 137 (void) vn_start_secondary_write(vp, &mp, 140 MNT_ILOCK(mp); 141 if ((mp->mnt_kern_flag & 143 MNT_IUNLOCK(mp); 154 MNT_IUNLOCK(mp); 190 mp == NULL && 191 vn_start_secondary_write(vp, &mp, V_NOWAI [all...] |
/freebsd-current/sys/fs/cd9660/ |
H A D | cd9660_vfsops.c | 89 static int iso_mountfs(struct vnode *devvp, struct mount *mp); 130 cd9660_mount(struct mount *mp) argument 145 MNT_ILOCK(mp); 146 mp->mnt_flag |= MNT_RDONLY; 147 MNT_IUNLOCK(mp); 149 fspec = vfs_getopts(mp->mnt_optnew, "from", &error); 153 imp = VFSTOISOFS(mp); 155 if (mp->mnt_flag & MNT_UPDATE) { 156 if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) 187 if ((mp 206 iso_mountfs(struct vnode *devvp, struct mount *mp) argument 526 cd9660_unmount(struct mount *mp, int mntflags) argument 558 cd9660_root(struct mount *mp, int flags, struct vnode **vpp) argument 577 cd9660_statfs(struct mount *mp, struct statfs *sbp) argument 605 cd9660_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument 640 cd9660_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 671 cd9660_vget_internal(struct mount *mp, cd_ino_t ino, int flags, struct vnode **vpp, int relocated, struct iso_directory_record *isodir) argument [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_vfsops.c | 78 static int ext2_flushfiles(struct mount *mp, int flags, struct thread *td); 80 static int ext2_reload(struct mount *mp, struct thread *td); 121 ext2_mount(struct mount *mp) argument 134 opts = mp->mnt_optnew; 153 if (mp->mnt_flag & MNT_UPDATE) { 154 ump = VFSTOEXT2(mp); 159 error = VFS_SYNC(mp, MNT_WAIT); 163 if (mp->mnt_flag & MNT_FORCE) 165 error = ext2_flushfiles(mp, flags, td); 174 vfs_flagopt(opts, "ro", &mp 734 ext2_reload(struct mount *mp, struct thread *td) argument 832 ext2_mountfs(struct vnode *devvp, struct mount *mp) argument 1007 ext2_unmount(struct mount *mp, int mntflags) argument 1054 ext2_flushfiles(struct mount *mp, int flags, struct thread *td) argument 1066 ext2_statfs(struct mount *mp, struct statfs *sbp) argument 1120 ext2_sync(struct mount *mp, int waitfor) argument 1194 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 1321 ext2_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument 1356 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument 1396 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument 1438 ext2_root(struct mount *mp, int flags, struct vnode **vpp) argument [all...] |
H A D | ext2_mount.h | 66 #define VFSTOEXT2(mp) ((struct ext2mount *)((mp)->mnt_data))
|
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | libmilter.h | 135 # define smutex_init(mp) (pthread_mutex_init(mp, NULL) == 0) 136 # define smutex_destroy(mp) (pthread_mutex_destroy(mp) == 0) 137 # define smutex_lock(mp) (pthread_mutex_lock(mp) == 0) 138 # define smutex_unlock(mp) (pthread_mutex_unlock(mp) == 0) 139 # define smutex_trylock(mp) (pthread_mutex_trylock(mp) [all...] |
/freebsd-current/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 60 tcpmod_setmss(struct mbuf **mp, struct tcphdr *tcp, int tlen, uint16_t mss) argument 67 m = *mp; 74 *mp = m = m_pullup(m, m->m_pkthdr.len); 117 tcpmod_ipv6_setmss(struct mbuf **mp, uint16_t mss) argument 124 ip6 = mtod(*mp, struct ip6_hdr *); 135 hbh = mtodo(*mp, hlen); 139 tcp = mtodo(*mp, hlen); 140 plen = (*mp)->m_pkthdr.len - hlen; 145 return (tcpmod_setmss(mp, tcp, hlen, mss)); 151 tcpmod_ipv4_setmss(struct mbuf **mp, uint16_ argument [all...] |
/freebsd-current/sys/geom/ |
H A D | geom_subr.c | 74 struct g_class *mp; member in struct:g_hh00 126 struct g_class *mp2, *mp; local 137 mp = hh->mp; 143 g_trace(G_T_TOPOLOGY, "g_load_class(%s)", mp->name); 144 KASSERT(mp->name != NULL && *mp->name != '\0', 147 if (mp2 == mp) { 153 } else if (strcmp(mp2->name, mp->name) == 0) { 162 LIST_INIT(&mp 181 g_unload_class(struct g_class *mp) argument 254 struct g_class *mp; local 303 struct g_class *mp, *mp2; local 346 g_retaste(struct g_class *mp) argument 371 g_new_geomf(struct g_class *mp, const char *fmt, ...) argument 483 struct g_class *mp; local 563 struct g_class *mp; local 678 struct g_class *mp; local 1353 struct g_class *mp; local 1545 db_show_geom_class(struct g_class *mp) argument 1562 struct g_class *mp; local [all...] |
/freebsd-current/sys/dev/qlxge/ |
H A D | qls_isr.c | 127 struct mbuf *mp = NULL; local 161 mp = rxb->m_head; 164 if (mp == NULL) { 165 device_printf(dev, "%s: mp == NULL\n", __func__); 167 mp->m_flags |= M_PKTHDR; 168 mp->m_pkthdr.len = cq_e->length; 169 mp->m_pkthdr.rcvif = ifp; 170 mp->m_len = cq_e->length; 172 eh = mtod(mp, struct ether_vlan_header *); 177 mp [all...] |
/freebsd-current/sys/netinet6/ |
H A D | ip6_input.c | 396 ip6_input_hbh(struct mbuf **mp, uint32_t *plen, uint32_t *rtalert, int *off, argument 403 if (ip6_hopopts_input(plen, rtalert, mp, off)) { 405 in6_ifstat_inc((*mp)->m_pkthdr.rcvif, ifs6_in_discard); 411 m = *mp; 947 struct mbuf **mp, int *offp) 949 struct mbuf *m = *mp; 958 *mp = NULL; 969 *mp = NULL; 978 *mp = NULL; 983 *mp 946 ip6_hopopts_input(u_int32_t *plenp, u_int32_t *rtalertp, struct mbuf **mp, int *offp) argument 1176 ip6_savecontrol_v4(struct inpcb *inp, struct mbuf *m, struct mbuf **mp, int *v4only) argument 1375 ip6_savecontrol(struct inpcb *inp, struct mbuf *m, struct mbuf **mp) argument [all...] |
/freebsd-current/contrib/ntp/libparse/ |
H A D | parsestreams.c | 444 mblk_t *mp; local 446 mp = allocb(sizeof(struct stroptions), BPRI_MED); 447 if (mp) 449 struct stroptions *str = (struct stroptions *)(void *)mp->b_rptr; 455 mp->b_datap->db_type = M_SETOPTS; 456 mp->b_wptr += sizeof(struct stroptions); 457 putnext(q, mp); 604 mblk_t *mp; local 606 while ((mp = getq(q))) 608 if (canput(q->q_next) || (mp [all...] |
H A D | parsesolaris.c | 288 register mblk_t *mp; local 292 mp = allocb(sizeof(struct stroptions), BPRI_MED); 293 if (mp) 295 struct stroptions *str = (void *)mp->b_wptr; 301 mp->b_datap->db_type = M_SETOPTS; 302 mp->b_wptr += sizeof(struct stroptions); 305 putnext(q, mp); 446 mblk_t *mp; local 448 while ((mp = getq(q))) 450 if (canputnext(q) || (mp 621 mblk_t *mp = imp; local [all...] |
/freebsd-current/contrib/netbsd-tests/fs/vfs/ |
H A D | t_renamerace.c | 91 renamerace(const atf_tc_t *tc, const char *mp) argument 110 RL(rump_sys_chdir(mp)); 135 if (msdosfs_fstest_unmount(tc, mp, 0) != 0) { 136 rump_pub_vfs_mount_print(mp, 1); 144 renamerace_dirs(const atf_tc_t *tc, const char *mp) argument 161 RL(rump_sys_chdir(mp));
|
H A D | t_vnops.c | 208 dir_rmdirdotdot(const atf_tc_t *tc, const char *mp) argument 222 md(pb, sizeof(pb), mp, "test/subtest"); 224 md(pb, sizeof(pb), mp, "test"); 251 rename_dir(const atf_tc_t *tc, const char *mp) argument 261 md(pb1, sizeof(pb1), mp, "dir1"); 265 md(pb2, sizeof(pb2), mp, "dir2"); 268 md(pb2, sizeof(pb2), mp, "dir2/subdir"); 272 md(pb3, sizeof(pb3), mp, "dir1/file"); 283 md(pb3, sizeof(pb3), mp, "dir3"); 289 md(pb1, sizeof(pb1), mp, "dir 351 rename_dotdot(const atf_tc_t *tc, const char *mp) argument 380 rename_reg_nodir(const atf_tc_t *tc, const char *mp) argument 458 create_many(const atf_tc_t *tc, const char *mp) argument 507 create_nonalphanum(const atf_tc_t *tc, const char *mp) argument 529 create_nametoolong(const atf_tc_t *tc, const char *mp) argument 570 create_exist(const atf_tc_t *tc, const char *mp) argument 590 rename_nametoolong(const atf_tc_t *tc, const char *mp) argument 642 symlink_len(const atf_tc_t *tc, const char *mp, size_t len) argument 649 RLF(rump_sys_chdir(mp), "%s", mp); local 667 symlink_zerolen(const atf_tc_t *tc, const char *mp) argument 673 symlink_long(const atf_tc_t *tc, const char *mp) argument 689 symlink_root(const atf_tc_t *tc, const char *mp) argument 700 attrs(const atf_tc_t *tc, const char *mp) argument 752 fcntl_lock(const atf_tc_t *tc, const char *mp) argument 854 fcntl_getlock_pids(const atf_tc_t *tc, const char *mp) argument 957 access_simple(const atf_tc_t *tc, const char *mp) argument 981 read_directory(const atf_tc_t *tc, const char *mp) argument 1002 lstat_symlink(const atf_tc_t *tc, const char *mp) argument [all...] |
/freebsd-current/usr.bin/chpass/ |
H A D | util.c | 81 const char **mp; local 99 for (mp = months;; ++mp) { 100 if (!*mp) 102 if (!strncasecmp(*mp, t, 3)) { 103 month = mp - months + 1;
|
/freebsd-current/sys/sys/ |
H A D | kassert.h | 79 #define MPASSERT(exp, mp, msg) do { \ 81 printf("MPASSERT mp %p failed: %s not true at %s:%d (%s)\n",\ 82 (mp), #exp, __FILE__, __LINE__, __func__); \ 91 #define MPPASS(exp, mp) do { \ 93 MPASSERT(exp, mp, ("condition %s not met at %s:%d (%s)", \ 102 #define MPASSERT(exp, mp, msg) do { \ 106 #define MPPASS(exp, mp) do { \
|
/freebsd-current/usr.bin/mail/ |
H A D | list.c | 52 struct message *mp; local 61 for (mp = &message[0]; mp < &message[msgCount]; mp++) 62 if (mp->m_flag & MMARK) 63 *ip++ = mp - &message[0] + 1; 110 struct message *mp; local 306 mp = &message[i - 1]; 309 if ((mp->m_flag & colp->co_mask) 314 for (mp 356 struct message *mp; local 626 struct message *mp; local 668 struct message *mp; local 704 struct message *mp; local 771 struct message *mp; local [all...] |
/freebsd-current/contrib/less/ |
H A D | prompt.c | 64 static char *mp; variable 87 if (mp + len >= message + PROMPT_SIZE) 88 len = (int) (message + PROMPT_SIZE - mp - 1); 89 strncpy(mp, s, len); 90 mp += len; 91 *mp = '\0'; 175 return (mp > message); 355 while (mp > message && mp[-1] == ' ') 356 mp [all...] |
/freebsd-current/sys/geom/raid/ |
H A D | g_raid_ctl.c | 48 g_raid_find_node(struct g_class *mp, const char *name) argument 56 LIST_FOREACH(gp, &mp->geom, geom) { 67 LIST_FOREACH(gp, &mp->geom, geom) { 83 LIST_FOREACH(gp, &mp->geom, geom) { 98 g_raid_ctl_label(struct gctl_req *req, struct g_class *mp) argument 147 g_raid_ctl_stop(struct gctl_req *req, struct g_class *mp) argument 168 sc = g_raid_find_node(mp, nodename); 187 g_raid_ctl_other(struct gctl_req *req, struct g_class *mp) argument 208 sc = g_raid_find_node(mp, nodename); 225 g_raid_ctl(struct gctl_req *req, struct g_class *mp, cons argument [all...] |
/freebsd-current/sys/fs/nullfs/ |
H A D | null_subr.c | 93 null_hashget_locked(struct mount *mp, struct vnode *lowervp) argument 110 if (a->null_lowervp == lowervp && NULLTOV(a)->v_mount == mp) { 126 null_hashget(struct mount *mp, struct vnode *lowervp) argument 136 vp = null_hashget_locked(mp, lowervp); 143 null_hashins(struct mount *mp, struct null_node *xp) argument 156 NULLTOV(oxp)->v_mount == mp) { 189 null_nodeget(struct mount *mp, struct vnode *lowervp, struct vnode **vpp) argument 199 *vpp = null_hashget(mp, lowervp); 213 error = getnewvnode("nullfs", mp, &null_vnodeops, &vp); 230 *vpp = null_hashget_locked(mp, lowerv [all...] |
/freebsd-current/contrib/netbsd-tests/fs/ptyfs/ |
H A D | t_ptyfs.c | 23 mountptyfs(const char *mp, int flags) argument 27 if (rump_sys_mkdir("/mp", 0777) == -1) { 34 if (rump_sys_mount(MOUNT_PTYFS, mp, flags, &args, sizeof(args)) == -1) 49 mountptyfs("/mp", 0); 50 if (rump_sys_unmount("/mp", 0) == -1)
|
/freebsd-current/libexec/talkd/ |
H A D | extern.h | 42 void process_request(CTL_MSG *mp, CTL_RESPONSE *rp);
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | kcondvar.h | 61 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, argument 65 return (cv_timedwait_sbt(cvp, mp, nstosbt(tim), nstosbt(res), 0));
|
/freebsd-current/usr.sbin/rpc.umntall/ |
H A D | mounttab.c | 144 struct mtablist *mtabp, *mp; local 157 for (mp = mtabp->mtab_next; mp != NULL; mp = mp->mtab_next) 158 if (strcmp(mtabp->mtab_host, mp->mtab_host) == 0 && 159 strcmp(mtabp->mtab_dirp, mp->mtab_dirp) == 0) 161 if (mp != NULL)
|
/freebsd-current/usr.bin/chkey/ |
H A D | Makefile | 12 LIBADD+= rpcsvc mp
|