Home
last modified time | relevance | path

Searched refs:src_name (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/net/can/j1939/
H A Daddress-claim.c61 if (skcb->addr.src_name != j1939_skb_to_name(skb)) { in j1939_ac_verify_outgoing()
93 ecu = j1939_ecu_get_by_name(priv, skcb->addr.src_name); in j1939_ac_fixup()
101 } else if (skcb->addr.src_name) { in j1939_ac_fixup()
103 addr = j1939_name_to_addr(priv, skcb->addr.src_name); in j1939_ac_fixup()
107 skcb->addr.src_name); in j1939_ac_fixup()
139 skcb->addr.src_name = name; in j1939_ac_process()
259 skcb->addr.src_name = ecu->name; in j1939_ac_recv()
H A Dsocket.c219 if (jsk->addr.src_name && skcb->addr.dst_name) { in j1939_sk_match_dst()
220 if (jsk->addr.src_name != skcb->addr.dst_name) in j1939_sk_match_dst()
244 if (jsk->addr.dst_name && skcb->addr.src_name) { in j1939_sk_match_dst()
245 if (jsk->addr.dst_name != skcb->addr.src_name) in j1939_sk_match_dst()
282 if ((skcb->addr.src_name & f->name_mask) != f->name) in j1939_sk_match_filter()
516 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind()
596 addr->can_addr.j1939.name = jsk->addr.src_name; in j1939_sk_sock2sockaddr_can()
647 j1939_local_ecu_put(priv, jsk->addr.src_name, in j1939_sk_release()
856 paddr->can_addr.j1939.name = skcb->addr.src_name; in j1939_sk_recvmsg()
968 session->skcb.addr.src_name, J1939_NLA_PAD); in j1939_sk_get_timestamping_opt_stats()
[all …]
H A Dtransport.c480 if (se_addr->src_name) { in j1939_session_match()
481 if (se_addr->src_name != sk_addr->dst_name) in j1939_session_match()
488 if (se_addr->dst_name != sk_addr->src_name) in j1939_session_match()
494 if (se_addr->src_name) { in j1939_session_match()
495 if (se_addr->src_name != sk_addr->src_name) in j1939_session_match()
574 swap(skcb->addr.dst_name, skcb->addr.src_name); in j1939_skbcb_swap()
H A Dj1939-priv.h144 name_t src_name; member
/openbmc/linux/sound/core/
H A Dctljack.c49 static void jack_kctl_name_gen(char *name, const char *src_name, int size) in jack_kctl_name_gen() argument
51 size_t count = strlen(src_name); in jack_kctl_name_gen()
56 need_cat = strncmp(&src_name[count - 5], " Jack", 5) ? true : false; in jack_kctl_name_gen()
58 snprintf(name, size, need_cat ? "%s Jack" : "%s", src_name); in jack_kctl_name_gen()
/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c379 static int vkms_crc_parse_source(const char *src_name, bool *enabled) in vkms_crc_parse_source() argument
383 if (!src_name) { in vkms_crc_parse_source()
385 } else if (strcmp(src_name, "auto") == 0) { in vkms_crc_parse_source()
395 int vkms_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in vkms_verify_crc_source() argument
400 if (vkms_crc_parse_source(src_name, &enabled) < 0) { in vkms_verify_crc_source()
401 DRM_DEBUG_DRIVER("unknown source %s\n", src_name); in vkms_verify_crc_source()
426 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name) in vkms_set_crc_source() argument
432 ret = vkms_crc_parse_source(src_name, &enabled); in vkms_set_crc_source()
H A Dvkms_drv.h160 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name);
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crc.h81 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
83 const char *src_name,
H A Damdgpu_dm_crc.c197 amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in amdgpu_dm_crtc_verify_crc_source() argument
200 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_verify_crc_source()
204 src_name, crtc->index); in amdgpu_dm_crtc_verify_crc_source()
254 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in amdgpu_dm_crtc_set_crc_source() argument
256 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_set_crc_source()
269 src_name, crtc->index); in amdgpu_dm_crtc_set_crc_source()
/openbmc/linux/net/iucv/
H A Daf_iucv.c341 low_nmcpy(user_data, iucv->src_name); in iucv_sever_path()
560 memcpy(iucv->src_name, name, 8); in __iucv_auto_name()
678 low_nmcpy(user_data, iucv->src_name); in afiucv_path_connect()
1583 unsigned char src_name[8]; in iucv_callback_connreq() local
1588 memcpy(src_name, ipuser, 8); in iucv_callback_connreq()
1589 EBCASC(src_name, 8); in iucv_callback_connreq()
1596 !memcmp(&iucv_sk(sk)->src_name, src_name, 8)) { in iucv_callback_connreq()
1612 low_nmcpy(user_data, iucv->src_name); in iucv_callback_connreq()
1645 memcpy(niucv->src_name, iucv->src_name, 8); in iucv_callback_connreq()
1875 memcpy(niucv->src_name, iucv->src_name, 8); in afiucv_hs_callback_syn()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c77 static enum dpu_crtc_crc_source dpu_crtc_parse_crc_source(const char *src_name) in dpu_crtc_parse_crc_source() argument
79 if (!src_name || in dpu_crtc_parse_crc_source()
80 !strcmp(src_name, "none")) in dpu_crtc_parse_crc_source()
82 if (!strcmp(src_name, "auto") || in dpu_crtc_parse_crc_source()
83 !strcmp(src_name, "lm")) in dpu_crtc_parse_crc_source()
85 if (!strcmp(src_name, "encoder")) in dpu_crtc_parse_crc_source()
92 const char *src_name, size_t *values_cnt) in dpu_crtc_verify_crc_source() argument
94 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name); in dpu_crtc_verify_crc_source()
98 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_verify_crc_source()
140 static int dpu_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in dpu_crtc_set_crc_source() argument
[all …]
/openbmc/linux/fs/hfs/
H A Dcatalog.c288 int hfs_cat_move(u32 cnid, struct inode *src_dir, const struct qstr *src_name, in hfs_cat_move() argument
298 cnid, src_dir->i_ino, src_name->name, in hfs_cat_move()
315 hfs_cat_build_key(sb, src_fd.search_key, src_dir->i_ino, src_name); in hfs_cat_move()
344 hfs_cat_build_key(sb, src_fd.search_key, src_dir->i_ino, src_name); in hfs_cat_move()
/openbmc/qemu/tests/unit/
H A Dcrypto-tls-x509-helpers.c145 const char *src_name, in test_tls_der_encode() argument
152 asn1_der_coding(src, src_name, NULL, &size, NULL); in test_tls_der_encode()
156 asn1_der_coding(src, src_name, data, &size, NULL); in test_tls_der_encode()
/openbmc/linux/security/apparmor/
H A Dmount.c95 if (ad->mnt.src_name) { in audit_cb()
97 audit_log_untrustedstring(ab, ad->mnt.src_name); in audit_cb()
134 const char *name, const char *src_name, in audit_mount() argument
173 ad.mnt.src_name = src_name; in audit_mount()
/openbmc/linux/fs/hfsplus/
H A Dcatalog.c435 struct inode *src_dir, const struct qstr *src_name, in hfsplus_rename_cat() argument
445 cnid, src_dir->i_ino, src_name->name, in hfsplus_rename_cat()
462 src_dir->i_ino, src_name); in hfsplus_rename_cat()
501 src_dir->i_ino, src_name); in hfsplus_rename_cat()
H A Dhfsplus_fs.h450 int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, const struct qstr *src_name,
/openbmc/linux/include/net/iucv/
H A Daf_iucv.h117 char src_name[8];
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c288 .src_name.display_name.len = GSSX_max_princ_sz in gssp_accept_sec_context_upcall()
328 client_name = rctxh.src_name.display_name; in gssp_accept_sec_context_upcall()
H A Dgss_rpc_xdr.h102 gssx_name src_name; member
H A Dgss_rpc_xdr.c602 err = gssx_enc_name(xdr, &ctx->src_name); in gssx_enc_ctx()
665 err = gssx_dec_name(xdr, &ctx->src_name); in gssx_dec_ctx()
/openbmc/linux/security/apparmor/include/
H A Daudit.h149 const char *src_name; member
/openbmc/linux/fs/xfs/
H A Dxfs_inode.c2822 struct xfs_name *src_name, in xfs_rename_alloc_whiteout() argument
2835 name.name = src_name->name; in xfs_rename_alloc_whiteout()
2836 name.len = src_name->len; in xfs_rename_alloc_whiteout()
2864 struct xfs_name *src_name, in xfs_rename() argument
2883 trace_xfs_rename(src_dp, target_dp, src_name, target_name); in xfs_rename()
2894 error = xfs_rename_alloc_whiteout(idmap, src_name, in xfs_rename()
2900 src_name->type = XFS_DIR3_FT_CHRDEV; in xfs_rename()
2961 return xfs_cross_rename(tp, src_dp, src_name, src_ip, in xfs_rename()
3173 error = xfs_dir_replace(tp, src_dp, src_name, wip->i_ino, in xfs_rename()
3176 error = xfs_dir_removename(tp, src_dp, src_name, src_ip->i_ino, in xfs_rename()
H A Dxfs_inode.h517 struct xfs_inode *src_dp, struct xfs_name *src_name,
H A Dxfs_trace.h973 struct xfs_name *src_name, struct xfs_name *target_name),
974 TP_ARGS(src_dp, target_dp, src_name, target_name),
981 __dynamic_array(char, src_name, src_name->len)
988 __entry->src_namelen = src_name->len;
990 memcpy(__get_str(src_name), src_name->name, src_name->len);
1000 __get_str(src_name),
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py1365 src_name = sparse.name
1369 with open(src_name, 'r+b') as sfile:

12