HomeSort by: relevance | last modified time | path
    Searched refs:mp (Results 1 - 25 of 498) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/ufs/ufs/
ufs_wapbl.h 86 ufs_wapbl_begin(struct mount *mp, const char *file, int line)
88 if (mp->mnt_wapbl) {
90 error = wapbl_begin(mp->mnt_wapbl, file, line);
98 ufs_wapbl_end(struct mount *mp)
100 if (mp->mnt_wapbl) {
101 wapbl_end(mp->mnt_wapbl);
105 #define UFS_WAPBL_BEGIN(mp) \
106 ufs_wapbl_begin(mp, __func__, __LINE__)
107 #define UFS_WAPBL_END(mp) ufs_wapbl_end(mp)
    [all...]
  /src/tools/compat/
getmode.c 39 mode_t *mp = malloc(sizeof(mode_t)); local in function:setmode
41 *mp = strtoul(str, NULL, 8);
43 return mp;
47 getmode(const void *mp, mode_t mode)
51 m = *((const mode_t *)mp);
  /src/sys/fs/tmpfs/
tmpfs_mem.c 52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit)
55 mutex_init(&mp->tm_acc_lock, MUTEX_DEFAULT, IPL_NONE);
56 mp->tm_mem_limit = memlimit;
57 mp->tm_bytes_used = 0;
61 tmpfs_mntmem_destroy(struct tmpfs_mount *mp)
64 KASSERT(mp->tm_bytes_used == 0);
65 mutex_destroy(&mp->tm_acc_lock);
69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit)
73 mutex_enter(&mp->tm_acc_lock);
74 if (round_page(mp->tm_bytes_used) >= memlimit
    [all...]
  /src/games/hack/
def.edog.h 74 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
  /src/usr.bin/mail/
thread.c 90 show_msg(struct message *mp)
92 if (mp == NULL)
100 mp->m_index, mp,
101 mp->m_flink, mp->m_blink, mp->m_clink, mp->m_plink,
102 mp->m_depth, mp->m_flag)
232 struct message *mp; local in function:get_message
361 struct message *mp; local in function:reindex
415 struct message *mp; local in function:redepth
719 struct message *mp; local in function:flattencmd
726 struct message *mp; local in function:flattencmd
745 struct message *mp; \/* the message the following refer to *\/ member in struct:key_sort_s
934 struct message *mp; member in struct:thread_on_reference::__anon60bcab380308
1094 struct message *mp; local in function:tagbelowcmd
1208 struct message *mp; local in function:upcmd
1232 struct message *mp; local in function:downcmd
1254 struct message *mp; local in function:tsetcmd
1277 struct message *mp; local in function:reversecmd_core
1715 struct message *mp; local in function:deldupscmd
    [all...]
quit.c 77 struct message *mp; local in function:writeback
98 for (mp = get_message(1); mp; mp = next_message(mp))
99 if ((mp->m_flag & MPRESERVE) || (mp->m_flag & MTOUCH)==0) {
101 if (sendmessage(mp, obuf, NULL, NULL, NULL) < 0) {
139 struct message *mp; local in function:edstop
156 for (mp = get_message(1), gotcha = 0; mp; mp = next_message(mp))
270 struct message *mp; local in function:quit
    [all...]
  /src/lib/libc/db/mpool/
mpool.c 78 MPOOL *mp; local in function:mpool_open
95 if ((mp = calloc(1, sizeof(*mp))) == NULL)
97 TAILQ_INIT(&mp->lqh);
99 TAILQ_INIT(&mp->hqh[entry]);
100 mp->maxcache = maxcache;
101 mp->npages = (pgno_t)(sb.st_size / pagesize);
102 mp->pagesize = pagesize;
103 mp->fd = fd;
104 return mp;
    [all...]
  /src/lib/libskey/
skeylogin.c 49 int getskeyprompt(struct skey *mp, char *name, char *prompt)
54 rval = skeylookup(mp, name);
63 mp->n - 1, SKEY_MAX_SEED_LEN, mp->seed);
66 fclose(mp->keyfile);
67 mp->keyfile = NULL;
80 int skeychallenge(struct skey *mp, const char *name, char *ss, size_t sslen)
84 rval = skeylookup(mp, name);
92 skey_get_algorithm(), mp->n - 1,
93 SKEY_MAX_SEED_LEN, mp->seed)
    [all...]
  /src/libexec/talkd/
process.c 69 process_request(CTL_MSG *mp, CTL_RESPONSE *rp)
74 rp->type = mp->type;
76 mp->id_num = ntohl(mp->id_num);
77 mp->addr.sa_family = ntohs(mp->addr.sa_family);
78 mp->ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
79 mp->pid = ntohl(mp->pid)
    [all...]
print.c 73 print_request(const char *cp, CTL_MSG *mp)
78 if (mp->type >= NTYPES) {
79 (void)snprintf(tbuf, sizeof tbuf, "type %d", mp->type);
82 tp = types[mp->type];
85 cp, tp, mp->id_num, mp->l_name, mp->r_name, mp->r_tty);
  /src/sys/kern/
vfs_mount.c 155 struct mount *mp; local in function:vfs_mountalloc
158 mp = kmem_zalloc(sizeof(*mp), KM_SLEEP);
159 mp->mnt_op = vfsops;
160 mp->mnt_refcnt = 1;
161 TAILQ_INIT(&mp->mnt_vnodelist);
162 mp->mnt_renamelock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
163 mp->mnt_vnodelock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
164 mp->mnt_updating = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
165 mp->mnt_vnodecovered = vp
189 struct mount *mp; local in function:vfs_rootmountalloc
276 struct mount *mp; local in function:vfs_getvfs
486 struct mount *mp = VIMPL_TO_VNODE(mvip)->v_mount; local in function:vfs_vnode_iterator_next1
806 struct mount *mp; local in function:mount_domount
1058 struct mount *mp, *nmp; local in function:vfs_unmount_next
1080 struct mount *mp; local in function:vfs_unmount_forceone
1110 struct mount *mp; local in function:vfs_unmountall1
1335 struct mount *mp; local in function:vfs_mountroot
1614 struct mount *mp; local in function:_mountlist_iterator_next
    [all...]
  /src/sys/dev/mscp/
mscp.c 107 struct mscp *mp; local in function:mscp_getcp
139 mp = &mri->mri_ring[i];
146 mp->mscp_msglen = MSCP_MSGLEN;
147 mp->mscp_flags = 0;
148 mp->mscp_modifier = 0;
149 mp->mscp_seq.seq_bytecount = 0;
150 mp->mscp_seq.seq_buffer = 0;
151 mp->mscp_seq.seq_mapbase = 0;
152 /*???*/ mp->mscp_sccc.sccc_errlgfl = 0;
153 /*???*/ mp->mscp_sccc.sccc_copyspd = 0
172 struct mscp *mp; local in function:mscp_dorsp
    [all...]
mscp_subr.c 180 volatile struct mscp *mp; local in function:mscp_attach
263 mp = mscp_getcp(mi, MSCP_DONTWAIT);
264 if (mp == NULL)
266 mp->mscp_opcode = M_OP_GETUNITST;
267 mp->mscp_unit = unit;
268 mp->mscp_modifier = M_GUM_NEXTUNIT;
269 *mp->mscp_addr |= MSCP_OWN | MSCP_INT;
271 mscp_cold_unit = mp->mscp_unit;
274 mp = &mscp_cold_reply;
277 while (!mp->mscp_opcode)
368 struct mscp *mp; local in function:mscp_init
474 struct mscp *mp; local in function:mscp_initds
527 struct mscp *mp = da->da_mp; local in function:mscp_print
560 struct mscp *mp; local in function:mscp_kickaway
604 struct mscp *mp; local in function:mscp_dgo
    [all...]
  /src/sys/miscfs/genfs/
genfs_vfsops.c 42 genfs_statvfs(struct mount *mp, struct statvfs *sbp)
56 copy_statvfs_info(sbp, mp);
62 genfs_renamelock_enter(struct mount *mp)
64 mutex_enter(mp->mnt_renamelock);
70 genfs_renamelock_exit(struct mount *mp)
72 mutex_exit(mp->mnt_renamelock);
76 genfs_suspendctl(struct mount *mp, int cmd)
82 error = fstrans_setstate(mp, FSTRANS_SUSPENDING);
85 error = fstrans_setstate(mp, FSTRANS_SUSPENDED);
89 error = fstrans_setstate(mp, FSTRANS_NORMAL)
    [all...]
layer_vfsops.c 117 layerfs_start(struct mount *mp, int flags)
121 return VFS_START(mp->mnt_lower, flags);
128 layerfs_root(struct mount *mp, int lktype, struct vnode **vpp)
132 vp = MOUNTTOLAYERMOUNT(mp)->layerm_rootvp;
147 layerfs_quotactl(struct mount *mp, struct quotactl_args *args)
151 error = vfs_busy(mp);
153 error = VFS_QUOTACTL(mp->mnt_lower, args);
154 vfs_unbusy(mp);
161 layerfs_statvfs(struct mount *mp, struct statvfs *sbp)
167 error = vfs_busy(mp);
    [all...]
  /src/tests/fs/vfs/
t_link.c 59 hardlink(const atf_tc_t *tc, const char *mp, uid_t u1, uid_t u2,
106 hardlink_sameuser(const atf_tc_t *tc, const char *mp)
108 hardlink(tc, mp, 1, 1, false, true);
112 hardlink_sameuser_sysctl(const atf_tc_t *tc, const char *mp)
114 hardlink(tc, mp, 1, 1, true, true);
118 hardlink_otheruser(const atf_tc_t *tc, const char *mp)
120 hardlink(tc, mp, 1, 2, false, true);
124 hardlink_otheruser_sysctl(const atf_tc_t *tc, const char *mp)
126 hardlink(tc, mp, 1, 2, true, false);
130 hardlink_rootuser(const atf_tc_t *tc, const char *mp)
    [all...]
t_rwtoro.c 58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno)
72 RL(rump_sys_statvfs1(mp, &sbuf, ST_WAIT));
77 mount_args_length = rump_sys_mount(sbuf.f_fstypename, mp, MNT_GETARGS,
82 error = rump_sys_mount(sbuf.f_fstypename, mp, MNT_UPDATE | MNT_RDONLY,
129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno,
138 nargs.nulla_target = __UNCONST(mp);
143 (*pre)(use_layer ? null_mount : mp);
144 remount_ro(tc, mp, expected_errno);
146 (*post)(use_layer ? null_mount : mp);
152 noneopen(const atf_tc_t *tc, const char *mp)
    [all...]
  /src/sys/ufs/lfs/
ulfs_vfsops.c 78 ulfs_start(struct mount *mp, int flags)
88 ulfs_root(struct mount *mp, int lktype, struct vnode **vpp)
93 if ((error = VFS_VGET(mp, (ino_t)ULFS_ROOTINO, lktype, &nvp)) != 0)
103 ulfs_quotactl(struct mount *mp, struct quotactl_args *args)
107 (void) mp;
115 error = vfs_busy(mp);
119 mutex_enter(mp->mnt_updating);
121 error = lfsquota_handle_cmd(mp, l, args);
123 mutex_exit(mp->mnt_updating);
124 vfs_unbusy(mp);
    [all...]
  /src/usr.sbin/lpr/lpd/
modes.c 201 const struct modes *mp; local in function:msearch
206 for (mp = cmodes; mp->name; ++mp)
207 if (CHK(mp->name)) {
208 ip->t.c_cflag &= ~mp->unset;
209 ip->t.c_cflag |= mp->set;
213 for (mp = imodes; mp->name; ++mp)
    [all...]
  /src/games/gomoku/
stoc.c 68 ctos(const char *mp)
71 if (strcmp(mp, "resign") == 0 || strcmp(mp, "quit") == 0)
73 if (strcmp(mp, "save") == 0)
76 int letter = toupper((unsigned char)mp[0]);
83 int y = atoi(&mp[1]);
  /src/lib/libutil/
getmntopts.c 64 getmntoptstr(mntoptparse_t mp, const char *opt)
68 for (m = mp->mopts; m->m_option != NULL; m++)
79 return mp->optarg[m - mp->mopts];
83 getmntoptnum(mntoptparse_t mp, const char *opt)
88 const char *val = getmntoptstr(mp, opt);
115 freemntopts(mntoptparse_t mp)
117 free(mp->optbuf);
118 free(mp->optarg);
119 free(mp);
131 mntoptparse_t mp; local in function:getmntopts
    [all...]
  /src/sys/miscfs/overlay/
overlay_vfsops.c 101 ov_mount(struct mount *mp, const char *path, void *data, size_t *data_len)
111 printf("ov_mount(mp = %p)\n", mp);
119 if (mp->mnt_flag & MNT_GETARGS) {
120 lmp = MOUNTTOLAYERMOUNT(mp);
131 if (mp->mnt_flag & MNT_UPDATE)
137 lowerrootvp = mp->mnt_vnodecovered;
149 mp->mnt_data = nmp;
155 vfs_getnewfsid(mp);
156 error = vfs_set_lowermount(mp, lowerrootvp->v_mount)
    [all...]
  /src/games/monop/
houses.c 62 MON *mp; local in function:buy_houses
75 mp = op->sqr->desc->mon_desc;
76 names[num_mon] = (monops[num_mon]=mp)->name;
79 for (i = 0; i < mp->num_in; i++) {
118 MON *mp; local in function:buy_h
127 mp = mnp;
128 price = mp->h_cost * 50;
144 list_cur(mp);
147 for (i = 0; i < mp->num_in; i++) {
148 pp = mp->sq[i]->desc
222 MON *mp; local in function:sell_houses
268 MON *mp; local in function:sell_h
    [all...]
  /src/sys/fs/v7fs/
v7fs_vfsops.c 79 v7fs_mount(struct mount *mp, const char *path, void *data, size_t *data_len)
83 struct v7fs_mount *v7fsmount = (void *)mp->mnt_data;
86 bool update = mp->mnt_flag & MNT_UPDATE;
88 DPRINTF("mnt_flag=%x %s\n", mp->mnt_flag, update ? "update" : "");
95 if (mp->mnt_flag & MNT_GETARGS) {
157 (mp->mnt_iflag & IMNT_WANTRDWR) != 0 :
158 (mp->mnt_flag & MNT_RDONLY) == 0)
163 KAUTH_REQ_SYSTEM_MOUNT_DEVICE, mp, devvp,
174 if ((error = v7fs_openfs(devvp, mp, l))) {
179 if ((error = v7fs_mountfs(devvp, mp, args->endian)))
566 struct mount *mp; local in function:v7fs_mountroot
    [all...]
  /src/sys/miscfs/nullfs/
null_vfsops.c 97 nullfs_mount(struct mount *mp, const char *path, void *data, size_t *data_len)
112 if (mp->mnt_flag & MNT_GETARGS) {
113 lmp = MOUNTTOLAYERMOUNT(mp);
122 if (mp->mnt_flag & MNT_UPDATE)
140 mp->mnt_data = nmp;
141 mp->mnt_iflag |= lowerrootvp->v_mount->mnt_iflag & IMNT_MPSAFE;
142 mp->mnt_iflag |= lowerrootvp->v_mount->mnt_iflag & IMNT_SHRLOOKUP;
148 vfs_getnewfsid(mp);
149 error = vfs_set_lowermount(mp, lowerrootvp->v_mount);
163 error = layer_node_create(mp, lowerrootvp, &vp)
    [all...]

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 91011>>