MCPcopy Create free account
hub / github.com/ceph/ceph / add_cmd_args

Method add_cmd_args

src/common/SubProcess.cc:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void SubProcess::add_cmd_args(const char *arg, ...) {
40 ceph_assert(!is_spawned());
41
42 va_list ap;
43 va_start(ap, arg);
44 const char *p = arg;
45 do {
46 add_cmd_arg(p);
47 p = va_arg(ap, const char*);
48 } while (p != NULL);
49 va_end(ap);
50}
51
52void SubProcess::add_cmd_arg(const char *arg) {
53 ceph_assert(!is_spawned());

Callers 10

run_quiesce_hookFunction · 0.45
TESTFunction · 0.45
map_dokanFunction · 0.45
map_dokan_read_onlyFunction · 0.45
map_dokan_with_maxpathFunction · 0.45
invoke_dateMethod · 0.45
update_from_hookMethod · 0.45

Calls

no outgoing calls

Tested by 5

TESTFunction · 0.36
map_dokanFunction · 0.36
map_dokan_read_onlyFunction · 0.36
map_dokan_with_maxpathFunction · 0.36