Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 25 of 96) sorted by relevance

1234

/drivers/crypto/amcc/
Dcrypto4xx_alg.c35 static void set_dynamic_sa_command_0(struct dynamic_sa_ctl *sa, u32 save_h, in set_dynamic_sa_command_0() argument
40 sa->sa_command_0.w = 0; in set_dynamic_sa_command_0()
41 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0()
42 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0()
43 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0()
44 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0()
45 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0()
46 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
47 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
48 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0()
[all …]
Dcrypto4xx_core.c596 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() local
600 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
769 struct dynamic_sa_ctl *sa; in crypto4xx_build_pd() local
848 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
849 sa = (struct dynamic_sa_ctl *) pd_uinfo->sa_va; in crypto4xx_build_pd()
851 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_build_pd()
853 memcpy(sa, ctx->sa_out, ctx->sa_len * 4); in crypto4xx_build_pd()
855 memcpy((void *) sa + ctx->offset_to_sr_ptr, in crypto4xx_build_pd()
862 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
863 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_build_pd()
[all …]
/drivers/staging/rtl8712/
Dwifi.h332 unsigned char *sa; in get_sa() local
337 sa = GetAddr2Ptr(pframe); in get_sa()
340 sa = GetAddr3Ptr(pframe); in get_sa()
343 sa = GetAddr2Ptr(pframe); in get_sa()
346 sa = GetAddr4Ptr(pframe); in get_sa()
350 return sa; in get_sa()
355 unsigned char *sa; in get_hdr_bssid() local
360 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
363 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
366 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
[all …]
/drivers/block/
Dcciss_scsi.c141 struct cciss_scsi_adapter_data_t *sa; in scsi_cmd_alloc() local
145 sa = h->scsi_ctlr; in scsi_cmd_alloc()
146 stk = &sa->cmd_stack; in scsi_cmd_alloc()
182 struct cciss_scsi_adapter_data_t *sa; in scsi_cmd_free() local
185 sa = h->scsi_ctlr; in scsi_cmd_free()
186 stk = &sa->cmd_stack; in scsi_cmd_free()
197 scsi_cmd_stack_setup(ctlr_info_t *h, struct cciss_scsi_adapter_data_t *sa) in scsi_cmd_stack_setup() argument
203 stk = &sa->cmd_stack; in scsi_cmd_stack_setup()
205 sa->cmd_sg_list = cciss_allocate_sg_chain_blocks(h, in scsi_cmd_stack_setup()
207 if (!sa->cmd_sg_list && h->chainsize > 0) in scsi_cmd_stack_setup()
[all …]
/drivers/staging/rtl8188eu/include/
Dwifi.h307 unsigned char *sa; in get_sa() local
312 sa = GetAddr2Ptr(pframe); in get_sa()
315 sa = GetAddr3Ptr(pframe); in get_sa()
318 sa = GetAddr2Ptr(pframe); in get_sa()
321 sa = GetAddr4Ptr(pframe); in get_sa()
324 return sa; in get_sa()
329 unsigned char *sa; in get_hdr_bssid() local
334 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
337 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
340 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
[all …]
/drivers/net/
Dmacsec.c172 struct macsec_rx_sa __rcu *sa[MACSEC_NUM_AN]; member
219 struct macsec_tx_sa __rcu *sa[MACSEC_NUM_AN]; member
312 struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); in macsec_rxsa_get() local
314 if (!sa || !sa->active) in macsec_rxsa_get()
317 if (!atomic_inc_not_zero(&sa->refcnt)) in macsec_rxsa_get()
320 return sa; in macsec_rxsa_get()
344 struct macsec_rx_sa *sa = container_of(head, struct macsec_rx_sa, rcu); in free_rxsa() local
346 crypto_free_aead(sa->key.tfm); in free_rxsa()
347 free_percpu(sa->stats); in free_rxsa()
348 kfree(sa); in free_rxsa()
[all …]
Dvxlan.c96 if (a->sa.sa_family != b->sa.sa_family) in vxlan_addr_equal()
98 if (a->sa.sa_family == AF_INET6) in vxlan_addr_equal()
106 if (ipa->sa.sa_family == AF_INET6) in vxlan_addr_any()
114 if (ipa->sa.sa_family == AF_INET6) in vxlan_addr_multicast()
124 ip->sa.sa_family = AF_INET6; in vxlan_nla_get_addr()
128 ip->sa.sa_family = AF_INET; in vxlan_nla_get_addr()
138 if (ip->sa.sa_family == AF_INET6) in vxlan_nla_put_addr()
168 ip->sa.sa_family = AF_INET; in vxlan_nla_get_addr()
751 if (remote->sa.sa_family == AF_INET) { in vxlan_fdb_parse()
753 ip->sa.sa_family = AF_INET; in vxlan_fdb_parse()
[all …]
Dgeneve.c51 struct sockaddr sa; member
54 static union geneve_addr geneve_remote_unspec = { .sa.sa_family = AF_UNSPEC, };
624 bool ipv6 = geneve->remote.sa.sa_family == AF_INET6; in geneve_open()
1062 (!info && geneve->remote.sa.sa_family == AF_INET6)) in geneve_xmit()
1081 if (geneve->remote.sa.sa_family == AF_INET6) in __geneve_change_mtu()
1289 (remote->sa.sa_family != AF_UNSPEC || vni || tos || ttl || label)) in geneve_configure()
1299 if ((remote->sa.sa_family == AF_INET && in geneve_configure()
1301 (remote->sa.sa_family == AF_INET6 && in geneve_configure()
1304 if (label && remote->sa.sa_family != AF_INET6) in geneve_configure()
1323 if (remote->sa.sa_family == AF_INET) in geneve_configure()
[all …]
/drivers/gpu/drm/
Ddrm_blend.c288 const struct drm_plane_state *sa = *(struct drm_plane_state **)a; in drm_atomic_state_zpos_cmp() local
291 if (sa->zpos != sb->zpos) in drm_atomic_state_zpos_cmp()
292 return sa->zpos - sb->zpos; in drm_atomic_state_zpos_cmp()
294 return sa->plane->base.id - sb->plane->base.id; in drm_atomic_state_zpos_cmp()
/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c145 u8 *sa = NULL; in update_recvframe_phyinfo_88e() local
169 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
172 sa = get_sa(wlanhdr); in update_recvframe_phyinfo_88e()
177 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo_88e()
/drivers/s390/char/
Dzcore.c120 struct save_area *sa; in init_cpu_info() local
123 sa = save_area_boot_cpu(); in init_cpu_info()
124 if (!sa) in init_cpu_info()
130 save_area_add_regs(sa, hsa_buf); /* vx registers are saved in smp.c */ in init_cpu_info()
/drivers/scsi/
Dscsi_logging.c151 int sa, cdb0; in scsi_format_opcode_name() local
165 sa = (cdbp[8] << 8) + cdbp[9]; in scsi_format_opcode_name()
167 sa = cdbp[1] & 0x1f; in scsi_format_opcode_name()
169 if (!scsi_opcode_sa_name(cdb0, sa, &cdb_name, &sa_name)) { in scsi_format_opcode_name()
188 cdb_name, sa); in scsi_format_opcode_name()
191 "opcode=0x%x, sa=0x%x", cdb0, sa); in scsi_format_opcode_name()
/drivers/net/wireless/intersil/orinoco/
Dmic.c49 u8 *da, u8 *sa, u8 priority, in orinoco_mic() argument
63 memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); in orinoco_mic()
Dmic.h20 u8 *da, u8 *sa, u8 priority,
/drivers/net/ppp/
Dpptp.c99 struct pptp_addr *sa) in add_chan() argument
104 if (!sa->call_id) { in add_chan()
111 sa->call_id = call_id; in add_chan()
112 } else if (test_bit(sa->call_id, callid_bitmap)) { in add_chan()
116 sock->proto.pptp.src_addr = *sa; in add_chan()
117 set_bit(sa->call_id, callid_bitmap); in add_chan()
118 rcu_assign_pointer(callid_sock[sa->call_id], sock); in add_chan()
/drivers/target/
Dtarget_core_xcopy.c847 unsigned int list_id, list_id_usage, sdll, inline_dl, sa; in target_do_xcopy() local
857 sa = se_cmd->t_task_cdb[1] & 0x1f; in target_do_xcopy()
858 if (sa != 0x00) { in target_do_xcopy()
1029 int sa = (cdb[1] & 0x1f), list_id = cdb[2]; in target_do_receive_copy_results() local
1033 " 0x%02x, AL: %u\n", sa, list_id, se_cmd->data_length); in target_do_receive_copy_results()
1041 switch (sa) { in target_do_receive_copy_results()
1049 pr_err("Unsupported SA for receive copy results: 0x%02x\n", sa); in target_do_receive_copy_results()
/drivers/net/bonding/
Dbond_alb.c1215 struct sockaddr sa; in alb_set_mac_address() local
1238 memcpy(sa.sa_data, bond->dev->dev_addr, bond->dev->addr_len); in alb_set_mac_address()
1239 sa.sa_family = bond->dev->type; in alb_set_mac_address()
1246 dev_set_mac_address(rollback_slave->dev, &sa); in alb_set_mac_address()
1677 struct sockaddr sa; in bond_alb_handle_active_change() local
1682 memcpy(sa.sa_data, bond->dev->dev_addr, bond->dev->addr_len); in bond_alb_handle_active_change()
1683 sa.sa_family = bond->dev->type; in bond_alb_handle_active_change()
1685 dev_set_mac_address(new_slave->dev, &sa); in bond_alb_handle_active_change()
1707 struct sockaddr *sa = addr; in bond_alb_set_mac_address() local
1712 if (!is_valid_ether_addr(sa->sa_data)) in bond_alb_set_mac_address()
[all …]
/drivers/s390/cio/
Dscm.c135 dev_set_name(&scmdev->dev, "%016llx", (unsigned long long) sale->sa); in scmdev_setup()
137 scmdev->address = sale->sa; in scmdev_setup()
181 return scmdev->address == sale->sa; in check_address()
/drivers/scsi/cxlflash/
Dmain.c85 cmd->sa.ioasc = 0; in cmd_checkin()
87 cmd->sa.host_use[0] = 0; /* clears both completion and retry bytes */ in cmd_checkin()
115 ioasa = &(cmd->sa); in process_cmd_err()
226 cmd->sa.host_use_b[0] |= B_DONE; in cmd_complete()
231 if (unlikely(cmd->sa.ioasc)) in cmd_complete()
241 cmd->sa.ioasc); in cmd_complete()
275 if (cmd->sa.host_use_b[0] & B_DONE) { in context_reset()
280 cmd->sa.host_use_b[0] |= (B_DONE | B_ERROR | B_TIMEOUT); in context_reset()
390 if (unlikely(cmd->sa.ioasc != 0)) in wait_resp()
393 cmd->sa.rc.flags, cmd->sa.rc.afu_rc, cmd->sa.rc.scsi_rc, in wait_resp()
[all …]
/drivers/net/appletalk/
Dcops.c938 struct sockaddr_at *sa = (struct sockaddr_at *)&ifr->ifr_addr; in cops_ioctl() local
945 cops_nodeid(dev, sa->sat_addr.s_node); in cops_ioctl()
946 aa->s_net = sa->sat_addr.s_net; in cops_ioctl()
958 sa->sat_addr.s_net = aa->s_net; in cops_ioctl()
959 sa->sat_addr.s_node = aa->s_node; in cops_ioctl()
Dltpc.c818 struct sockaddr_at *sa = (struct sockaddr_at *) &ifr->ifr_addr; in ltpc_ioctl() local
830 aa->s_net = sa->sat_addr.s_net; in ltpc_ioctl()
834 c.hint = sa->sat_addr.s_node; in ltpc_ioctl()
852 sa->sat_addr.s_net = aa->s_net; in ltpc_ioctl()
853 sa->sat_addr.s_node = aa->s_node; in ltpc_ioctl()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h338 #define h_copy_rdma(l, sa, sb, da, db) \ argument
339 plpar_hcall_norets(H_COPY_RDMA, l, sa, sb, da, db)
/drivers/scsi/aacraid/
DMakefile6 dpcsup.o rx.o sa.o rkt.o nark.o src.o
/drivers/staging/lustre/lustre/osc/
Dosc_request.c324 struct osc_setattr_args *sa, int rc) in osc_setattr_interpret() argument
337 lustre_get_wire_obdo(&req->rq_import->imp_connect_data, sa->sa_oa, in osc_setattr_interpret()
340 rc = sa->sa_upcall(sa->sa_cookie, rc); in osc_setattr_interpret()
350 struct osc_setattr_args *sa; in osc_setattr_async_base() local
378 CLASSERT(sizeof(*sa) <= sizeof(req->rq_async_args)); in osc_setattr_async_base()
379 sa = ptlrpc_req_async_args(req); in osc_setattr_async_base()
380 sa->sa_oa = oinfo->oi_oa; in osc_setattr_async_base()
381 sa->sa_upcall = upcall; in osc_setattr_async_base()
382 sa->sa_cookie = cookie; in osc_setattr_async_base()
475 struct osc_setattr_args *sa; in osc_punch_base() local
[all …]
/drivers/staging/greybus/tools/
Dloopback_test.c731 struct sigaction sa; in wait_for_complete() local
739 sa.sa_handler = handler; in wait_for_complete()
740 sa.sa_flags = 0; in wait_for_complete()
741 sigemptyset(&sa.sa_mask); in wait_for_complete()
742 if (sigaction(SIGINT, &sa, NULL) == -1) { in wait_for_complete()

1234