Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dshift-undef.c1 int simple(int s, unsigned int u, int p) in simple() argument
4 u = u >> 101; in simple()
5 u = u << 102; in simple()
7 u = u >> -2; in simple()
8 u = u << -3; in simple()
10 if (0) return u >> 104; in simple()
11 if (0) return u << 105; in simple()
13 if (0) return u >> -5; in simple()
14 if (0) return u << -6; in simple()
16 if (p && 0) return u >> 107; in simple()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c137 upap_state *u = &upap[unit]; local
139 u->us_unit = unit;
140 u->us_user = NULL;
141 u->us_userlen = 0;
142 u->us_passwd = NULL;
143 u->us_clientstate = UPAPCS_INITIAL;
144 u->us_serverstate = UPAPSS_INITIAL;
145 u->us_id = 0;
146 u->us_timeouttime = UPAP_DEFTIMEOUT;
147 u->us_maxtransmits = 10;
[all …]
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec2_233.c62 mp_digit *u, z; in ec_GF2m_233_mod() local
71 u = MP_DIGITS(r); in ec_GF2m_233_mod()
75 z = u[7]; in ec_GF2m_233_mod()
76 u[4] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod()
77 u[3] ^= (z << 23); in ec_GF2m_233_mod()
78 z = u[6]; in ec_GF2m_233_mod()
79 u[4] ^= (z >> 31); in ec_GF2m_233_mod()
80 u[3] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod()
81 u[2] ^= (z << 23); in ec_GF2m_233_mod()
82 z = u[5]; in ec_GF2m_233_mod()
[all …]
H A Dec2_193.c62 mp_digit *u, z; in ec_GF2m_193_mod() local
71 u = MP_DIGITS(r); in ec_GF2m_193_mod()
75 z = u[6]; in ec_GF2m_193_mod()
76 u[3] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod()
77 u[2] ^= (z << 63); in ec_GF2m_193_mod()
78 z = u[5]; in ec_GF2m_193_mod()
79 u[3] ^= (z >> 50); in ec_GF2m_193_mod()
80 u[2] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod()
81 u[1] ^= (z << 63); in ec_GF2m_193_mod()
82 z = u[4]; in ec_GF2m_193_mod()
[all …]
H A Dec2_163.c62 mp_digit *u, z; in ec_GF2m_163_mod() local
71 u = MP_DIGITS(r); in ec_GF2m_163_mod()
75 z = u[5]; in ec_GF2m_163_mod()
76 u[2] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
77 z = u[4]; in ec_GF2m_163_mod()
78 u[2] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod()
79 u[1] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
80 z = u[3]; in ec_GF2m_163_mod()
81 u[1] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod()
82 u[0] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypotf.c45 unsigned u; member
60 hx0.u &= ~0x80000000; in __vhypotf()
61 hy0.u &= ~0x80000000; in __vhypotf()
64 if (hy0.u > hx0.u) { in __vhypotf()
65 i = hy0.u - hx0.u; in __vhypotf()
66 j0 = hy0.u & 0x7f800000; in __vhypotf()
67 if (hx0.u == 0) in __vhypotf()
70 i = hx0.u - hy0.u; in __vhypotf()
71 j0 = hx0.u & 0x7f800000; in __vhypotf()
72 if (hy0.u == 0) in __vhypotf()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_qtod.c39 union xdouble u; in _Q_qtod() local
58 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff80000; in _Q_qtod()
59 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
61 u.l.lo = (x->l.frac2 << 4) | in _Q_qtod()
66 __quad_fqtod(x, &u.d); in _Q_qtod()
73 return (u.d); in _Q_qtod()
76 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff00000; in _Q_qtod()
77 u.l.lo = 0; in _Q_qtod()
78 return (u.d); in _Q_qtod()
82 u.l.hi = 0x7ff00000; in _Q_qtod()
[all …]
H A D_Q_qtos.c42 } u; in _Q_qtos() local
61 u.l = (x->l.msw & 0x80000000) | 0x7fc00000; in _Q_qtos()
62 u.l |= ((xm & 0x7fff) << 7) | in _Q_qtos()
67 __quad_fqtos(x, &u.f); in _Q_qtos()
74 return (u.f); in _Q_qtos()
77 u.l = (x->l.msw & 0x80000000) | 0x7f800000; in _Q_qtos()
78 return (u.f); in _Q_qtos()
82 u.l = 0x7f800000; in _Q_qtos()
84 u.l = 0x7f7fffff; in _Q_qtos()
85 u.l |= (x->l.msw & 0x80000000); in _Q_qtos()
[all …]
H A D_Q_dtoq.c51 union xdouble u; in _Qp_dtoq() local
55 u.d = x; in _Qp_dtoq()
56 m = ((u.l.hi & 0x7ff00000) >> 4) + 0x3c000000; in _Qp_dtoq()
59 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
62 lhi = u.l.hi & 0xfffff; in _Qp_dtoq()
63 llo = u.l.lo; in _Qp_dtoq()
69 u.l.hi = (u.l.hi & 0x80000000) | lhi; in _Qp_dtoq()
70 u.l.lo = llo; in _Qp_dtoq()
77 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
87 u.l.hi |= 0x80000; in _Qp_dtoq()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c79 if (lhs->u.name.s != rhs->u.name.s) in begins_with()
82 if (lhs->u.name.child && lhs->u.name.child->t == T_NUM) { in begins_with()
83 lnum = (int)lhs->u.name.child->u.ull; in begins_with()
84 } else if (lhs->u.name.child && lhs->u.name.child->t == T_NAME) { in begins_with()
85 iterinfop = lut_lookup(ex, (void *)lhs->u.name.child->u.name.s, in begins_with()
95 if (rhs->u.name.child && rhs->u.name.child->t == T_NUM) { in begins_with()
96 rnum = (int)rhs->u.name.child->u.ull; in begins_with()
97 } else if (rhs->u.name.child && rhs->u.name.child->t == T_NAME) { in begins_with()
98 iterinfop = lut_lookup(ex, (void *)rhs->u.name.child->u.name.s, in begins_with()
111 return (begins_with(lhs->u.name.next, rhs->u.name.next, ex)); in begins_with()
[all …]
H A Ditree.c218 for (; namep != NULL; namep = namep->u.name.next) { in tname_dup()
221 newnp->u.name.t = namep->u.name.t; in tname_dup()
222 newnp->u.name.s = namep->u.name.s; in tname_dup()
223 newnp->u.name.last = newnp; in tname_dup()
224 newnp->u.name.it = namep->u.name.it; in tname_dup()
225 newnp->u.name.cp = namep->u.name.cp; in tname_dup()
230 npc = namep->u.name.child; in tname_dup()
234 newnp->u.name.child = in tname_dup()
236 newnp->u.name.child->u.ull = in tname_dup()
237 npc->u.ull; in tname_dup()
[all …]
H A Deft_mdb.c398 (uintptr_t)node.u.name.s) < 0) in eft_node()
400 node.u.name.s); in eft_node()
403 if (node.u.name.cp) { in eft_node()
406 (uintptr_t)node.u.name.cp) != sizeof (cp)) { in eft_node()
408 node.u.name.cp); in eft_node()
412 } else if (node.u.name.it == IT_HORIZONTAL) { in eft_node()
413 if (node.u.name.child && !node.u.name.childgen) { in eft_node()
415 (void) eft_node((uintptr_t)node.u.name.child, in eft_node()
421 } else if (node.u.name.child) { in eft_node()
423 (void) eft_node((uintptr_t)node.u.name.child, in eft_node()
[all …]
H A Diexpr.c76 return ((uintptr_t)np->u.globid.s); in iexpr_hash()
103 (iexpr_hash(np->u.expr.left) + in iexpr_hash()
104 iexpr_hash(np->u.expr.right))); in iexpr_hash()
107 return ((uintptr_t)np->u.name.s); in iexpr_hash()
110 return (iexpr_hash(np->u.event.ename) + in iexpr_hash()
111 iexpr_hash(np->u.event.epname)); in iexpr_hash()
114 return ((uintptr_t)np->u.func.s + in iexpr_hash()
115 iexpr_hash(np->u.func.arglist)); in iexpr_hash()
118 return ((uintptr_t)np->u.quote.s); in iexpr_hash()
122 return ((int)np->u.ull); in iexpr_hash()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhci.h172 #define GetField(u, td, f, o, l) \ argument
173 ((GetTD32(u, (td)->f) >> (o)) & ((1U<<l)-1))
175 #define SetField(u, td, f, o, l, v) \ argument
176 SetTD32(u, (td)->f, \
177 (GetTD32(u, (td)->f) & ~(((1U<<l)-1) << o)) | \
180 #define GetTD_alen(u, td) GetField((u), (td), dw2, 0, 11) argument
181 #define GetTD_status(u, td) GetField((u), (td), dw2, 16, 8) argument
182 #define GetTD_ioc(u, td) GetField((u), (td), dw2, 24, 1) argument
183 #define GetTD_iso(u, td) GetField((u), (td), dw2, 25, 1) argument
184 #define GetTD_ls(u, td) GetField((u), (td), dw2, 26, 1) argument
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c178 size += sizeof (ret->u.name) - sizeof (ret->u); in nodesize()
182 size += sizeof (ret->u.globid) - sizeof (ret->u); in nodesize()
187 size += sizeof (ret->u.ull) - sizeof (ret->u); in nodesize()
191 size += sizeof (ret->u.quote) - sizeof (ret->u); in nodesize()
195 size += sizeof (ret->u.func) - sizeof (ret->u); in nodesize()
210 size += sizeof (ret->u.stmt) - sizeof (ret->u); in nodesize()
214 size += sizeof (ret->u.event) - sizeof (ret->u); in nodesize()
218 size += sizeof (ret->u.arrow) - sizeof (ret->u); in nodesize()
222 size += sizeof (ret->u.expr) - sizeof (ret->u); in nodesize()
253 tree_free(root->u.name.child); in tree_free()
[all …]
H A Dcheck.c131 check_path_iterators(np->u.arrow.lhs); in check_path_iterators()
132 check_path_iterators(np->u.arrow.rhs); in check_path_iterators()
136 check_path_iterators(np->u.expr.left); in check_path_iterators()
137 check_path_iterators(np->u.expr.right); in check_path_iterators()
141 check_path_iterators(np->u.event.epname); in check_path_iterators()
145 if (np->u.name.child == NULL) in check_path_iterators()
149 np->u.name.s); in check_path_iterators()
150 check_path_iterators(np->u.name.next); in check_path_iterators()
166 if (np->u.arrow.lhs->t != T_ARROW && in check_arrow()
167 np->u.arrow.lhs->t != T_LIST && in check_arrow()
[all …]
H A Dptree.c103 out(flags|O_NONL, "%s", np->u.name.s); in ptree()
105 if (np->u.name.cp != NULL) { in ptree()
107 cp2num(np->u.name.cp, &num); in ptree()
109 } else if (np->u.name.it == IT_HORIZONTAL) { in ptree()
110 if (np->u.name.child == NULL || in ptree()
111 (np->u.name.childgen && !Pchildgen)) in ptree()
115 ptree(flags, np->u.name.child, in ptree()
119 } else if (np->u.name.child && in ptree()
120 (!np->u.name.childgen || Pchildgen)) { in ptree()
121 if (np->u.name.it != IT_NONE) in ptree()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c231 struct utmpx u; in utmpx_set_runlevel() local
241 bzero(&u, sizeof (struct utmpx)); in utmpx_set_runlevel()
243 u.ut_id[0] = u.ut_id[1] = u.ut_id[2] = u.ut_id[3] = '\0'; in utmpx_set_runlevel()
244 u.ut_pid = 0; in utmpx_set_runlevel()
245 u.ut_type = RUN_LVL; in utmpx_set_runlevel()
247 (void) time(&u.ut_tv.tv_sec); in utmpx_set_runlevel()
252 if ((oup = getutxid(&u)) != NULL) { in utmpx_set_runlevel()
253 bcopy(oup->ut_host, u.ut_host, sizeof (u.ut_host)); in utmpx_set_runlevel()
254 bcopy(oup->ut_line, u.ut_line, sizeof (u.ut_line)); in utmpx_set_runlevel()
255 bcopy(oup->ut_user, u.ut_user, sizeof (u.ut_user)); in utmpx_set_runlevel()
[all …]
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dumc.h132 #define UMC_BASE(u, i) amdzen_umc_smn_reg(u, D_UMC_BASE, i) argument
133 #define UMC_BASE_SEC(u, i) amdzen_umc_smn_reg(u, D_UMC_BASE_SEC, i) argument
155 #define UMC_BASE_EXT_DDR5(u, i) amdzen_umc_smn_reg(u, D_UMC_BASE_EXT_DDR5, i) argument
156 #define UMC_BASE_EXT_SEC_DDR5(u, i) \ argument
157 amdzen_umc_smn_reg(u, D_UMC_BASE_EXT_SEC_DDR5, i)
191 #define UMC_MASK_DDR4(u, i) amdzen_umc_smn_reg(u, D_UMC_MASK_DDR4, i) argument
192 #define UMC_MASK_SEC_DDR4(u, i) amdzen_umc_smn_reg(u, D_UMC_MASK_SEC_DDR4, i) argument
193 #define UMC_MASK_DDR5(u, i) amdzen_umc_smn_reg(u, D_UMC_MASK_DDR5, i) argument
194 #define UMC_MASK_SEC_DDR5(u, i) amdzen_umc_smn_reg(u, D_UMC_MASK_SEC_DDR5, i) argument
213 #define UMC_MASK_EXT_DDR5(u, i) amdzen_umc_smn_reg(u, D_UMC_MASK_EXT_DDR5, i) argument
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil_impl.h113 } u; member
130 #define pathcmd_name u.path.path
131 #define nodecmd_nodeh u.node.nodeh
132 #define nodecmd_nodename u.node.nodename
133 #define nodecmd_classname u.node.classname
134 #define nodecmd_classname u.node.classname
135 #define propcmd_proph u.prop.proph
136 #define propcmd_pname u.prop.pname
137 #define propcmd_type u.prop.type
138 #define propcmd_accessmode u.prop.accessmode
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dsimd.h141 uint32_t u = 0; in zfs_sse_available() local
143 (void) getisax(&u, 1); in zfs_sse_available()
144 return ((u & AV_386_SSE) != 0); in zfs_sse_available()
150 uint32_t u = 0; in zfs_sse2_available() local
152 (void) getisax(&u, 1); in zfs_sse2_available()
153 return ((u & AV_386_SSE2) != 0); in zfs_sse2_available()
159 uint32_t u = 0; in zfs_sse3_available() local
161 (void) getisax(&u, 1); in zfs_sse3_available()
162 return ((u & AV_386_SSE3) != 0); in zfs_sse3_available()
168 uint32_t u = 0; in zfs_ssse3_available() local
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfmaf.c47 unsigned u, s; in __fmaf() local
75 u = xy.i[1]; in __fmaf()
77 if (u & (s - 1)) in __fmaf()
78 u |= s; in __fmaf()
79 xy.i[1] = u & ~(s - 1); in __fmaf()
81 u = xy.i[0]; in __fmaf()
83 if ((u & (s - 1)) | xy.i[1]) in __fmaf()
84 u |= s; in __fmaf()
85 xy.i[0] = u & ~(s - 1); in __fmaf()
94 u = zz.i[1]; in __fmaf()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c598 struct utmpx *u; local
600 while ((u = getutxent()) != NULL) {
601 if (u->ut_type == LOGIN_PROCESS
602 && EQUALS(u->ut_line, line)
603 && EQUALS(u->ut_user, "LOGIN") ) {
604 CDEBUG(7, "ut_line %s, ", u->ut_line);
605 CDEBUG(7, "ut_user %s, ", u->ut_user);
606 CDEBUG(7, "ut_id %.4s, ", u->ut_id);
607 CDEBUG(7, "ut_pid %d\n", u->ut_pid);
610 if (kill(u->ut_pid, 0) == 0 || errno == EPERM) {
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c110 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
138 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
168 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
196 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
224 hash_obj = lookup_handle_object(hash_obj->u.sec_obj->cont_hdl, in get_container_hash_object()
243 child_obj->u.pkt_obj->segment_hdl = parent_obj->obj_hdl; in add_to_pkt_object_list()
245 if (parent_obj->u.seg_obj->pkt_obj_list == NULL) { in add_to_pkt_object_list()
246 parent_obj->u.seg_obj->pkt_obj_list = child_obj; in add_to_pkt_object_list()
250 for (next_hash = parent_obj->u.seg_obj->pkt_obj_list; in add_to_pkt_object_list()
251 next_hash->u.pkt_obj->next != NULL; in add_to_pkt_object_list()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c99 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
128 hash_obj->u.sec_obj = sec_obj; in create_section_hash_object()
159 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
188 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
223 child_obj->u.sec_obj->cont_hdl = parent_obj->obj_hdl; in add_to_sec_object_list()
224 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()
225 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()
229 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()
230 next_hash->u.sec_obj->next != NULL; in add_to_sec_object_list()
231 next_hash = next_hash->u.sec_obj->next) { in add_to_sec_object_list()
[all …]

12345678910>>...42