/freebsd/lib/libc/rpc/ |
H A D | svc_raw.c | 245 static struct xp_ops ops; in svc_raw_ops() local 251 if (ops.xp_recv == NULL) { in svc_raw_ops() 252 ops.xp_recv = svc_raw_recv; in svc_raw_ops() 253 ops.xp_stat = svc_raw_stat; in svc_raw_ops() 254 ops.xp_getargs = svc_raw_getargs; in svc_raw_ops() 255 ops.xp_reply = svc_raw_reply; in svc_raw_ops() 256 ops.xp_freeargs = svc_raw_freeargs; in svc_raw_ops() 257 ops.xp_destroy = svc_raw_destroy; in svc_raw_ops() 260 xprt->xp_ops = &ops; in svc_raw_ops()
|
H A D | clnt_raw.c | 276 static struct clnt_ops ops; in clnt_raw_ops() local 281 if (ops.cl_call == NULL) { in clnt_raw_ops() 282 ops.cl_call = clnt_raw_call; in clnt_raw_ops() 283 ops.cl_abort = clnt_raw_abort; in clnt_raw_ops() 284 ops.cl_geterr = clnt_raw_geterr; in clnt_raw_ops() 285 ops.cl_freeres = clnt_raw_freeres; in clnt_raw_ops() 286 ops.cl_destroy = clnt_raw_destroy; in clnt_raw_ops() 287 ops.cl_control = clnt_raw_control; in clnt_raw_ops() 290 return (&ops); in clnt_raw_ops()
|
H A D | svc_vc.c | 663 static struct xp_ops ops; in svc_vc_ops() local 669 if (ops.xp_recv == NULL) { in svc_vc_ops() 670 ops.xp_recv = svc_vc_recv; in svc_vc_ops() 671 ops.xp_stat = svc_vc_stat; in svc_vc_ops() 678 xprt->xp_ops = &ops; in svc_vc_ops() 686 static struct xp_ops ops; in svc_vc_rendezvous_ops() local 690 if (ops.xp_recv == NULL) { in svc_vc_rendezvous_ops() 693 ops.xp_getargs = in svc_vc_rendezvous_ops() 695 ops.xp_reply = in svc_vc_rendezvous_ops() 697 ops.xp_freeargs = in svc_vc_rendezvous_ops() [all …]
|
H A D | auth_unix.c | 351 static struct auth_ops ops; in authunix_ops() local 356 if (ops.ah_nextverf == NULL) { in authunix_ops() 357 ops.ah_nextverf = authunix_nextverf; in authunix_ops() 358 ops.ah_marshal = authunix_marshal; in authunix_ops() 359 ops.ah_validate = authunix_validate; in authunix_ops() 360 ops.ah_refresh = authunix_refresh; in authunix_ops() 361 ops.ah_destroy = authunix_destroy; in authunix_ops() 364 return (&ops); in authunix_ops()
|
/freebsd/sys/dev/igc/ |
H A D | igc_mac.c | 24 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic() 26 mac->ops.rar_set = igc_rar_set_generic; in igc_init_mac_ops_generic() 179 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igc_init_rx_addrs_generic() 184 hw->mac.ops.rar_set(hw, mac_addr, i); in igc_init_rx_addrs_generic() 229 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data); in igc_check_alt_mac_addr_generic() 249 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in igc_check_alt_mac_addr_generic() 503 mac->ops.config_collision_dist(hw); in igc_check_for_copper_link_generic() 536 if (hw->phy.ops.check_reset_block && hw->phy.ops.check_reset_block(hw)) in igc_setup_link_generic() 555 ret_val = hw->mac.ops.setup_physical_interface(hw); in igc_setup_link_generic() 747 ret_val = hw->phy.ops.read_reg(hw, PHY_AUTONEG_ADV, in igc_config_fc_after_link_up_generic() [all …]
|
H A D | igc_base.c | 28 return hw->mac.ops.acquire_swfw_sync(hw, mask); in igc_acquire_phy_base() 46 hw->mac.ops.release_swfw_sync(hw, mask); in igc_release_phy_base() 77 ret_val = mac->ops.setup_link(hw); in igc_init_hw_base() 100 if (!(phy->ops.check_reset_block)) in igc_power_down_phy_copper_base() 104 if (phy->ops.check_reset_block(hw)) in igc_power_down_phy_copper_base()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_iw.c | 91 err = ixl_iw.ops->init(&info); in ixl_iw_invoke_op() 99 err = ixl_iw.ops->stop(&info); in ixl_iw_invoke_op() 372 ixl_iw_register(struct ixl_iw_ops *ops) in ixl_iw_register() argument 392 if ((ops->init == NULL) || (ops->stop == NULL)) { in ixl_iw_register() 415 ixl_iw.ops = malloc(sizeof(struct ixl_iw_ops), in ixl_iw_register() 417 if (ixl_iw.ops == NULL) { in ixl_iw_register() 424 ixl_iw.ops->init = ops->init; in ixl_iw_register() 425 ixl_iw.ops->stop = ops->stop; in ixl_iw_register() 483 free(ixl_iw.ops, M_IXL); in ixl_iw_unregister() 484 ixl_iw.ops = NULL; in ixl_iw_unregister()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/casenorm/ |
H A D | mixed_create_failure.ksh | 53 typeset -A ops 54 ops['file']='touch' 55 ops['dir']='mkdir' 56 ops['symlink']='ln -s' 57 ops['hardlink']='ln'
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | autoscan.c | 46 const struct autoscan_ops *ops = NULL; in autoscan_init() local 75 ops = autoscan_modules[i]; in autoscan_init() 80 if (ops == NULL) { in autoscan_init() 92 wpa_s->autoscan_priv = ops->init(wpa_s, params); in autoscan_init() 103 wpa_s->autoscan = ops; in autoscan_init() 106 "parameters '%s'", ops->name, params); in autoscan_init()
|
/freebsd/contrib/libucl/src/ |
H A D | ucl_emitter_streamline.c | 48 const struct ucl_emitter_operations *ops; member 113 sctx->ops->ucl_emitter_start_array (ctx, obj, print_key); in ucl_object_emit_streamline_start_container() 117 sctx->ops->ucl_emitter_start_object (ctx, obj, print_key); in ucl_object_emit_streamline_start_container() 140 sctx->ops->ucl_emitter_write_elt (ctx, obj, is_first, !is_array); in ucl_object_emit_streamline_add_object() 153 sctx->ops->ucl_emitter_end_array (ctx, st->obj); in ucl_object_emit_streamline_end_container() 156 sctx->ops->ucl_emitter_end_object (ctx, st->obj); in ucl_object_emit_streamline_end_container()
|
/freebsd/sys/vm/ |
H A D | device_pager.c | 141 KASSERT(tp == OBJT_MGTDEVICE || ops->cdev_pg_populate == NULL, in cdev_pager_allocate() 201 KASSERT(object->un_pager.devp.ops == ops, in cdev_pager_allocate() 202 ("Inconsistent devops %p %p", object, ops)); in cdev_pager_allocate() 209 object->un_pager.devp.ops = ops; in cdev_pager_allocate() 214 if (ops->cdev_pg_populate != NULL) in cdev_pager_allocate() 216 if (ops->cdev_pg_ctor(handle, size, prot, foff, in cdev_pager_allocate() 292 object->un_pager.devp.ops->cdev_pg_dtor(object->un_pager.devp.dev); in dev_pager_dealloc() 323 if (object->un_pager.devp.ops->cdev_pg_fault == NULL) in dev_pager_getpages() 326 error = object->un_pager.devp.ops->cdev_pg_fault(object, in dev_pager_getpages() 357 if (object->un_pager.devp.ops->cdev_pg_populate == NULL) in dev_pager_populate() [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | bf.h | 98 if (rtwdev->chip->ops->config_bfee) in rtw_chip_config_bfee() 99 rtwdev->chip->ops->config_bfee(rtwdev, vif, bfee, enable); in rtw_chip_config_bfee() 106 if (rtwdev->chip->ops->set_gid_table) in rtw_chip_set_gid_table() 107 rtwdev->chip->ops->set_gid_table(rtwdev, vif, conf); in rtw_chip_set_gid_table() 113 if (rtwdev->chip->ops->cfg_csi_rate) in rtw_chip_cfg_csi_rate() 114 rtwdev->chip->ops->cfg_csi_rate(rtwdev, rssi, cur_rate, in rtw_chip_cfg_csi_rate()
|
H A D | coex.h | 332 chip->ops->coex_set_init(rtwdev); in rtw_coex_set_init() 340 if (!chip->ops->coex_set_ant_switch) in rtw_coex_set_ant_switch() 343 chip->ops->coex_set_ant_switch(rtwdev, ctrl_type, pos_type); in rtw_coex_set_ant_switch() 350 chip->ops->coex_set_gnt_fix(rtwdev); in rtw_coex_set_gnt_fix() 357 chip->ops->coex_set_gnt_debug(rtwdev); in rtw_coex_set_gnt_debug() 364 chip->ops->coex_set_rfe_type(rtwdev); in rtw_coex_set_rfe_type() 371 chip->ops->coex_set_wl_tx_power(rtwdev, wl_pwr); in rtw_coex_set_wl_tx_power() 379 chip->ops->coex_set_wl_rx_gain(rtwdev, low_gain); in rtw_coex_set_wl_rx_gain()
|
/freebsd/sys/contrib/openzfs/module/icp/include/ |
H A D | generic_impl.c | 212 const IMPL_OPS_T *ops = NULL; in IMPL_GET_OPS() local 219 ops = &generic_fastest_impl; in IMPL_GET_OPS() 223 ops = generic_supp_impls[idx]; in IMPL_GET_OPS() 227 ops = generic_supp_impls[impl]; in IMPL_GET_OPS() 231 ASSERT3P(ops, !=, NULL); in IMPL_GET_OPS() 232 return (ops); in IMPL_GET_OPS()
|
/freebsd/contrib/unifdef/ |
H A D | unifdef.c | 967 struct ops; 989 struct ops { struct 1015 static long prec(const struct ops *ops) in prec() argument 1017 return (ops - eval_ops); in prec() 1026 eval_unary(const struct ops *ops, long *valp, const char **cpp) in eval_unary() argument 1036 debug("eval%d !", prec(ops)); in eval_unary() 1046 debug("eval%d ~", prec(ops)); in eval_unary() 1135 eval_table(const struct ops *ops, long *valp, const char **cpp) in eval_table() argument 1142 debug("eval%d", prec(ops)); in eval_table() 1144 lt = ops->inner(ops+1, valp, &cp); in eval_table() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/soc/qcom/ |
H A D | qmi.h | 102 struct qmi_ops ops; member 111 const struct qmi_ops *ops, const struct qmi_msg_handler *handler) in qmi_handle_init() argument 115 if (ops != NULL) in qmi_handle_init() 116 handle->ops = *ops; in qmi_handle_init()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstrCompiler.td | 15 def shiftMask_32 : PatFrag<(ops node:$lhs), (and node:$lhs, imm), [{ 19 def shiftMask_64 : PatFrag<(ops node:$src0), (and node:$src0, imm), [{ 25 def mshl_#width : PatFrags<(ops node:$src0, node:$src1), 28 def msrl_#width : PatFrags<(ops node:$src0, node:$src1), 31 def msra_#width : PatFrags<(ops node:$src0, node:$src1),
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_fpsetmask.c | 187 struct ops { struct 193 static const struct ops float_ops[] = { argument 201 static const struct ops double_ops[] = { 209 static const struct ops long_double_ops[] = { 220 fpsetmask_masked(const struct ops *test_ops) in fpsetmask_masked() 224 const struct ops *t; in fpsetmask_masked() 257 fpsetmask_unmasked(const struct ops *test_ops) in fpsetmask_unmasked() 261 const struct ops *volatile t; in fpsetmask_unmasked()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SchedKryo.td | 42 def KryoUnitXA : ProcResource<1>; // Type X(A) micro-ops 43 def KryoUnitXB : ProcResource<1>; // Type X(B) micro-ops 44 def KryoUnitYA : ProcResource<1>; // Type Y(A) micro-ops 45 def KryoUnitYB : ProcResource<1>; // Type Y(B) micro-ops 46 def KryoUnitX : ProcResGroup<[KryoUnitXA, // Type X micro-ops 48 def KryoUnitY : ProcResGroup<[KryoUnitYA, // Type Y micro-ops 50 def KryoUnitXY : ProcResGroup<[KryoUnitXA, // Type XY micro-ops 54 def KryoUnitLSA : ProcResource<1>; // Type LS(A) micro-ops 55 def KryoUnitLSB : ProcResource<1>; // Type LS(B) micro-ops 56 def KryoUnitLS : ProcResGroup<[KryoUnitLSA, // Type LS micro-ops
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | core.h | 4519 if (rtwdev->hci.ops->clear) in rtw89_hci_clear() 4913 if (chip->ops->fem_setup) in rtw89_chip_fem_setup() 4921 if (chip->ops->rfe_gpio) in rtw89_chip_rfe_gpio() 4929 if (chip->ops->bb_sethw) in rtw89_chip_bb_sethw() 4937 if (chip->ops->rfk_init) in rtw89_chip_rfk_init() 4945 if (chip->ops->rfk_channel) in rtw89_chip_rfk_channel() 4962 if (chip->ops->rfk_scan) in rtw89_chip_rfk_scan() 4970 if (chip->ops->rfk_track) in rtw89_chip_rfk_track() 4986 if (chip->ops->power_trim) in rtw89_chip_power_trim() 5016 if (chip->ops->query_ppdu) in rtw89_chip_query_ppdu() [all …]
|
/freebsd/sys/dev/dwc/ |
H A D | if_dwc_rk.c | 128 struct if_dwc_rk_ops *ops; member 364 if (sc->ops->set_delays) in if_dwc_rk_sysctl_delays() 365 sc->ops->set_delays(sc); in if_dwc_rk_sysctl_delays() 532 if (sc->ops->set_phy_mode) in if_dwc_rk_init() 533 sc->ops->set_phy_mode(sc); in if_dwc_rk_init() 535 if (sc->ops->set_delays) in if_dwc_rk_init() 536 sc->ops->set_delays(sc); in if_dwc_rk_init() 557 if (sc->ops->phy_powerup) in if_dwc_rk_init() 558 sc->ops->phy_powerup(sc); in if_dwc_rk_init() 615 if (sc->ops->set_speed) in if_dwc_rk_set_speed() [all …]
|
/freebsd/sys/dev/mii/ |
H A D | mii_bitbang.h | 50 int mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, 52 void mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops); 53 void mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops,
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | device.c | 200 context->ops.destroy_cq(ibv_cq_ex_to_cq(cq)); in __lib_ibv_create_cq_ex() 226 if (!verbs_device->ops->init_context) { in __ibv_open_device() 227 context = verbs_device->ops->alloc_context(device, cmd_fd); in __ibv_open_device() 232 verbs_device->ops->free_context(context); in __ibv_open_device() 260 ret = verbs_device->ops->init_context(verbs_device, context, cmd_fd); in __ibv_open_device() 311 verbs_device->ops->uninit_context(verbs_device, context); in __ibv_close_device() 315 verbs_device->ops->free_context(context); in __ibv_close_device() 364 if (context->ops.async_event) in __ibv_get_async_event() 365 context->ops.async_event(event); in __ibv_get_async_event()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | pcic.c | 165 if (wakeup_required && ab->pci.ops->wakeup) in ath11k_pcic_write32() 166 ret = ab->pci.ops->wakeup(ab); in ath11k_pcic_write32() 171 ab->pci.ops->release(ab); in ath11k_pcic_write32() 202 if (wakeup_required && ab->pci.ops->wakeup) in ath11k_pcic_read32() 203 ret = ab->pci.ops->wakeup(ab); in ath11k_pcic_read32() 208 ab->pci.ops->release(ab); in ath11k_pcic_read32() 226 if (wakeup_required && ab->pci.ops->wakeup) { in ath11k_pcic_read() 227 ret = ab->pci.ops->wakeup(ab); in ath11k_pcic_read() 245 if (wakeup_required && ab->pci.ops->release) in ath11k_pcic_read() 246 ab->pci.ops->release(ab); in ath11k_pcic_read() [all …]
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_aes.c | 201 ctx.ops->setiv(&ctx, iv, csp->csp_ivlen); in ossl_aes_gcm() 204 if (ctx.ops->aad(&ctx, crp->crp_aad, crp->crp_aad_length) != 0) in ossl_aes_gcm() 213 if (ctx.ops->aad(&ctx, inseg, seglen) != 0) in ossl_aes_gcm() 234 if (ctx.ops->encrypt(&ctx, inseg, outseg, seglen) != 0) in ossl_aes_gcm() 237 if (ctx.ops->decrypt(&ctx, inseg, outseg, seglen) != 0) in ossl_aes_gcm() 247 ctx.ops->tag(&ctx, tag, GMAC_DIGEST_LEN); in ossl_aes_gcm() 253 if (ctx.ops->finish(&ctx, tag, GMAC_DIGEST_LEN) != 0) in ossl_aes_gcm()
|