Home
last modified time | relevance | path

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

/Linux-v6.1/net/can/j1939/
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()
219 skcb->addr.src_name = ecu->name; in j1939_ac_recv()
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()
277 if ((skcb->addr.src_name & f->name_mask) != f->name) in j1939_sk_match_filter()
461 j1939_local_ecu_put(priv, jsk->addr.src_name, jsk->addr.sa); in j1939_sk_bind()
504 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind()
508 ret = j1939_local_ecu_get(priv, jsk->addr.src_name, jsk->addr.sa); in j1939_sk_bind()
584 addr->can_addr.j1939.name = jsk->addr.src_name; in j1939_sk_sock2sockaddr_can()
635 j1939_local_ecu_put(priv, jsk->addr.src_name, in j1939_sk_release()
[all …]
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()
Dj1939-priv.h144 name_t src_name; member
/Linux-v6.1/sound/core/
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()
/Linux-v6.1/drivers/gpu/drm/vkms/
Dvkms_composer.c261 static int vkms_crc_parse_source(const char *src_name, bool *enabled) in vkms_crc_parse_source() argument
265 if (!src_name) { in vkms_crc_parse_source()
267 } else if (strcmp(src_name, "auto") == 0) { in vkms_crc_parse_source()
277 int vkms_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in vkms_verify_crc_source() argument
282 if (vkms_crc_parse_source(src_name, &enabled) < 0) { in vkms_verify_crc_source()
283 DRM_DEBUG_DRIVER("unknown source %s\n", src_name); in vkms_verify_crc_source()
308 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name) in vkms_set_crc_source() argument
314 ret = vkms_crc_parse_source(src_name, &enabled); in vkms_set_crc_source()
Dvkms_drv.h151 int vkms_set_crc_source(struct drm_crtc *crtc, const char *src_name);
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.h76 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name);
78 const char *src_name,
Damdgpu_dm_crc.c153 amdgpu_dm_crtc_verify_crc_source(struct drm_crtc *crtc, const char *src_name, in amdgpu_dm_crtc_verify_crc_source() argument
156 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_verify_crc_source()
160 src_name, crtc->index); in amdgpu_dm_crtc_verify_crc_source()
224 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in amdgpu_dm_crtc_set_crc_source() argument
226 enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name); in amdgpu_dm_crtc_set_crc_source()
239 src_name, crtc->index); in amdgpu_dm_crtc_set_crc_source()
/Linux-v6.1/net/iucv/
Daf_iucv.c219 memcpy(phs_hdr->srcAppName, iucv->src_name, 8); in afiucv_hs_send()
270 if (!memcmp(&iucv_sk(sk)->src_name, nm, 8)) in __iucv_get_sock_by_name()
341 low_nmcpy(user_data, iucv->src_name); in iucv_sever_path()
560 memcpy(iucv->src_name, name, 8); in __iucv_auto_name()
611 memcpy(iucv->src_name, sa->siucv_name, 8); in iucv_sock_bind()
627 memcpy(iucv->src_name, sa->siucv_name, 8); in iucv_sock_bind()
678 low_nmcpy(user_data, iucv->src_name); in afiucv_path_connect()
865 memcpy(siucv->siucv_name, iucv->src_name, 8); in iucv_sock_getname()
1583 unsigned char src_name[8]; in iucv_callback_connreq() local
1588 memcpy(src_name, ipuser, 8); in iucv_callback_connreq()
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c76 static enum dpu_crtc_crc_source dpu_crtc_parse_crc_source(const char *src_name) in dpu_crtc_parse_crc_source() argument
78 if (!src_name || in dpu_crtc_parse_crc_source()
79 !strcmp(src_name, "none")) in dpu_crtc_parse_crc_source()
81 if (!strcmp(src_name, "auto") || in dpu_crtc_parse_crc_source()
82 !strcmp(src_name, "lm")) in dpu_crtc_parse_crc_source()
84 if (!strcmp(src_name, "encoder")) in dpu_crtc_parse_crc_source()
91 const char *src_name, size_t *values_cnt) in dpu_crtc_verify_crc_source() argument
93 enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name); in dpu_crtc_verify_crc_source()
97 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_verify_crc_source()
139 static int dpu_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name) in dpu_crtc_set_crc_source() argument
[all …]
/Linux-v6.1/fs/hfs/
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()
/Linux-v6.1/security/apparmor/
Dmount.c94 if (aad(sa)->mnt.src_name) { in audit_cb()
96 audit_log_untrustedstring(ab, aad(sa)->mnt.src_name); in audit_cb()
131 const char *name, const char *src_name, in audit_mount() argument
169 aad(&sa)->mnt.src_name = src_name; in audit_mount()
/Linux-v6.1/fs/hfsplus/
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()
Dhfsplus_fs.h448 int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, const struct qstr *src_name,
/Linux-v6.1/include/net/iucv/
Daf_iucv.h117 char src_name[8];
/Linux-v6.1/net/sunrpc/auth_gss/
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()
Dgss_rpc_xdr.h102 gssx_name src_name; member
Dgss_rpc_xdr.c591 err = gssx_enc_name(xdr, &ctx->src_name); in gssx_enc_ctx()
654 err = gssx_dec_name(xdr, &ctx->src_name); in gssx_dec_ctx()
/Linux-v6.1/security/apparmor/include/
Daudit.h147 const char *src_name; member
/Linux-v6.1/fs/xfs/
Dxfs_inode.c2713 struct xfs_name *src_name, in xfs_rename_alloc_whiteout() argument
2726 name.name = src_name->name; in xfs_rename_alloc_whiteout()
2727 name.len = src_name->len; in xfs_rename_alloc_whiteout()
2755 struct xfs_name *src_name, in xfs_rename() argument
2774 trace_xfs_rename(src_dp, target_dp, src_name, target_name); in xfs_rename()
2785 error = xfs_rename_alloc_whiteout(mnt_userns, src_name, in xfs_rename()
2791 src_name->type = XFS_DIR3_FT_CHRDEV; in xfs_rename()
2852 return xfs_cross_rename(tp, src_dp, src_name, src_ip, in xfs_rename()
3064 error = xfs_dir_replace(tp, src_dp, src_name, wip->i_ino, in xfs_rename()
3067 error = xfs_dir_removename(tp, src_dp, src_name, src_ip->i_ino, in xfs_rename()
Dxfs_inode.h488 struct xfs_inode *src_dp, struct xfs_name *src_name,
Dxfs_trace.h976 struct xfs_name *src_name, struct xfs_name *target_name),
977 TP_ARGS(src_dp, target_dp, src_name, target_name),
984 __dynamic_array(char, src_name, src_name->len)
991 __entry->src_namelen = src_name->len;
993 memcpy(__get_str(src_name), src_name->name, src_name->len);
1003 __get_str(src_name),