Home
last modified time | relevance | path

Searched refs:ROUND_DOWN (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/libnsl/nss/
H A Dgethostent.c164 addrp6 = (struct in6_addr *)ROUND_DOWN(buffer + buflen, in __str2hostent()
167 addrvec = (char **)ROUND_DOWN(addrp6, sizeof (*addrvec)); in __str2hostent()
170 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, in __str2hostent()
173 addrvec = (char **)ROUND_DOWN(addrp, sizeof (*addrvec)); in __str2hostent()
H A Dgetipnodeby.c818 buff_locp = (char *)ROUND_DOWN(limit, sizeof (struct in6_addr)); in __mapv4tov6()
1061 buff_locp = (char *)ROUND_DOWN(limit, sizeof (struct in_addr)); in __mappedtov4()
H A Dnetdir_inet.c2262 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, in ndaddr2hent()
2280 addr6p = (struct in6_addr *)ROUND_DOWN(buffer + buflen, in ndaddr2hent()
/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c624 addrp = (struct in_addr *)(ROUND_DOWN(args->buf.buffer +
626 hp->h_addr_list = (char **)(ROUND_DOWN(addrp -
635 (ROUND_DOWN(args->buf.buffer + args->buf.buflen,
637 hp->h_addr_list = (char **)(ROUND_DOWN(addrp6 -
/titanic_41/usr/src/head/
H A Dnss_dbdefs.h816 #define ROUND_DOWN(n, align) (((uintptr_t)n) & ~((align) - 1l)) macro
817 #define ROUND_UP(n, align) ROUND_DOWN(((uintptr_t)n) + (align) - 1l, \
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c138 addrp = (struct in_addr *)ROUND_DOWN(limit, sizeof (*addrp));
151 ROUND_DOWN(limit, sizeof (*addrp6));
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetgrnam_r.c355 limit = (char **)ROUND_DOWN(buffer + buflen, sizeof (char *)); in str2group()
/titanic_41/usr/src/lib/libproject/common/
H A Dgetprojent.c396 limit = (char **)ROUND_DOWN(buffer + buflen, sizeof (char *)); in str2project()