Searched refs:un (Results 1 - 25 of 227) sorted by relevance

12345678910

/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dunique.c82 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); local
84 un->un_value = value;
87 while (un->un_value == 0 || un->un_value & ~UNIQUE_MASK ||
88 avl_find(&unique_avl, un, &idx)) {
90 (void) random_get_pseudo_bytes((void*)&un->un_value,
91 sizeof (un->un_value));
92 un->un_value &= UNIQUE_MASK;
96 avl_insert(&unique_avl, un, idx);
99 return (un
106 unique_t *un; local
[all...]
/freebsd-9.3-release/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c35 #include <sys/un.h>
59 struct sockaddr_un un; local
66 memset(&un, 0, sizeof(un));
67 un.sun_family = AF_LOCAL;
69 strcpy(un.sun_path, TEST_SOCKET);
70 if (bind(s, (struct sockaddr *)&un, sizeof(un)) == -1)
83 if (sendto(conn, buf, sizeof(buf), 0, (struct sockaddr *)&un,
84 sizeof(un)) !
[all...]
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Dstartdaemon.c42 #include <sys/un.h>
61 struct sockaddr_un un; local
71 memset(&un, 0, sizeof(un));
72 un.sun_family = AF_LOCAL;
73 strcpy(un.sun_path, _PATH_SOCKETNAME);
78 connectres = connect(s, (struct sockaddr *)&un, SUN_LEN(&un));
/freebsd-9.3-release/usr.sbin/mount_portalfs/
H A Dmount_portalfs.c49 #include <sys/un.h>
97 struct sockaddr_un un; local
148 un.sun_family = AF_UNIX;
149 if (sizeof(_PATH_TMPPORTAL) >= sizeof(un.sun_path)) {
152 strcpy(un.sun_path, _PATH_TMPPORTAL);
153 mktemp(un.sun_path);
154 un.sun_len = strlen(un.sun_path);
161 (void) unlink(un.sun_path);
162 if (bind(so, (struct sockaddr *) &un, sizeo
[all...]
/freebsd-9.3-release/sys/fs/msdosfs/
H A Ddirentry.h149 int dos2unixfn(u_char dn[11], u_char *un, int lower,
151 int unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen,
153 int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
155 int winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen,
160 int winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp);
161 size_t winLenFixup(const u_char *un, size_t unlen);
H A Dmsdosfs_conv.c237 dos2unixfn(dn, un, lower, pmp)
239 u_char *un;
263 *un++ = *c++;
274 *un++ = '.';
280 *un++ = *c++;
285 *un++ = 0;
302 unix2dosfn(un, dn, unlen, gen, pmp)
303 const u_char *un;
328 if (un[0] == '.' && unlen == 1) {
332 if (un[
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-chdlc.c139 } un; member in struct:cisco_slarp
172 ipaddr_string(&slarp->un.addr.addr),
173 ipaddr_string(&slarp->un.addr.mask));
177 EXTRACT_32BITS(&slarp->un.keep.myseq),
178 EXTRACT_32BITS(&slarp->un.keep.yourseq),
179 EXTRACT_16BITS(&slarp->un.keep.rel));
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/
H A Dcontext_s.c57 set_socket_name(krb5_context context, struct sockaddr_un *un) argument
61 memset(un, 0, sizeof(*un));
62 un->sun_family = AF_UNIX;
63 strlcpy (un->sun_path, fn, sizeof(un->sun_path));
H A Dkadm5_locl.h71 #include <sys/un.h>
/freebsd-9.3-release/lib/libc/gen/
H A Dgetpeereid.c33 #include <sys/un.h>
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dnetaddr.h31 #include <sys/un.h>
42 char un[sizeof(((struct sockaddr_un *)0)->sun_path)]; member in union:isc_netaddr::__anon247
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dnetaddr.h31 #include <sys/un.h>
42 char un[sizeof(((struct sockaddr_un *)0)->sun_path)]; member in union:isc_netaddr::__anon83
/freebsd-9.3-release/contrib/bind9/lib/lwres/unix/include/lwres/
H A Dnet.h58 #include <sys/un.h>
/freebsd-9.3-release/crypto/heimdal/kcm/
H A Dheaders.h62 #include <sys/un.h>
/freebsd-9.3-release/tools/regression/sockets/unix_socket/
H A Dunix_socket.c36 #include <sys/un.h>
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_other.c40 #include <sys/un.h>
84 #include <sys/un.h>
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dallow.py273 un = (sys.argv[1] == "unallow")
284 if un:
317 if un:
321 if len(sys.argv) == 3 and not un:
347 if un and len(args) == expected_len-1:
390 if not un and perms:
395 ds.set_fsacl(un, d)
396 if un and options.recursive:
398 child.set_fsacl(un, d)
H A Ddataset.py188 def set_fsacl(self, un, d):
191 un is True if the specified permissions should be removed.
197 return zfs.ioctl.set_fsacl(self.name, un, d)
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dnetaddr.c59 if (strcmp(a->type.un, b->type.un) != 0)
147 alen = strlen(netaddr->type.un);
151 (const unsigned char *)(netaddr->type.un),
305 if (strlen(path) > sizeof(netaddr->type.un) - 1)
310 strlcpy(netaddr->type.un, path, sizeof(netaddr->type.un));
353 memcpy(t->type.un, s->type.sunix.sun_path, sizeof(t->type.un));
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dnetaddr.c58 if (strcmp(a->type.un, b->type.un) != 0)
146 alen = strlen(netaddr->type.un);
150 (const unsigned char *)(netaddr->type.un),
304 if (strlen(path) > sizeof(netaddr->type.un) - 1)
309 strcpy(netaddr->type.un, path);
352 memmove(t->type.un, s->type.sunix.sun_path, sizeof(t->type.un));
/freebsd-9.3-release/tools/regression/tmpfs/
H A Dh_funcs.subr148 [ $(id -un) = root ] || err "Must be run as root"
/freebsd-9.3-release/crypto/openssl/crypto/rand/
H A Drand_egd.c120 # include <streams/un.h>
122 # include <sys/un.h>
/freebsd-9.3-release/usr.sbin/bluetooth/sdpd/
H A Dserver.c37 #include <sys/un.h>
67 struct sockaddr_un un; local
92 memset(&un, 0, sizeof(un));
93 un.sun_len = sizeof(un);
94 un.sun_family = AF_LOCAL;
95 strlcpy(un.sun_path, control, sizeof(un.sun_path));
97 if (bind(unsock, (struct sockaddr *) &un, sizeo
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtun.c41 #include <sys/un.h>
H A Dserver.c33 #include <sys/un.h>
391 struct sockaddr_un un; local
392 int sz = sizeof un;
394 if (getsockname(server.fd, (struct sockaddr *)&un, &sz) == 0 &&
395 un.sun_family == AF_LOCAL && sz == sizeof un)
396 unlink(un.sun_path);

Completed in 177 milliseconds

12345678910