Home
last modified time | relevance | path

Searched refs:cpath (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_cloud_merge.c151 char *rname, *ppath, *cpath; in lookup_merge_normal() local
164 cpath = kzalloc(PATH_MAX, GFP_KERNEL); in lookup_merge_normal()
165 if (unlikely(!cpath)) { in lookup_merge_normal()
171 snprintf(cpath, PATH_MAX, "device_view/local%s/%s", ppath, in lookup_merge_normal()
173 merge_lookup_sync(mdi, sbi, 0, cpath, flags); in lookup_merge_normal()
180 snprintf(cpath, PATH_MAX, "device_view/%s%s/%s", CLOUD_CID, in lookup_merge_normal()
183 merge_lookup_async(mdi, sbi, CLOUD_DEVICE, cpath, flags); in lookup_merge_normal()
193 kfree(cpath); in lookup_merge_normal()
Dinode_merge.c489 char *rname, *ppath, *cpath; in lookup_merge_normal() local
502 cpath = kzalloc(PATH_MAX, GFP_KERNEL); in lookup_merge_normal()
503 if (unlikely(!cpath)) { in lookup_merge_normal()
511 snprintf(cpath, PATH_MAX, "device_view/local%s/%s", ppath, in lookup_merge_normal()
513 err = merge_lookup_async(mdi, sbi, 0, cpath, flags); in lookup_merge_normal()
521 snprintf(cpath, PATH_MAX, "device_view/%s%s/%s", peer->cid, in lookup_merge_normal()
523 err = merge_lookup_async(mdi, sbi, peer->device_id, cpath, in lookup_merge_normal()
537 kfree(cpath); in lookup_merge_normal()
/kernel/linux/linux-5.10/net/rds/
Dsend.c1114 struct rds_conn_path *cpath; in rds_sendmsg() local
1309 cpath = &conn->c_path[rds_send_mprds_hash(rs, conn, nonblock)]; in rds_sendmsg()
1311 cpath = &conn->c_path[0]; in rds_sendmsg()
1313 rm->m_conn_path = cpath; in rds_sendmsg()
1343 if (rds_conn_path_down(cpath)) in rds_sendmsg()
1351 while (!rds_send_queue_rm(rs, conn, cpath, rm, rs->rs_bound_port, in rds_sendmsg()
1361 rds_send_queue_rm(rs, conn, cpath, rm, in rds_sendmsg()
1382 ret = rds_send_xmit(cpath); in rds_sendmsg()
1386 if (rds_destroy_pending(cpath->cp_conn)) in rds_sendmsg()
1389 queue_delayed_work(rds_wq, &cpath->cp_send_w, 1); in rds_sendmsg()
Drds.h775 void rds_conn_shutdown(struct rds_conn_path *cpath);
778 void rds_conn_path_drop(struct rds_conn_path *cpath, bool destroy);
/kernel/linux/linux-5.10/scripts/dtc/
Dflattree.c713 static char *nodename_from_path(const char *ppath, const char *cpath) in nodename_from_path() argument
719 if (!strstarts(cpath, ppath)) in nodename_from_path()
721 cpath, ppath); in nodename_from_path()
727 return xstrdup(cpath + plen); in nodename_from_path()
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-file.c418 char cpath[PATH_MAX]; in probe_cache__open() local
465 snprintf(cpath, PATH_MAX, "%s/probes", dir_name); in probe_cache__open()
466 fd = open(cpath, O_CREAT | O_RDWR, 0644); in probe_cache__open()
468 pr_debug("Failed to open cache(%d): %s\n", fd, cpath); in probe_cache__open()