/dports/benchmarks/spp/caia-swin-spp-8cfe6814ce52/src/ |
H A D | instance.c | 88 mpoint->id = id; in mpoint_load() 90 mpoint->q_size[IN] = 0; in mpoint_load() 91 mpoint->q_size[OUT] = 0; in mpoint_load() 92 mpoint->type = type; in mpoint_load() 113 mpoint->byte_order_swapped = pcap_is_swapped(mpoint->dev); in mpoint_load() 135 mpoint->finished = 0; in mpoint_load() 137 mpoint->datalink_type = pcap_datalink(mpoint->dev); in mpoint_load() 167 switch(mpoint->type) { in mpoint_start() 174 pthread_create(&mpoint->thread, NULL, &runMaster, (void*)mpoint); in mpoint_start() 189 switch(mpoint->type) { in mpoint_unload() [all …]
|
H A D | master.c | 57 void loadMaster(monitor_point_t * mpoint, const char * name) { in loadMaster() argument 117 monitor_point_t * mpoint = (monitor_point_t *)args; in runMaster() local 198 pthread_mutex_lock(&mpoint->q_mutex[direction]); in runMaster() 199 …TAILQ_INSERT_TAIL(&mpoint->instance_q[direction], ins, entries); // Insert instance into ap… in runMaster() 200 pthread_mutex_unlock(&mpoint->q_mutex[direction]); in runMaster() 201 pthread_mutex_lock(&mpoint->q_size_mutex[direction]); in runMaster() 202 mpoint->q_size[direction]++; in runMaster() 203 pthread_mutex_unlock(&mpoint->q_size_mutex[direction]); in runMaster() 205 …ins->pkt_id, mpoint->id, direction, (unsigned long long) ins->ts.tv_sec, (unsigned long long) ins-… in runMaster()
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/cs/vcs_src/ |
H A D | mnt_mtab.c | 24 char* mpoint; member 37 int add_entry(mpoint, cmd) in add_entry() argument 38 char* mpoint; in add_entry() 43 if (mpoint == NULL || cmd == NULL) 46 entry->mpoint = strdup(mpoint); 55 int rm_entry(mpoint) in rm_entry() argument 56 register char* mpoint; in rm_entry() 64 free(entry->mpoint); 105 int do_call(mpoint, value, dump) in do_call() argument 106 char* mpoint; in do_call() [all …]
|
H A D | mnt_mount.c | 76 char* mpoint; local 124 mpoint = argv[0]; 130 if (callmount(fd, mpoint, mfs, reply) == 0) 151 mpoint = s; 167 if (callmount(fd, mpoint, mfs, reply) == 0) 177 int callmount(fd, mpoint, mfs, reply) in callmount() argument 179 char* mpoint; 188 sfsprintf(buf, sizeof(buf), "m - %s\n", mpoint); 190 sfsprintf(buf, sizeof(buf), "m %s %s\n", mfs, mpoint); 194 (void)add_entry(mpoint, buf);
|
/dports/shells/ksh93/ast-93u/src/cmd/cs/vcs_src/ |
H A D | mnt_mtab.c | 24 char* mpoint; member 37 int add_entry(mpoint, cmd) in add_entry() argument 38 char* mpoint; in add_entry() 43 if (mpoint == NULL || cmd == NULL) 46 entry->mpoint = strdup(mpoint); 55 int rm_entry(mpoint) in rm_entry() argument 56 register char* mpoint; in rm_entry() 64 free(entry->mpoint); 105 int do_call(mpoint, value, dump) in do_call() argument 106 char* mpoint; in do_call() [all …]
|
H A D | mnt_mount.c | 76 char* mpoint; local 124 mpoint = argv[0]; 130 if (callmount(fd, mpoint, mfs, reply) == 0) 151 mpoint = s; 167 if (callmount(fd, mpoint, mfs, reply) == 0) 177 int callmount(fd, mpoint, mfs, reply) in callmount() argument 179 char* mpoint; 188 sfsprintf(buf, sizeof(buf), "m - %s\n", mpoint); 190 sfsprintf(buf, sizeof(buf), "m %s %s\n", mfs, mpoint); 194 (void)add_entry(mpoint, buf);
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/cs/vcs_src/ |
H A D | mnt_mtab.c | 24 char* mpoint; member 37 int add_entry(mpoint, cmd) in add_entry() argument 38 char* mpoint; in add_entry() 43 if (mpoint == NULL || cmd == NULL) 46 entry->mpoint = strdup(mpoint); 55 int rm_entry(mpoint) in rm_entry() argument 56 register char* mpoint; in rm_entry() 64 free(entry->mpoint); 105 int do_call(mpoint, value, dump) in do_call() argument 106 char* mpoint; in do_call() [all …]
|
H A D | mnt_mount.c | 76 char* mpoint; local 124 mpoint = argv[0]; 130 if (callmount(fd, mpoint, mfs, reply) == 0) 151 mpoint = s; 167 if (callmount(fd, mpoint, mfs, reply) == 0) 177 int callmount(fd, mpoint, mfs, reply) in callmount() argument 179 char* mpoint; 188 sfsprintf(buf, sizeof(buf), "m - %s\n", mpoint); 190 sfsprintf(buf, sizeof(buf), "m %s %s\n", mfs, mpoint); 194 (void)add_entry(mpoint, buf);
|
/dports/devel/hadoop/hadoop-1.2.1/src/contrib/fuse-dfs/src/test/ |
H A D | TestFuseDFS.java | 93 Process p = r.exec("fusermount -u " + mpoint); in umount() 105 final static private String mpoint; field in TestFuseDFS 121 mount(mpoint, fileSys.getUri()); in startStuff() 163 File file = new File(mpoint, "hello.txt"); in testWrites() 208 p = r.exec("ls " + mpoint + "/test/mkdirs"); in testLs() 236 p = r.exec("rmdir " + mpoint + "/test/rmdir"); in testRmdir() 252 p = r.exec("rmdir " + mpoint + "/test/rmdir"); in testRmdir() 277 File f = new File(mpoint + "/foo"); in testDF() 380 cmd = "touch " + mpoint + path.toString(); in testUtimes() 544 File f = new File(mpoint + "/appends"); in testAppends() [all …]
|
/dports/devel/librttopo/librttopo-1.1.0/src/ |
H A D | rtmpoint.c | 94 rtmpoint_remove_repeated_points(const RTCTX *ctx, const RTMPOINT *mpoint, double tolerance) in rtmpoint_remove_repeated_points() argument 100 newgeoms = rtalloc(ctx, sizeof(RTGEOM *)*mpoint->ngeoms); in rtmpoint_remove_repeated_points() 102 for (i=0; i<mpoint->ngeoms; ++i) in rtmpoint_remove_repeated_points() 109 (RTPOINT*)mpoint->geoms[i]) ) in rtmpoint_remove_repeated_points() 116 newgeoms[nnewgeoms++] = (RTGEOM*)rtpoint_clone(ctx, mpoint->geoms[i]); in rtmpoint_remove_repeated_points() 119 return (RTGEOM*)rtcollection_construct(ctx, mpoint->type, in rtmpoint_remove_repeated_points() 120 … mpoint->srid, mpoint->bbox ? gbox_copy(ctx, mpoint->bbox) : NULL, in rtmpoint_remove_repeated_points()
|
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 133 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 154 mpoint = ++p; in VFS_FS_DISCOVERY() 156 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 169 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 187 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 213 mpoint = ++p; in vfs_fs_get() 215 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 240 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 271 mpoint = ++p; in vfs_fs_get() 273 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 133 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 154 mpoint = ++p; in VFS_FS_DISCOVERY() 156 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 169 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 187 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 213 mpoint = ++p; in vfs_fs_get() 215 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 240 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 271 mpoint = ++p; in vfs_fs_get() 273 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; 151 mpoint = ++p; 153 if (NULL == (p = strchr(mpoint, ' '))) 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; 210 mpoint = ++p; 212 if (NULL == (p = strchr(mpoint, ' '))) 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); 268 mpoint = ++p; 270 if (NULL == (p = strchr(mpoint, ' '))) [all …]
|
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix54-java/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix54-frontend/zabbix-5.4.9/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 132 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 151 mpoint = ++p; in VFS_FS_DISCOVERY() 153 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 166 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 184 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 210 mpoint = ++p; in vfs_fs_get() 212 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 237 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 268 mpoint = ++p; in vfs_fs_get() 270 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix4-frontend/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 133 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 154 mpoint = ++p; in VFS_FS_DISCOVERY() 156 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 169 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 187 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 213 mpoint = ++p; in vfs_fs_get() 215 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 240 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 271 mpoint = ++p; in vfs_fs_get() 273 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix4-java/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 133 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 154 mpoint = ++p; in VFS_FS_DISCOVERY() 156 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 169 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 187 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 213 mpoint = ++p; in vfs_fs_get() 215 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 240 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 271 mpoint = ++p; in vfs_fs_get() 273 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|
/dports/net-mgmt/zabbix4-agent/zabbix-4.0.30/src/libs/zbxsysinfo/linux/ |
H A D | diskspace.c | 133 char line[MAX_STRING_LEN], *p, *mpoint, *mtype; in VFS_FS_DISCOVERY() local 154 mpoint = ++p; in VFS_FS_DISCOVERY() 156 if (NULL == (p = strchr(mpoint, ' '))) in VFS_FS_DISCOVERY() 169 zbx_json_addstring(&j, ZBX_LLD_MACRO_FSNAME, mpoint, ZBX_JSON_TYPE_STRING); in VFS_FS_DISCOVERY() 187 char line[MAX_STRING_LEN], *p, *mpoint, *mtype, *error; in vfs_fs_get() local 213 mpoint = ++p; in vfs_fs_get() 215 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() 240 zbx_strlcpy(mntpoint->fsname, mpoint, MAX_STRING_LEN); in vfs_fs_get() 271 mpoint = ++p; in vfs_fs_get() 273 if (NULL == (p = strchr(mpoint, ' '))) in vfs_fs_get() [all …]
|