Home
last modified time | relevance | path

Searched refs:master (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/freebsd/crypto/openssl/test/ssl-tests/
H A D30-extended-master-secret.cnf5 test-0 = 0-disable-extended-master-secret-server-sha
6 test-1 = 1-disable-extended-master-secret-client-sha
7 test-2 = 2-disable-extended-master-secret-both-sha
8 test-3 = 3-disable-extended-master-secret-both-resume
9 test-4 = 4-disable-extended-master-secret-server-sha2
10 test-5 = 5-disable-extended-master-secret-client-sha2
11 test-6 = 6-disable-extended-master-secret-both-sha2
14 [0-disable-extended-master-secret-server-sha]
15 ssl_conf = 0-disable-extended-master-secret-server-sha-ssl
17 [0-disable-extended-master-secret-server-sha-ssl]
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_stub.c104 struct drm_master *master; in drm_master_create() local
106 master = malloc(sizeof(*master), DRM_MEM_KMS, M_NOWAIT | M_ZERO); in drm_master_create()
107 if (!master) in drm_master_create()
110 refcount_init(&master->refcount, 1); in drm_master_create()
111 mtx_init(&master->lock.spinlock, "drm_master__lock__spinlock", in drm_master_create()
113 DRM_INIT_WAITQUEUE(&master->lock.lock_queue); in drm_master_create()
114 drm_ht_create(&master->magiclist, DRM_MAGIC_HASH_ORDER); in drm_master_create()
115 INIT_LIST_HEAD(&master->magicfree); in drm_master_create()
116 master->minor = minor; in drm_master_create()
118 list_add_tail(&master->head, &minor->master_list); in drm_master_create()
[all …]
H A Ddrm_ioctl.c55 struct drm_master *master = file_priv->master; in drm_getunique() local
57 if (u->unique_len >= master->unique_len) { in drm_getunique()
58 if (copy_to_user(u->unique, master->unique, master->unique_len)) in drm_getunique()
61 u->unique_len = master->unique_len; in drm_getunique()
68 struct drm_master *master) in drm_unset_busid() argument
71 free(master->unique, DRM_MEM_DRIVER); in drm_unset_busid()
72 master->unique = NULL; in drm_unset_busid()
73 master->unique_len = 0; in drm_unset_busid()
74 master->unique_size = 0; in drm_unset_busid()
95 struct drm_master *master = file_priv->master; in drm_setunique() local
[all …]
H A Ddrm_lock.c59 struct drm_master *master = file_priv->master; in drm_lock() local
72 master->lock.hw_lock->lock, lock->flags); in drm_lock()
74 mtx_lock(&master->lock.spinlock); in drm_lock()
75 master->lock.user_waiters++; in drm_lock()
76 mtx_unlock(&master->lock.spinlock); in drm_lock()
80 if (!master->lock.hw_lock) { in drm_lock()
87 if (drm_lock_take(&master->lock, lock->context)) { in drm_lock()
88 master->lock.file_priv = file_priv; in drm_lock()
89 master->lock.lock_time = jiffies; in drm_lock()
96 ret = -sx_sleep(&master->lock.lock_queue, &drm_global_mutex, in drm_lock()
[all …]
H A Ddrm_auth.c51 static struct drm_file *drm_find_file(struct drm_master *master, drm_magic_t magic) in drm_find_file() argument
56 struct drm_device *dev = master->minor->dev; in drm_find_file()
59 if (!drm_ht_find_item(&master->magiclist, (unsigned long)magic, &hash)) { in drm_find_file()
78 static int drm_add_magic(struct drm_master *master, struct drm_file *priv, in drm_add_magic() argument
82 struct drm_device *dev = master->minor->dev; in drm_add_magic()
91 drm_ht_insert_item(&master->magiclist, &entry->hash_item); in drm_add_magic()
92 list_add_tail(&entry->head, &master->magicfree); in drm_add_magic()
107 int drm_remove_magic(struct drm_master *master, drm_magic_t magic) in drm_remove_magic() argument
111 struct drm_device *dev = master->minor->dev; in drm_remove_magic()
116 if (drm_ht_find_item(&master->magiclist, (unsigned long)magic, &hash)) { in drm_remove_magic()
[all …]
H A Ddrm_fops.c223 if (!priv->minor->master) { in drm_open_helper()
225 priv->minor->master = drm_master_create(priv->minor); in drm_open_helper()
226 if (!priv->minor->master) { in drm_open_helper()
234 priv->master = drm_master_get(priv->minor->master); in drm_open_helper()
240 ret = dev->driver->master_create(dev, priv->master); in drm_open_helper()
244 drm_master_put(&priv->minor->master); in drm_open_helper()
245 drm_master_put(&priv->master); in drm_open_helper()
255 drm_master_put(&priv->minor->master); in drm_open_helper()
256 drm_master_put(&priv->master); in drm_open_helper()
264 priv->master = drm_master_get(priv->minor->master); in drm_open_helper()
[all …]
H A Ddrm_pci.c190 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid() argument
193 master->unique_len = 40; in drm_pci_set_busid()
194 master->unique_size = master->unique_len; in drm_pci_set_busid()
195 master->unique = malloc(master->unique_size, DRM_MEM_DRIVER, M_NOWAIT); in drm_pci_set_busid()
196 if (master->unique == NULL) in drm_pci_set_busid()
200 len = snprintf(master->unique, master->unique_len, in drm_pci_set_busid()
207 if (len >= master->unique_len) { in drm_pci_set_busid()
212 master->unique_len = len; in drm_pci_set_busid()
220 struct drm_master *master, in drm_pci_set_unique() argument
225 master->unique_len = u->unique_len; in drm_pci_set_unique()
[all …]
H A Ddrm_platform.c47 static int drm_platform_set_busid(struct drm_device *dev, struct drm_master *master) in drm_platform_set_busid() argument
51 master->unique_len = 13 + strlen(dev->driver->name); in drm_platform_set_busid()
52 master->unique_size = master->unique_len; in drm_platform_set_busid()
53 master->unique = malloc(master->unique_len + 1, DRM_MEM_DRIVER, M_NOWAIT); in drm_platform_set_busid()
55 if (master->unique == NULL) in drm_platform_set_busid()
66 len = snprintf(master->unique, master->unique_len, in drm_platform_set_busid()
69 if (len > master->unique_len) { in drm_platform_set_busid()
/freebsd/lib/libutil/
H A Dpty.c51 int master, slave; in openpty() local
53 master = posix_openpt(O_RDWR|O_NOCTTY); in openpty()
54 if (master == -1) in openpty()
57 if (grantpt(master) == -1) in openpty()
60 if (unlockpt(master) == -1) in openpty()
63 slavename = ptsname(master); in openpty()
71 *amaster = master; in openpty()
83 bad: close(master); in openpty()
90 int master, slave, pid; in forkpty() local
92 if (openpty(&master, &slave, name, termp, winp) == -1) in forkpty()
[all …]
/freebsd/contrib/netbsd-tests/kernel/tty/
H A Dt_pr.c72 exercise_ptytty(int master, int slave) in exercise_ptytty() argument
79 error = sendsome(master, slave); in exercise_ptytty()
84 rump_sys_ioctl(master, TIOCFLUSH, &flags); in exercise_ptytty()
89 error = sendsome(slave, master); in exercise_ptytty()
94 rump_sys_ioctl(master, TIOCFLUSH, &flags); in exercise_ptytty()
108 int master, slave, error, v; in ATF_TC_BODY() local
114 master = rump_sys_open("/dev/ptyp1", O_RDWR); in ATF_TC_BODY()
115 ATF_CHECK(master != -1); in ATF_TC_BODY()
119 error = exercise_ptytty(master, slave); in ATF_TC_BODY()
122 rump_sys_close(master); in ATF_TC_BODY()
[all …]
/freebsd/usr.sbin/periodic/etc/daily/
H A D200.backup-passwd15 if [ ! -f /etc/master.passwd ]
32 if [ ! -f $bak/master.passwd.bak ]
36 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3
39 if ! cmp -s $bak/master.passwd.bak /etc/master.passwd
43 diff ${daily_diff_flags} -I '^#' $bak/master.passwd.bak /etc/master.passwd |\
45 mv $bak/master.passwd.bak $bak/master.passwd.bak2
46 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3
/freebsd/sys/contrib/device-tree/Bindings/iommu/
H A Diommu.txt2 master(s).
29 IOMMUs can be single-master or multiple-master. Single-master IOMMU devices
30 typically have a fixed association to the master device, whereas multiple-
31 master IOMMU devices can translate accesses from more than one master.
46 - #iommu-cells = <0>: Single master IOMMU devices are not configurable and
48 This may also apply to multiple master IOMMU devices that do not allow the
50 be multi-master yet only expose a single master in a given configuration.
52 - #iommu-cells = <1>: Multiple master IOMMU devices may need to be configured
53 in order to enable translation for a given master. In such cases the single
54 address cell corresponds to the master device's ID. In some cases more than
[all …]
/freebsd/tests/sys/kern/
H A Dtty_pts.c23 int master, slave; in ATF_TC_BODY() local
26 ATF_REQUIRE_EQ(0, newpty(&master, &slave)); in ATF_TC_BODY()
29 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY()
33 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY()
37 ATF_REQUIRE_EQ(sizeof(buf) - 1, read(master, rbuf, sizeof(rbuf))); in ATF_TC_BODY()
38 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY()
46 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY()
55 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY()
57 ATF_REQUIRE_EQ(0, read(master, rbuf, sizeof(rbuf))); in ATF_TC_BODY()
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dbrcm,kona-ccu.txt62 "brcm,bcm11351-master-ccu"
81 master sdio1 peri 0 BCM281XX_MASTER_CCU_SDIO1
82 master sdio2 peri 1 BCM281XX_MASTER_CCU_SDIO2
83 master sdio3 peri 2 BCM281XX_MASTER_CCU_SDIO3
84 master sdio4 peri 3 BCM281XX_MASTER_CCU_SDIO4
85 master dmac peri 4 BCM281XX_MASTER_CCU_DMAC
86 master usb_ic peri 5 BCM281XX_MASTER_CCU_USB_IC
87 master hsic2_48m peri 6 BCM281XX_MASTER_CCU_HSIC_48M
88 master hsic2_12m peri 7 BCM281XX_MASTER_CCU_HSIC_12M
107 "brcm,bcm21664-master-ccu"
[all …]
/freebsd/usr.sbin/pw/tests/
H A Dhelper_functions.shin11 cp ${TESTDIR}/master.passwd ${HOME} || \
12 atf_fail "Populating master.passwd in ${HOME}"
16 pwd_mkdb -p -d ${HOME} ${HOME}/master.passwd || \
17 atf_fail "generate passwd from master.passwd"
23 cp ${TESTDIR}/master.passwd ${HOME}/etc || \
24 atf_fail "Populating master.passwd in ${HOME}/etc"
29 pwd_mkdb -p -d ${HOME}/etc ${HOME}//etc/master.passwd || \
30 atf_fail "generate passwd from master.passwd"
H A Dpw_usermod_test.sh14 grep "^test:.*" $HOME/master.passwd
26 grep "^test:.*" $HOME/master.passwd
37 grep "^test:.*:Test User,work,123,456:" $HOME/master.passwd
49 grep "^test:.*:Test User,home,123,456:" $HOME/master.passwd
61 grep "^test:.*:Test User,work,123:456,456:" $HOME/master.passwd
63 grep "^test:\*" $HOME/master.passwd
75 grep "^test:.*:Test User,work,123:456,456:" $HOME/master.passwd
77 grep "^test:\*" $HOME/master.passwd
88 grep "^bar:.*" $HOME/master.passwd
99 grep "^foo:.*" $HOME/master.passwd
[all …]
H A Dpw_useradd_test.sh12 grep "^test:.*" $HOME/master.passwd
21 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
31 grep '^test:.*:Test User,work!,123,user@example.com:' $HOME/master.passwd
41 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
52 grep "^test:.*:Test User,work,123:456,456:" $HOME/master.passwd
62 atf_check -s exit:1 -o empty grep "^test:.*" $HOME/master.passwd
183 atf_check -s exit:1 -o empty grep "^test user:.*" $HOME/master.passwd
187 atf_check -s exit:1 -o empty grep "^test user:.*" $HOME/master.passwd
199 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master.passwd
203 atf_check -s exit:1 -o empty grep "^${user_name}:.*" $HOME/master
[all...]
H A Dpw_lock_test.sh12 grep "^test:\*LOCKED\*\*:1001:" $HOME/master.passwd
15 grep "^test:\*:1001:" $HOME/master.passwd
24 grep "^test:\*LOCKED\*\*:1001:" $HOME/master.passwd
27 grep "^test:\*:1001:" $HOME/master.passwd
32 grep "^1001:\*LOCKED\*\*:1002:" $HOME/master.passwd
35 grep "^1001:\*:1002:" $HOME/master.passwd
/freebsd/sys/contrib/device-tree/Bindings/fsi/
H A Dfsi.txt8 that is an I2C master - the I2C bus can be described by the device tree under
11 FSI masters may require their own DT nodes (to describe the master HW itself);
12 that requirement is defined by the master's implementation, and is described by
13 the fsi-master-* binding specifications.
18 fsi-master {
19 /* top-level of FSI bus topology, bound to an FSI master driver and
46 FSI master nodes declare themselves as such with the "fsi-master" compatible
50 compatible = "fsi-master-gpio", "fsi-master";
52 Since the master nodes describe the top-level of the FSI topology, they also
59 An optional boolean property can be added to indicate that a particular master
[all …]
/freebsd/tools/test/stress2/testcases/pty/
H A Dpty.c58 int i, master, slave; in test() local
79 if (openpty(&master, &slave, slname, NULL, NULL) == -1) in test()
82 if (close(master) == -1) in test()
89 if (close(master) == -1) in test()
94 if (openpty(&master, &slave, slname, NULL, NULL) == -1) in test()
103 if (write(master, TXT, sizeof(TXT)) == -1) in test()
108 close(master); in test()
/freebsd/contrib/ncurses/progs/
H A Dcapconvert164 master=../misc/terminfo.src
168 master=`find "$HOME" -name "*terminfo.src" -print`
179 echo "I see a file called $master."
187 echo "$master" | sed "/^/s// /";
191 read master;
192 if test -f "$master"
211 sed -n "$master" \
/freebsd/sys/contrib/device-tree/Bindings/ata/
H A Dcortina,gemini-sata-bridge.txt18 Mode 0: ata0 master <-> sata0
19 ata1 master <-> sata1
21 Mode 1: ata0 master <-> sata0
22 ata1 master <-> sata1
24 Mode 2: ata1 master <-> sata1
26 ata0 master and slave interfaces brought out
28 Mode 3: ata0 master <-> sata0
30 ata1 master and slave interfaces brought out
36 and whether master, slave or both interfaces get brought out.
/freebsd/usr.bin/ypwhich/
H A Dypwhich.c139 char *domain, *master, *map = NULL, *host = NULL; in main() local
220 r = yp_master_host(client, domain, map, &master); in main()
222 r = yp_master(domain, map, &master); in main()
226 printf("%s\n", master); in main()
227 free(master); in main()
251 domain, ypml->map, &master); in main()
253 r = yp_master(domain, ypml->map, &master); in main()
257 printf("%s %s\n", ypml->map, master); in main()
258 free(master); in main()
/freebsd/sys/contrib/device-tree/src/arm64/renesas/
H A Dulcb-kf-audio-graph-card-mix+split.dtsi117 bitclock-master;
118 frame-master;
129 bitclock-master;
130 frame-master;
141 bitclock-master;
142 frame-master;
153 bitclock-master;
154 frame-master;
165 bitclock-master;
166 frame-master;
[all...]
/freebsd/crypto/heimdal/lib/roken/
H A Drkpty.c84 static int master; variable
103 if(openpty(&master, &slave, line, 0, 0) == 0) in open_pty()
118 master = open(*q, O_RDWR); in open_pty()
119 if(master >= 0){ in open_pty()
121 grantpt(master); in open_pty()
124 unlockpt(master); in open_pty()
126 strlcpy(line, ptsname(master), sizeof(line)); in open_pty()
219 while((sret = read(master, &in, sizeof(in))) > 0) { in eval_parent()
263 if (net_write(master, &ctrl, 1) != 1) in eval_parent()
266 if (net_write(master, &c->str[i], 1) != 1) in eval_parent()
[all …]

12345678910>>...30