/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | unique.c | 82 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 D | pr_atomic.c | 35 #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 D | startdaemon.c | 42 #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 D | mount_portalfs.c | 49 #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 D | direntry.h | 149 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 D | msdosfs_conv.c | 237 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 D | print-chdlc.c | 139 } 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 D | context_s.c | 57 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 D | kadm5_locl.h | 71 #include <sys/un.h>
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | getpeereid.c | 33 #include <sys/un.h>
|
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | netaddr.h | 31 #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 D | netaddr.h | 31 #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 D | net.h | 58 #include <sys/un.h>
|
/freebsd-9.3-release/crypto/heimdal/kcm/ |
H A D | headers.h | 62 #include <sys/un.h>
|
/freebsd-9.3-release/tools/regression/sockets/unix_socket/ |
H A D | unix_socket.c | 36 #include <sys/un.h>
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_other.c | 40 #include <sys/un.h> 84 #include <sys/un.h>
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | allow.py | 273 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 D | dataset.py | 188 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 D | netaddr.c | 59 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 D | netaddr.c | 58 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 D | h_funcs.subr | 148 [ $(id -un) = root ] || err "Must be run as root"
|
/freebsd-9.3-release/crypto/openssl/crypto/rand/ |
H A D | rand_egd.c | 120 # include <streams/un.h> 122 # include <sys/un.h>
|
/freebsd-9.3-release/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 37 #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 D | tun.c | 41 #include <sys/un.h>
|
H A D | server.c | 33 #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);
|