Home
last modified time | relevance | path

Searched refs:nr_targets (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/cxl/core/
Dregion.c205 if (dev_WARN_ONCE(&cxld->dev, !cxlsd || cxlsd->nr_targets > 1, in commit_decoder()
216 for (i = 0; i < p->nr_targets; i++) { in cxl_region_decode_commit()
783 cxl_rr->nr_targets = 1; in alloc_region_ref()
951 cxl_rr->nr_targets++; in cxl_port_attach_region()
987 cxl_rr->nr_eps, cxl_rr->nr_targets); in cxl_port_attach_region()
992 cxl_rr->nr_targets--; in cxl_port_attach_region()
1032 cxl_rr->nr_targets--; in cxl_port_detach_region()
1099 if (!is_power_of_2(cxl_rr->nr_targets)) { in cxl_port_setup_targets()
1102 cxl_rr->nr_targets); in cxl_port_setup_targets()
1114 if (cxl_rr->nr_targets == 1) in cxl_port_setup_targets()
[all …]
Dport.c1607 if (dev_WARN_ONCE(&cxld->dev, iw != cxlsd->nr_targets, in cxl_hb_modulo()
1661 int nr_targets) in cxl_switch_decoder_init() argument
1663 if (nr_targets > CXL_DECODER_MAX_INTERLEAVE) in cxl_switch_decoder_init()
1666 cxlsd->nr_targets = nr_targets; in cxl_switch_decoder_init()
1682 unsigned int nr_targets, in cxl_root_decoder_alloc() argument
1693 cxlrd = kzalloc(struct_size(cxlrd, cxlsd.target, nr_targets), in cxl_root_decoder_alloc()
1699 rc = cxl_switch_decoder_init(port, cxlsd, nr_targets); in cxl_root_decoder_alloc()
1738 unsigned int nr_targets) in cxl_switch_decoder_alloc() argument
1747 cxlsd = kzalloc(struct_size(cxlsd, target, nr_targets), GFP_KERNEL); in cxl_switch_decoder_alloc()
1751 rc = cxl_switch_decoder_init(port, cxlsd, nr_targets); in cxl_switch_decoder_alloc()
Dtrace.c90 for (int i = 0; i < p->nr_targets; i++) { in cxl_trace_hpa()
/linux-6.6.21/mm/damon/
Ddbgfs.c458 static int dbgfs_set_targets(struct damon_ctx *ctx, ssize_t nr_targets, in dbgfs_set_targets() argument
470 for (i = 0; i < nr_targets; i++) { in dbgfs_set_targets()
476 dbgfs_put_pids(pids, nr_targets); in dbgfs_set_targets()
494 ssize_t nr_targets; in dbgfs_target_ids_write() local
503 nr_targets = 1; in dbgfs_target_ids_write()
507 target_pids = str_to_pids(kbuf, count, &nr_targets); in dbgfs_target_ids_write()
517 dbgfs_put_pids(target_pids, nr_targets); in dbgfs_target_ids_write()
524 if (!nr_targets) { in dbgfs_target_ids_write()
537 ret = dbgfs_set_targets(ctx, nr_targets, target_pids); in dbgfs_target_ids_write()
Dcore-test.h42 unsigned int nr_targets = 0; in nr_damon_targets() local
45 nr_targets++; in nr_damon_targets()
47 return nr_targets; in nr_damon_targets()
Dsysfs.c316 int nr_targets) in damon_sysfs_targets_add_dirs() argument
322 if (!nr_targets) in damon_sysfs_targets_add_dirs()
325 targets_arr = kmalloc_array(nr_targets, sizeof(*targets_arr), in damon_sysfs_targets_add_dirs()
331 for (i = 0; i < nr_targets; i++) { in damon_sysfs_targets_add_dirs()
397 __ATTR_RW_MODE(nr_targets, 0600);
/linux-6.6.21/drivers/cxl/
Dcxl.h418 int nr_targets; member
481 int nr_targets; member
666 int nr_targets; member
716 unsigned int nr_targets,
720 unsigned int nr_targets);
Dacpi.c56 cxld->interleave_ways != cxlsd->nr_targets, in cxl_hb_xor()
/linux-6.6.21/Documentation/driver-api/cxl/
Dmemory-devices.rst213 "nr_targets":2
220 "nr_targets":2
227 "nr_targets":1
234 "nr_targets":1
306 "nr_targets":1
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
69 │ │ │ │ │ targets/nr_targets
163 在开始时,这个目录只有一个文件 ``nr_targets`` 。向该文件写入一个数字(``N``),就可以创建
/linux-6.6.21/Documentation/admin-guide/mm/damon/
Dusage.rst52 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
72 │ │ │ │ │ targets/nr_targets
210 In the beginning, this directory has only one file, ``nr_targets``. Writing a
/linux-6.6.21/fs/smb/client/
Dmisc.c1328 timeout *= server->nr_targets; in cifs_wait_for_server_reconnect()
Dcifsglob.h764 int nr_targets; member
Dconnect.c345 server->nr_targets = num_targets; in cifs_tcp_ses_needs_reconnect()
1813 tcp_ses->nr_targets = 1; in cifs_get_tcp_session()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon105 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets