Home
last modified time | relevance | path

Searched refs:ud (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_bos.c110 usba_bos_save(usba_device_t *ud, const mblk_t *mp, usb_bos_descr_t *bdesc) in usba_bos_save() argument
213 ud->usb_bos_nalloc = nalloc; in usba_bos_save()
214 ud->usb_bos_nents = ncaps; in usba_bos_save()
215 ud->usb_bos = bos; in usba_bos_save()
231 usba_get_binary_object_store(dev_info_t *dip, usba_device_t *ud) in usba_get_binary_object_store() argument
247 if (ud->usb_dev_descr->bcdUSB <= 0x200) { in usba_get_binary_object_store()
305 if (!usba_bos_save(ud, mp, &bos)) { in usba_get_binary_object_store()
310 ud->usb_bos_mp = mp; in usba_get_binary_object_store()
377 usba_add_binary_object_store_props(dev_info_t *dip, usba_device_t *ud) in usba_add_binary_object_store_props() argument
381 if (ud->usb_bos == NULL) { in usba_add_binary_object_store_props()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_clts.c216 struct udp_data *ud = (struct udp_data *)clone_xprt->xp_p2buf; in svc_clts_kclone_destroy() local
218 if (ud->ud_resp) { in svc_clts_kclone_destroy()
222 ASSERT(ud->ud_resp->b_cont == NULL); in svc_clts_kclone_destroy()
228 freeb(ud->ud_resp); in svc_clts_kclone_destroy()
230 if (ud->ud_inmp) in svc_clts_kclone_destroy()
231 freemsg(ud->ud_inmp); in svc_clts_kclone_destroy()
277 struct udp_data *ud = (struct udp_data *)clone_xprt->xp_p2buf; in svc_clts_krecv() local
370 if (ud->ud_resp) { in svc_clts_krecv()
371 if (ud->ud_resp->b_cont != NULL) { in svc_clts_krecv()
373 "b_cont %p", (void *)ud->ud_resp, in svc_clts_krecv()
[all …]
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c109 const char *name, pool_value_t *pval, userdata_cb_t *ud) in populate_userdata_cb() argument
111 pset_statistic_bag_t *bag = (pset_statistic_bag_t *)ud->ud_bag; in populate_userdata_cb()
113 ud->ud_result = 0; in populate_userdata_cb()
115 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_min); in populate_userdata_cb()
117 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_max); in populate_userdata_cb()
121 ud->ud_result = pool_value_get_uint64(pval, &load); in populate_userdata_cb()
124 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_size); in populate_userdata_cb()
126 ud->ud_result = pool_value_get_int64(pval, &bag->pset_sb_sysid); in populate_userdata_cb()
141 userdata_cb_t ud; in update_pset() local
143 ud.ud_bag = (void *) sbag->bag; in update_pset()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c56 arpadate(ud)
57 register char *ud;
77 if (ud == NULL)
78 ud = ctime(&t);
86 p = &ud[0]; /* Mon */
93 p = &ud[8]; /* 16 */
101 p = &ud[4]; /* Sep */
107 p = &ud[20]; /* 1979 */
114 p = &ud[11]; /* 01:03:52 */
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qpmod.c840 ibt_qp_ud_attr_t *ud; in hermon_qp_reset2init() local
926 ud = &info_p->qp_transport.ud; in hermon_qp_reset2init()
929 qpc->qkey = ud->ud_qkey; in hermon_qp_reset2init()
945 portnum = ud->ud_port; in hermon_qp_reset2init()
957 pkeyindx = ud->ud_pkey_ix; in hermon_qp_reset2init()
968 ibt_rss_flags_t flags = ud->ud_rss.rss_flags; in hermon_qp_reset2init()
971 rssp->log2_tbl_sz = ud->ud_rss.rss_log2_table; in hermon_qp_reset2init()
972 rssp->base_qpn = ud->ud_rss.rss_base_qpn; in hermon_qp_reset2init()
973 rssp->default_qpn = ud->ud_rss.rss_def_qpn; in hermon_qp_reset2init()
984 bcopy(ud->ud_rss.rss_toe_key, rssp->rss_key, 40); in hermon_qp_reset2init()
[all …]
H A Dhermon_wr.c76 hermon_hw_snd_wqe_ud_t *ud; in hermon_post_send_ud() local
164 ud = (hermon_hw_snd_wqe_ud_t *)((uintptr_t)desc + in hermon_post_send_ud()
166 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ud + in hermon_post_send_ud()
168 HERMON_WQE_BUILD_UD(qp, ud, ah, dest); in hermon_post_send_ud()
192 dest = wr->wr.ud.udwr_dest; in hermon_post_send_ud()
211 immed_data = wr->wr.ud.udwr_immed; in hermon_post_send_ud()
218 ud = (hermon_hw_snd_wqe_ud_t *)((uintptr_t)desc + in hermon_post_send_ud()
220 ds = (hermon_hw_wqe_sgl_t *)((uintptr_t)ud + in hermon_post_send_ud()
222 HERMON_WQE_BUILD_UD(qp, ud, ah, dest); in hermon_post_send_ud()
243 ud = (hermon_hw_snd_wqe_ud_t *)((uintptr_t)desc + in hermon_post_send_ud()
[all …]
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dfpu_simulator.c174 unpacked us1, us2, ud; /* Unpacked operands and result. */ in _fp_fpu_simulator() local
209 _fp_add(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator()
210 _fp_pack(pfpsd, &ud, nrd, fma_inst->sz); in _fp_fpu_simulator()
221 _fp_sub(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator()
222 _fp_pack(pfpsd, &ud, nrd, fma_inst->sz); in _fp_fpu_simulator()
236 _fp_sub(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator()
237 _fp_pack(pfpsd, &ud, nrd, fma_inst->sz); in _fp_fpu_simulator()
251 _fp_add(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator()
252 _fp_pack(pfpsd, &ud, nrd, fma_inst->sz); in _fp_fpu_simulator()
350 _fp_add(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c458 ml_odunit_t *ud; in dumplog() local
499 ud = (void *)&h->eg; in dumplog()
500 (void) fprintf(fout, "version\t\t%" PRIu32 "\t\t", ud->od_version); in dumplog()
501 if (ud->od_badlog) in dumplog()
506 ud->od_bol_lof, ud->od_eol_lof); in dumplog()
507 (void) fprintf(fout, "requestsize\t%" PRIu32 "\n", ud->od_requestsize); in dumplog()
508 (void) fprintf(fout, "statesize\t%" PRIu32 "\n", ud->od_statesize); in dumplog()
509 (void) fprintf(fout, "logsize\t\t%" PRIu32 "\n", ud->od_logsize); in dumplog()
512 ud->od_maxtransfer, ud->od_devbsize); in dumplog()
515 ud->od_head_lof, ud->od_head_ident); in dumplog()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs.c508 ml_odunit_t *ud, *ud2; in lufs_initialize() local
518 ud = (void *)bp->b_un.b_addr; in lufs_initialize()
519 ud->od_version = LUFS_VERSION_LATEST; in lufs_initialize()
520 ud->od_maxtransfer = MIN(ufsvfsp->vfs_iotransz, ldl_maxtransfer); in lufs_initialize()
521 if (ud->od_maxtransfer < ldl_mintransfer) in lufs_initialize()
522 ud->od_maxtransfer = ldl_mintransfer; in lufs_initialize()
523 ud->od_devbsize = DEV_BSIZE; in lufs_initialize()
525 ud->od_requestsize = flp->nbytes_actual; in lufs_initialize()
526 ud->od_statesize = dbtob(LS_SECTORS); in lufs_initialize()
527 ud->od_logsize = nb - ud->od_statesize; in lufs_initialize()
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_mount.c427 be_unmount_data_t ud = { 0 }; in _be_unmount() local
520 ud.altroot = mountpoint; in _be_unmount()
521 ud.force = flags & BE_UNMOUNT_FLAG_FORCE; in _be_unmount()
526 if ((ret = be_unmount_zones(&ud)) != BE_SUCCESS) { in _be_unmount()
535 if ((ret = unmount_shared_fs(&ud)) != BE_SUCCESS) { in _be_unmount()
544 &ud)) != 0) { in _be_unmount()
553 if ((ret = be_unmount_root(zhp, &ud)) != BE_SUCCESS) { in _be_unmount()
558 if ((ret = be_unmount_zone_root(zhp, &ud)) != BE_SUCCESS) { in _be_unmount()
656 be_unmount_zone_root(zfs_handle_t *zhp, be_unmount_data_t *ud) in be_unmount_zone_root() argument
661 if (zfs_unmount(zhp, NULL, ud->force ? MS_FORCE : 0) != 0) { in be_unmount_zone_root()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qpmod.c744 ibt_qp_ud_attr_t *ud; in tavor_qp_reset2init() local
791 ud = &info_p->qp_transport.ud; in tavor_qp_reset2init()
794 qpc->qkey = ud->ud_qkey; in tavor_qp_reset2init()
797 portnum = ud->ud_port; in tavor_qp_reset2init()
805 pkeyindx = ud->ud_pkey_ix; in tavor_qp_reset2init()
901 ibt_qp_ud_attr_t *ud; in tavor_qp_init2init() local
920 ud = &info_p->qp_transport.ud; in tavor_qp_init2init()
928 portnum = ud->ud_port; in tavor_qp_init2init()
943 pkeyindx = ud->ud_pkey_ix; in tavor_qp_init2init()
959 qpc->qkey = ud->ud_qkey; in tavor_qp_init2init()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/
H A Dusb.c450 usba_device_t ud; in usba_hubd_walk_step() local
455 if (mdb_vread(&ud, sizeof (ud), wsp->walk_addr) != sizeof (ud)) { in usba_hubd_walk_step()
460 if (ud.usb_root_hubd != NULL) { in usba_hubd_walk_step()
462 (uintptr_t)ud.usb_root_hubd) != sizeof (hubd)) { in usba_hubd_walk_step()
463 mdb_warn("failed to read hubd at %p", ud.usb_root_hubd); in usba_hubd_walk_step()
466 return (wsp->walk_callback((uintptr_t)ud.usb_root_hubd, &hubd, in usba_hubd_walk_step()
470 if (ud.usb_hubdi == NULL) in usba_hubd_walk_step()
478 (uintptr_t)ud.usb_dip) != sizeof (struct dev_info)) { in usba_hubd_walk_step()
480 wsp->walk_addr, ud.usb_dip); in usba_hubd_walk_step()
/illumos-gate/usr/src/common/ficl/
H A Dfileaccess.c173 long ud = ftell(ff->f); in ficlPrimitiveFilePosition() local
174 ficlStackPushInteger(vm->dataStack, ud); in ficlPrimitiveFilePosition()
175 pushIor(vm, ud != -1); in ficlPrimitiveFilePosition()
183 long ud = ficlFileSize(ff); in ficlPrimitiveFileSize() local
184 ficlStackPushInteger(vm->dataStack, ud); in ficlPrimitiveFileSize()
185 pushIor(vm, ud != -1); in ficlPrimitiveFileSize()
318 size_t ud = (size_t)ficlStackPopInteger(vm->dataStack); in ficlPrimitiveRepositionFile() local
320 pushIor(vm, fseek(ff->f, ud, SEEK_SET) == 0); in ficlPrimitiveRepositionFile()
337 size_t ud = (size_t)ficlStackPopInteger(vm->dataStack); in ficlPrimitiveResizeFile() local
339 pushIor(vm, ficlFileTruncate(ff, ud) == 0); in ficlPrimitiveResizeFile()
H A Dutility.c129 ficl2Unsigned ud; in ficlUltoa() local
139 FICL_UNSIGNED_TO_2UNSIGNED(value, ud); in ficlUltoa()
140 while (FICL_2UNSIGNED_NOT_ZERO(ud)) { in ficlUltoa()
141 result = ficl2UnsignedDivide(ud, (ficlUnsigned)radix); in ficlUltoa()
142 ud = result.quotient; in ficlUltoa()
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_chan.c431 qp_modify_attr.qp_transport.ud.ud_rss = args->ud_rss; in ibt_alloc_ud_channel()
435 qp_modify_attr.qp_transport.ud.ud_fc = qp_attr.qp_fc = in ibt_alloc_ud_channel()
440 qp_modify_attr.qp_transport.ud.ud_fc = qp_attr.qp_fc = in ibt_alloc_ud_channel()
505 qp_modify_attr.qp_transport.ud.ud_port = in ibt_alloc_ud_channel()
507 qp_modify_attr.qp_transport.ud.ud_qkey = chan_attrs.ud_qkey; in ibt_alloc_ud_channel()
508 qp_modify_attr.qp_transport.ud.ud_pkey_ix = in ibt_alloc_ud_channel()
523 qp_modify_attr.qp_transport.ud.ud_port = args->ud_hca_port_num; in ibt_alloc_ud_channel()
524 qp_modify_attr.qp_transport.ud.ud_qkey = args->ud_qkey; in ibt_alloc_ud_channel()
534 qp_modify_attr.qp_transport.ud.ud_pkey_ix = args->ud_pkey_ix; in ibt_alloc_ud_channel()
550 qp_modify_attr.qp_transport.ud.ud_sq_psn = 0; in ibt_alloc_ud_channel()
[all …]
H A Dibtl_qp.c270 ibt_qp->ch_transport.ud.ud_port_num = in ibt_initialize_qp()
271 modify_attrp->qp_transport.ud.ud_port; in ibt_initialize_qp()
272 ibt_qp->ch_transport.ud.ud_qkey = in ibt_initialize_qp()
273 modify_attrp->qp_transport.ud.ud_qkey; in ibt_initialize_qp()
848 ibt_qp->ch_transport.ud.ud_port_num = in ibt_modify_qp()
849 modify_attrp->qp_transport.ud.ud_port; in ibt_modify_qp()
851 ibt_qp->ch_transport.ud.ud_qkey = in ibt_modify_qp()
852 modify_attrp->qp_transport.ud.ud_qkey; in ibt_modify_qp()
1098 qp_attr.qp_info.qp_transport.ud.ud_port = hca_port_num; in ibt_recycle_ud()
1099 qp_attr.qp_info.qp_transport.ud.ud_qkey = qkey; in ibt_recycle_ud()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c30 xhci_hcdi_get_xhcip_from_dev(usba_device_t *ud) in xhci_hcdi_get_xhcip_from_dev() argument
32 dev_info_t *dip = ud->usb_root_hub_dip; in xhci_hcdi_get_xhcip_from_dev()
935 xhci_hcdi_bulk_transfer_size(usba_device_t *ud, size_t *sizep) in xhci_hcdi_bulk_transfer_size() argument
1593 xhci_hcdi_device_route(usba_device_t *ud, uint32_t *routep, uint32_t *root_port) in xhci_hcdi_device_route() argument
1596 usba_device_t *hub = ud->usb_parent_hub; in xhci_hcdi_device_route()
1597 usba_device_t *port_dev = ud; in xhci_hcdi_device_route()
1629 xhci_hcdi_device_tt(usba_device_t *ud) in xhci_hcdi_device_tt() argument
1634 if (ud->usb_port_status >= USBA_HIGH_SPEED_DEV) in xhci_hcdi_device_tt()
1637 if (ud->usb_hs_hub_usba_dev == NULL) in xhci_hcdi_device_tt()
1640 ASSERT(ud->usb_hs_hub_usba_dev != NULL); in xhci_hcdi_device_tt()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstate.c181 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen() argument
183 UNUSED(ud); in f_luaopen()
231 (*g->frealloc)(g->ud, fromstate(L), sizeof(LG), 0); /* free main block */ in close_state()
264 LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { in lua_newstate() argument
268 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG))); in lua_newstate()
279 g->ud = ud; in lua_newstate()
H A Dlua.h60 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
62 typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
68 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
130 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
307 LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
308 LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
H A Dldo.h27 typedef void (*Pfunc) (lua_State *L, void *ud);
43 LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
H A Dlmem.c84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
H A Dlauxlib.c251 LUALIB_API void *luaL_testudata (lua_State *L, int ud, const char *tname) { in luaL_testudata() argument
252 void *p = lua_touserdata(L, ud); in luaL_testudata()
254 if (lua_getmetatable(L, ud)) { /* does it have a metatable? */ in luaL_testudata()
266 LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { in luaL_checkudata() argument
267 void *p = luaL_testudata(L, ud, tname); in luaL_checkudata()
268 if (p == NULL) typeerror(L, ud, tname); in luaL_checkudata()
529 static const char *getS (lua_State *L, void *ud, size_t *size) { in getS() argument
530 LoadS *ls = (LoadS *)ud; in getS()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c178 unsigned long ud = d; in itoa() local
186 ud = -d; in itoa()
194 int remainder = ud % divisor; in itoa()
198 while (ud /= divisor); in itoa()
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/
H A Dxhci.c749 usba_device_t ud; in xhci_mdb_print_device() local
762 if (mdb_vread(&ud, sizeof (ud), (uintptr_t)xd.xd_usbdev) != in xhci_mdb_print_device()
763 sizeof (ud)) { in xhci_mdb_print_device()
768 if (ud.usb_mfg_str == NULL || mdb_readstr(mfg, sizeof (mfg), in xhci_mdb_print_device()
769 (uintptr_t)ud.usb_mfg_str) <= 0) { in xhci_mdb_print_device()
773 if (ud.usb_product_str == NULL || mdb_readstr(product, sizeof (product), in xhci_mdb_print_device()
774 (uintptr_t)ud.usb_product_str) <= 0) { in xhci_mdb_print_device()
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_subr.c66 uint64_t ud; in signed_diff64() local
80 ud = y - x; in signed_diff64()
81 if (ud > INT64_MAX) in signed_diff64()
84 return ((int64_t)ud * s); in signed_diff64()

1234