Lines Matching full:divisor
39 fprintf(stderr, "or u32 divisor DIVISOR\n");
43 " u{32|16|8} | mark } SAMPLE_ARGS [divisor DIVISOR]\n");
1033 } else if (matches(*argv, "divisor") == 0) {
1034 unsigned divisor;
1036 if (get_unsigned(&divisor, *argv, 0) ||
1037 divisor == 0 ||
1038 divisor > 0x100 || ((divisor - 1) & divisor)) {
1039 fprintf(stderr, "Illegal \"divisor\"\n");
1042 addattr_l(n, MAX_MSG, TCA_U32_DIVISOR, &divisor, 4);
1078 unsigned divisor = 0x100;
1095 if (*argv != 0 && strcmp(*argv, "divisor") == 0) {
1097 if (get_unsigned(&divisor, *argv, 0) || divisor == 0 ||
1098 divisor > 0x100 || ((divisor - 1) & divisor)) {
1099 fprintf(stderr, "Illegal sample \"divisor\"\n");
1107 htid = ((hash % divisor) << 12) | (htid & 0xFFF00000);
1199 fprintf(f, "ht divisor %d ", rta_getattr_u32(tb[TCA_U32_DIVISOR]));