Home
last modified time | relevance | path

Searched refs:MAX_MSG (Results 1 – 25 of 36) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_2.c31 #define MAX_MSG 3 macro
35 char r_msg_ptr_1[MAX_MSG][MSG_SIZE];
36 char r_msg_ptr_2[MAX_MSG][MSG_SIZE];
45 for (i = 0; i < MAX_MSG; i++) { in send_1()
63 for (i = 0; i < MAX_MSG; i++) { in send_2()
80 for (i = 0; i < MAX_MSG; i++) { in receive_1()
97 for (i = 0; i < MAX_MSG; i++) { in receive_2()
116 mqstat.mq_maxmsg = MAX_MSG; in main()
Dsend_rev_1.c26 #define MAX_MSG 3 macro
31 char r_msg_ptr[MAX_MSG][MSG_SIZE]; in main()
40 mqstat.mq_maxmsg = MAX_MSG; in main()
61 for (i = 0; i < MAX_MSG && ret_code == PTS_PASS; i++) { in main()
79 for (i = 0; i < MAX_MSG && ret_code == PTS_PASS; i++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/mqueues/
Dmulti_send_rev_2.c30 #define MAX_MSG 5 macro
35 char r_msg_ptr[Max_Threads][MAX_MSG][MSG_SIZE];
44 for (i = 0; i < MAX_MSG; i++) { in send()
62 for (i = 0; i < MAX_MSG; i++) { in receive()
98 mqstat.mq_maxmsg = MAX_MSG; in main()
Dmulti_send_rev_1.c29 #define MAX_MSG 3 macro
48 for (i = 0; i < MAX_MSG; i++) { in send()
63 char r_msg_ptr[MAX_MSG][MSG_SIZE]; in receive()
70 for (i = 0; i < MAX_MSG; i++) { in receive()
109 mqstat.mq_maxmsg = MAX_MSG; in main()
/external/iproute2/tc/
Dm_action.c185 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_action()
228 addattr_l(n, MAX_MSG, ++prio, NULL, 0); in parse_action()
229 addattr_l(n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); in parse_action()
409 char buf[MAX_MSG]; in tc_action_gd()
427 addattr_l(&req.n, MAX_MSG, TCA_ACT_TAB, NULL, 0); in tc_action_gd()
475 addattr_l(&req.n, MAX_MSG, ++prio, NULL, 0); in tc_action_gd()
476 addattr_l(&req.n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); in tc_action_gd()
477 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd()
488 if (rtnl_talk(&rth, &req.n, ans, MAX_MSG) < 0) { in tc_action_gd()
514 char buf[MAX_MSG]; in tc_action_modify()
[all …]
Dm_skbedit.c143 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_skbedit()
144 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PARMS, &sel, sizeof(sel)); in parse_skbedit()
146 addattr_l(n, MAX_MSG, TCA_SKBEDIT_QUEUE_MAPPING, in parse_skbedit()
149 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PRIORITY, in parse_skbedit()
152 addattr_l(n, MAX_MSG, TCA_SKBEDIT_MARK, in parse_skbedit()
Df_flower.c57 addattr_l(n, MAX_MSG, addr_type, addr, sizeof(addr)); in flower_parse_eth_addr()
59 addattr_l(n, MAX_MSG, mask_type, addr, sizeof(addr)); in flower_parse_eth_addr()
82 addattr8(n, MAX_MSG, type, ip_proto); in flower_parse_ip_proto()
114 addattr_l(n, MAX_MSG, addr.family == AF_INET ? addr4_type : addr6_type, in flower_parse_ip_addr()
131 addattr_l(n, MAX_MSG, addr.family == AF_INET ? mask4_type : mask6_type, in flower_parse_ip_addr()
157 addattr16(n, MAX_MSG, type, htons(port)); in flower_parse_port()
180 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in flower_parse_opt()
198 addattr_l(n, MAX_MSG, TCA_FLOWER_CLASSID, &handle, 4); in flower_parse_opt()
205 addattrstrz(n, MAX_MSG, TCA_FLOWER_INDEV, ifname); in flower_parse_opt()
297 ret = addattr16(n, MAX_MSG, TCA_FLOWER_KEY_ETH_TYPE, eth_type); in flower_parse_opt()
Dm_police.c295 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in act_parse_police()
296 addattr_l(n, MAX_MSG, TCA_POLICE_TBF, &p, sizeof(p)); in act_parse_police()
298 addattr_l(n, MAX_MSG, TCA_POLICE_RATE, rtab, 1024); in act_parse_police()
300 addattr_l(n, MAX_MSG, TCA_POLICE_PEAKRATE, ptab, 1024); in act_parse_police()
302 addattr32(n, MAX_MSG, TCA_POLICE_AVRATE, avrate); in act_parse_police()
304 addattr32(n, MAX_MSG, TCA_POLICE_RESULT, presult); in act_parse_police()
Dm_vlan.c148 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_vlan()
149 addattr_l(n, MAX_MSG, TCA_VLAN_PARMS, &parm, sizeof(parm)); in parse_vlan()
151 addattr_l(n, MAX_MSG, TCA_VLAN_PUSH_VLAN_ID, &id, 2); in parse_vlan()
160 addattr_l(n, MAX_MSG, TCA_VLAN_PUSH_VLAN_PROTOCOL, &proto, 2); in parse_vlan()
Dm_simple.c149 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_simple()
150 addattr_l(n, MAX_MSG, TCA_DEF_PARMS, &sel, sizeof(sel)); in parse_simple()
151 addattr_l(n, MAX_MSG, TCA_DEF_DATA, simpdata, SIMP_MAX_DATA); in parse_simple()
Dem_nbyte.c99 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in nbyte_parse_eopt()
100 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt()
101 addraw_l(n, MAX_MSG, needle->data, needle->len); in nbyte_parse_eopt()
Dm_xt_old.c311 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ipt()
327 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); in parse_ipt()
328 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt()
329 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); in parse_ipt()
331 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size); in parse_ipt()
Dm_xt.c247 addattr_l(n, MAX_MSG, tca_id, NULL, 0);
263 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size);
264 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4);
265 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4);
267 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size);
Dm_ematch.c187 addattr_l(n, MAX_MSG, index++, NULL, 0); in parse_tree()
191 addraw_l(n, MAX_MSG, &hdr, sizeof(hdr)); in parse_tree()
192 addraw_l(n, MAX_MSG, &r, sizeof(r)); in parse_tree()
347 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ematch()
348 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_HDR, &hdr, sizeof(hdr)); in parse_ematch()
351 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_LIST, NULL, 0); in parse_ematch()
Dm_gact.c192 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_gact()
193 addattr_l(n, MAX_MSG, TCA_GACT_PARMS, &p, sizeof (p)); in parse_gact()
196 addattr_l(n, MAX_MSG, TCA_GACT_PROB, &pp, sizeof (pp)); in parse_gact()
Df_bpf.c85 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in bpf_parse_opt()
106 addattr32(n, MAX_MSG, TCA_BPF_CLASSID, handle); in bpf_parse_opt()
140 addattr32(n, MAX_MSG, TCA_BPF_FLAGS, bpf_flags); in bpf_parse_opt()
Dm_connmark.c122 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_connmark()
123 addattr_l(n, MAX_MSG, TCA_CONNMARK_PARMS, &sel, sizeof(sel)); in parse_connmark()
Df_basic.c60 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in basic_parse_opt()
78 addattr_l(n, MAX_MSG, TCA_BASIC_CLASSID, &handle, 4); in basic_parse_opt()
Dm_ipt.c494 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ipt()
510 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); in parse_ipt()
511 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt()
512 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); in parse_ipt()
514 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size); in parse_ipt()
Df_fw.c68 addattr32(n, MAX_MSG, TCA_FW_MASK, mask); in fw_parse_opt()
104 addattr_l(n, MAX_MSG, TCA_FW_INDEV, d, strlen(d) + 1); in fw_parse_opt()
Dem_u32.c145 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in u32_parse_eopt()
146 addraw_l(n, MAX_MSG, &u_key, sizeof(u_key)); in u32_parse_eopt()
Dem_meta.c156 addattr_l(n, MAX_MSG, tlv, &t, sizeof(t)); in dump_value()
162 addattr_l(n, MAX_MSG, tlv, a->data, a->len); in dump_value()
404 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in meta_parse_eopt()
406 addattr_l(n, MAX_MSG, TCA_EM_META_HDR, &meta_hdr, sizeof(meta_hdr)); in meta_parse_eopt()
Dm_nat.c158 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_nat()
159 addattr_l(n, MAX_MSG, TCA_NAT_PARMS, &sel, sizeof(sel)); in parse_nat()
Dem_canid.c138 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in canid_parse_eopt()
139 addraw_l(n, MAX_MSG, rules.rules_raw, in canid_parse_eopt()
Dm_csum.c166 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_csum()
167 addattr_l(n, MAX_MSG, TCA_CSUM_PARMS, &sel, sizeof(sel)); in parse_csum()

12