HomeSort by: relevance | last modified time | path
    Searched defs:master (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sys/external/bsd/drm2/drm/
drm_lease.c 47 * drm_lease_owner(master)
50 * from master.
53 drm_lease_owner(struct drm_master *master)
57 while ((lessor = master->lessor) != NULL)
58 master = lessor;
60 return master;
71 struct drm_master *master; local
74 if (file == NULL || (master = file->master) == NULL)
77 mutex_lock(&master->dev->mode_config.idr_mutex)
    [all...]
drm_lock.c 33 * DRM lock. Each drm master has a heavy-weight lock to provide mutual
40 * userland and kernel: the pointer at dev->master->lock->hw_lock is
80 struct drm_master *master = file->master; local
104 spin_lock(&master->lock.spinlock);
106 if (master->lock.user_waiters == UINT32_MAX) {
111 master->lock.user_waiters++;
112 DRM_SPIN_WAIT_UNTIL(error, &master->lock.lock_queue,
113 &master->lock.spinlock,
114 ((master->lock.hw_lock == NULL) |
172 struct drm_master *master = file->master; local
    [all...]
  /src/usr.bin/chpass/
pw_yp.c 65 * Check if rpc.yppasswdd is running on the master YP server.
72 char *master; local
85 master = NULL;
86 if (yp_master(domain, "passwd.byname", &master) != 0) {
87 if (master != NULL)
88 free (master);
95 if ((rpcport = getrpcport(master, YPPASSWDPROG, YPPASSWDPROC_UPDATE,
108 char *master; local
125 master = NULL;
126 if ((r = yp_master(domain, "passwd.byname", &master)) != 0)
    [all...]
  /src/lib/libutil/
pty.c 68 int master, slave; local
81 if ((master = open("/dev/ptm", O_RDWR)) != -1) {
82 if (ioctl(master, TIOCPTMGET, &pt) != -1) {
83 (void)close(master);
84 master = pt.cfd;
89 (void)close(master);
106 if ((master = open(line, O_RDWR, 0)) == -1) {
121 *amaster = master;
131 (void)close(master);
141 int master, slave local
    [all...]
  /src/sys/arch/bebox/stand/boot/
devopen.c 43 * /dev/disk/ide/0/master/0_n
74 char master[] = "master"; local
83 if (strncmp(p, master, strlen(master)) == 0) {
85 p += strlen(master);
  /src/sys/external/bsd/drm2/dist/drm/
drm_lock.c 174 struct drm_master *master = file_priv->master; local
190 master->lock.hw_lock ? master->lock.hw_lock->lock : -1,
193 add_wait_queue(&master->lock.lock_queue, &entry);
194 spin_lock_bh(&master->lock.spinlock);
195 master->lock.user_waiters++;
196 spin_unlock_bh(&master->lock.spinlock);
200 if (!master->lock.hw_lock) {
206 if (drm_lock_take(&master->lock, lock->context))
265 struct drm_master *master = file_priv->master; local
338 struct drm_master *master = file_priv->master; local
    [all...]
drm_auth.c 48 * DOC: master and authentication
52 * least once successfully became the device master (either through the
54 * no one else is the current master that time) there exists one &drm_master.
58 * In addition only one &drm_master can be the current master for a &drm_device.
63 * Clients can authenticate against the current master (if it matches their own)
77 ret = idr_alloc(&file_priv->master->magic_map, file_priv,
100 file = idr_find(&file_priv->master->magic_map, auth->magic);
103 idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
112 struct drm_master *master; local
114 master = kzalloc(sizeof(*master), GFP_KERNEL)
278 struct drm_master *master = file_priv->master; local
336 struct drm_master *master = container_of(kref, struct drm_master, refcount); local
    [all...]
drm_debugfs.c 61 struct drm_master *master; local
64 master = dev->master;
68 if (master && master->unique)
69 seq_printf(m, " master=%s", master->unique);
86 "%20s %5s %3s master a %5s %10s\n",
drm_ioctl.c 89 * side-effect this fills out the unique name in the master structure.
90 * 2. Call GET_UNIQUE to read out the unique name from the master structure,
98 * means the the unique name for the master node just opening is _not_ filled
132 struct drm_master *master; local
136 master = dev->master;
137 if (master == NULL) {
148 if (u->unique_len < master->unique_len) {
151 ret = copy_to_user(u->unique, master->unique,
152 master->unique_len)
174 struct drm_master *master = file_priv->master; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/
nouveau_nvkm_subdev_mmu_umem.c 42 struct nvkm_client *master = client->object.client; local
49 if (client->super && client != master) {
50 spin_lock(&master->lock);
51 list_for_each_entry(umem, &master->umem, head) {
57 spin_unlock(&master->lock);
  /src/tests/kernel/kqueue/read/
t_ttypty.c 68 (void)printf("tty: openpty master %d slave %d tty '%s'\n",
119 ATF_TC(master); variable
120 ATF_TC_HEAD(master, tc)
122 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ for master tty");
124 ATF_TC_BODY(master, tc)
155 (void)printf("tty: openpty master %d slave %d tty '%s'\n",
178 ATF_TP_ADD_TC(tp, master);
  /src/tests/kernel/kqueue/write/
t_ttypty.c 64 (void)printf("tty: openpty master %d slave %d tty '%s'\n",
104 ATF_TC(master); variable
105 ATF_TC_HEAD(master, tc)
107 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_WRITE for master tty");
109 ATF_TC_BODY(master, tc)
126 ATF_TP_ADD_TC(tp, master);
  /src/tests/kernel/tty/
t_pr.c 72 exercise_ptytty(int master, int slave)
77 * send a few bytes from master to slave and read them back
79 error = sendsome(master, slave);
84 rump_sys_ioctl(master, TIOCFLUSH, &flags);
89 error = sendsome(slave, master);
94 rump_sys_ioctl(master, TIOCFLUSH, &flags);
108 int master, slave, error, v; local
114 master = rump_sys_open("/dev/ptyp1", O_RDWR);
115 ATF_CHECK(master != -1);
119 error = exercise_ptytty(master, slave)
136 int master, slave, error; local
    [all...]
  /src/usr.sbin/yppoll/
yppoll.c 92 char *inmap, *master; local
130 &order, &master, tcp);
134 r = yp_master(domainname, inmap, &master);
143 (void)printf("The master server is %s.\n", master);
216 *outname = (char *)strdup(yprm.master);
  /src/usr.sbin/ldpd/
ldp_peer.h 68 int master; /* 0 if we're passive */ member in struct:ldp_peer
  /src/tests/lib/libcurses/director/
director.c 59 int master; /* pty to the slave */ variable
95 if ((count = read(master, &last_words, 255)) > 0) {
253 if ((slave_pid = forkpty(&master, NULL, &term_attr, NULL)) < 0)
275 fcntl(master, F_SETFL, O_NONBLOCK);
  /src/usr.sbin/ypserv/yppush/
yppush.c 110 char *master; local
159 * host but the master. an alternate plan is to find the master
201 * to the local server [should be the master] to make sure it has
230 errx(1, "error finding master for %s in %s: %s", ypi.map,
251 * no host specified, do all hosts the master knows about via
254 rv = yp_master(ypi.ourdomain, "ypservers", &master);
256 errx(1, "error finding master for ypservers in %s: %s",
261 "contacting ypservers %s master on %s for list of ypservs...\n",
262 ypi.ourdomain, master);
    [all...]
  /src/lib/libpam/modules/pam_unix/
pam_unix.c 249 char *master; local
259 * Find the master for the passwd map; it should be running
262 if ((r = yp_master(domain, "passwd.byname", &master)) != 0) {
263 pam_error(pamh, "Can't find master NIS server. Reason: %s",
271 if ((rpcport = getrpcport(master, YPPASSWDPROG,
274 "Master NIS server not running yppasswd daemon.\n\t"
312 client = clnt_create(master, YPPASSWDPROG, YPPASSWDVERS, "udp");
315 master, yperr_string(YPERR_YPBIND));
330 "the master NIS passwd server.", master);
    [all...]
  /src/sys/arch/arm/at91/
at91busvar.h 46 uint32_t master; /* master clock in Hz */ member in struct:at91bus_clocks
56 #define AT91_MSTCLK at91bus_clocks.master
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_file.h 215 * This client is the creator of @master. Protected by struct
224 * @master:
226 * Master this node is currently associated with. Only relevant if
228 * matches &drm_device.master if the master is the currently active one.
233 struct drm_master *master; member in struct:drm_file
  /src/usr.bin/passwd/
yp_passwd.c 177 reason = yp_match(domain, "master.passwd.byname", nam, namlen,
219 char *master; local
275 if ((r = yp_master(domain, "passwd.byname", &master)) != 0)
276 errx(EXIT_FAILURE, "Can't find the master NIS server (%s)",
282 if ((rpcport = getrpcport(master, YPPASSWDPROG,
284 errx(EXIT_FAILURE, "Master NIS server not running yppasswd "
307 client = clnt_create(master, YPPASSWDPROG, YPPASSWDVERS, "udp");
310 master, yperr_string(YPERR_YPBIND));
324 master, "the master NIS passwd server.")
380 char *master; local
    [all...]
  /src/usr.bin/rfcomm_sppd/
rfcomm_sppd.c 295 int master; local
298 * Construct master PTY name. The slave tty name must be less than
311 errx(EXIT_FAILURE, "Master and slave tty are the same (%s)",
314 if ((master = open(pty, O_RDWR)) == -1)
332 return master;
  /src/usr.sbin/sysinst/
run.c 414 int status, master, slave; local
425 if (openpty(&master, &slave, NULL, &tt, win) == -1) {
434 ioctl(master, TIOCPKT, &ttysig_ignore);
442 ioctl(master, FIONREAD, &do_tioccons);
470 (void)close(master);
520 FD_SET(master, &active_fd_set);
558 (void)write(master, ibuf, (size_t)n);
590 close(master);
  /src/usr.sbin/timed/timed/
master.c 1 /* $NetBSD: master.c,v 1.18 2007/01/26 16:12:41 christos Exp $ */
35 static char sccsid[] = "@(#)master.c 8.1 (Berkeley) 6/6/93";
37 __RCSID("$NetBSD: master.c,v 1.18 2007/01/26 16:12:41 christos Exp $");
62 * The main function of `master' is to periodically compute the differences
67 * master's name, remote requests to set the network time, ...), and
71 master(void) function
86 syslog(LOG_NOTICE, "This machine is master");
88 fprintf(fd, "This machine is master\n");
90 if (ntp->status == MASTER)
116 /* If a bogus master told us to quit, we can have decided to ignore
    [all...]
  /src/usr.sbin/ypserv/ypserv/
ypserv_db.c 726 static char master[MAX_MASTER_LEN + 1]; local
742 (void)strlcpy(master, v.dptr, (size_t)v.dsize + 1);
743 res.master = &master[0];

Completed in 398 milliseconds

1 2 3