Home
last modified time | relevance | path

Searched refs:den (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c136 duid_en_t *den; in make_stable_duid() local
172 den = malloc(sizeof (*den) + UUID_LEN); in make_stable_duid()
173 if (den != NULL) { in make_stable_duid()
176 den->den_dutype = htons(DHCPV6_DUID_EN); in make_stable_duid()
177 DHCPV6_SET_ENTNUM(den, DHCPV6_SUN_ENT); in make_stable_duid()
179 (void) memcpy(den + 1, uuid, UUID_LEN); in make_stable_duid()
180 *duidlen = sizeof (*den) + UUID_LEN; in make_stable_duid()
182 return ((uchar_t *)den); in make_stable_duid()
/titanic_50/usr/src/uts/common/netinet/
H A Ddhcp6.h323 #define DHCPV6_GET_ENTNUM(den) \ argument
324 ((ntohs((den)->den_entho) << 16) + ntohs((den)->den_entlo))
325 #define DHCPV6_SET_ENTNUM(den, val) \ argument
326 ((den)->den_entho = htons((val) >> 16), (den)->den_entlo = htons(val))
/titanic_50/usr/src/cmd/units/
H A Dunits.c84 int lookup(char *name, struct unit *up, int den, int c);
198 int den, err; in convr() local
207 den = 0; in convr()
230 err |= lookup(cp, p, den, c); in convr()
233 den++; in convr()
243 lookup(char *name, struct unit *up, int den, int c) in lookup() argument
258 if(den) { in lookup()
/titanic_50/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c804 duid_en_t den; in inittab_encode_e() local
813 DHCPV6_SET_ENTNUM(&den, enterp); in inittab_encode_e()
815 enterp != DHCPV6_GET_ENTNUM(&den) || in inittab_encode_e()
826 optstart + sizeof (den), &reslen) != 0) { in inittab_encode_e()
831 den.den_dutype = htons(type); in inittab_encode_e()
832 (void) memcpy(optstart, &den, sizeof (den)); in inittab_encode_e()
833 length = reslen + sizeof (den); in inittab_encode_e()
1169 duid_en_t den; in inittab_decode_e() local
1171 if (length < sizeof (den)) { in inittab_decode_e()
1175 (void) memcpy(&den, payload, sizeof (den)); in inittab_decode_e()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c956 duid_en_t *den; in get_smach_cid() local
969 den = malloc(sizeof (*den) + client_id_len); in get_smach_cid()
970 if (den == NULL) in get_smach_cid()
972 den->den_dutype = htons(duidtype); in get_smach_cid()
973 DHCPV6_SET_ENTNUM(den, subtype); in get_smach_cid()
974 if (hexascii_to_octet(value, slen, den + 1, in get_smach_cid()
979 free(den); in get_smach_cid()
982 dsmp->dsm_cid = (uchar_t *)den; in get_smach_cid()
/titanic_50/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c330 #define NOREMAINDER(den, num, val) (((val) = ((den) / (num))) * (num) == (den)) in eft_time() argument
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/
H A Dcapacity.notes.txt55 the "ATA FAQ" from Wehman and den Hahn, and I still don't understand
89 >the "ATA FAQ" from Wehman and den Hahn, and I still don't understand
/titanic_50/usr/src/cmd/fm/eversholt/common/
H A Dptree.c812 #define NOREMAINDER(den, num, val) (((val) = ((den) / (num))) * (num) == (den)) in ptree_timeval() argument
/titanic_50/usr/src/lib/libctf/common/
H A Dctf_diff.c137 ctf_encoding_t ien, den; in ctf_diff_number() local
142 if (ctf_type_encoding(ofp, oid, &den) != 0) in ctf_diff_number()
145 if (bcmp(&ien, &den, sizeof (ctf_encoding_t)) != 0) in ctf_diff_number()
/titanic_50/usr/src/cmd/compress/
H A Dcompress.c1811 prratio(FILE *stream, count_long num, count_long den) in prratio() argument
1815 q = (int)(10000LL * (count_long)num / (count_long)den); in prratio()
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dst.c2446 uchar_t den[NDENSITIES]; in st_get_densities_from_tape_drive() local
2519 if (den_desc->pri_den >= den[p - 1]) { in st_get_densities_from_tape_drive()
2523 den[p] = den_desc->pri_den; in st_get_densities_from_tape_drive()
2537 (void) memset(dp->densities, den[0], NDENSITIES); in st_get_densities_from_tape_drive()
2543 dp->densities[0] = den[1]; in st_get_densities_from_tape_drive()
2544 dp->densities[1] = den[1]; in st_get_densities_from_tape_drive()
2545 dp->densities[2] = den[0]; in st_get_densities_from_tape_drive()
2546 dp->densities[3] = den[0]; in st_get_densities_from_tape_drive()
2555 dp->densities[0] = den[2]; in st_get_densities_from_tape_drive()
2556 dp->densities[1] = den[1]; in st_get_densities_from_tape_drive()
[all …]
/titanic_50/usr/src/cmd/look/
H A Dwords6387 den
/titanic_50/usr/src/cmd/spell/
H A Dlist6386 den