Searched refs:n (Results 1 – 7 of 7) sorted by relevance
/samples/watch_queue/ |
D | watch_test.c | 48 static void saw_key_change(struct watch_notification *n, size_t len) in saw_key_change() argument 50 struct key_notification *k = (struct key_notification *)n; in saw_key_change() 58 k->key_id, n->subtype, key_subtypes[n->subtype], k->aux); in saw_key_change() 68 struct watch_notification n; in consumer() member 70 } n; in consumer() local 104 memcpy(&n, p, largest); in consumer() 107 p - buffer, n.n.type, n.n.subtype, n.n.info); in consumer() 109 len = n.n.info & WATCH_INFO_LENGTH; in consumer() 110 if (len < sizeof(n.n) || len > largest) { in consumer() 115 switch (n.n.type) { in consumer() [all …]
|
/samples/auxdisplay/ |
D | cfag12864b-example.c | 30 #define CFAG12864B_BIT(n) (((unsigned char) 1) << (n)) argument 153 unsigned char i, j, n; in cfag12864b_format() local 159 for (n = 0; n < CFAG12864B_BPB; n++) in cfag12864b_format() 161 j * CFAG12864B_BPB + n]) in cfag12864b_format() 164 CFAG12864B_BIT(n); in cfag12864b_format() 186 static void example(unsigned char n) in example() argument 191 if (n > EXAMPLES) in example() 194 printf("Example %i/%i - ", n, EXAMPLES); in example() 196 switch (n) { in example() 244 unsigned char n; in main() local [all …]
|
/samples/vfs/ |
D | test-fsmount.c | 23 int err, n; in check_messages() local 28 n = read(fd, buf, sizeof(buf)); in check_messages() 29 if (n < 0) in check_messages() 31 n -= 2; in check_messages() 35 fprintf(stderr, "Error: %*.*s\n", n, n, buf + 2); in check_messages() 38 fprintf(stderr, "Warning: %*.*s\n", n, n, buf + 2); in check_messages() 41 fprintf(stderr, "Info: %*.*s\n", n, n, buf + 2); in check_messages()
|
/samples/bpf/ |
D | tcp_basertt_kern.c | 29 int rv = 0, n; in bpf_basertt() local 48 n = bpf_getsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_basertt() 50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt() 53 } else if (n) { in bpf_basertt() 54 rv = n; in bpf_basertt()
|
D | tracex3_kern.c | 34 static unsigned int log2l(unsigned long long n) in log2l() argument 36 #define S(k) if (n >= (1ull << k)) { i += k; n >>= k; } in log2l() 37 int i = -(n == 0); in log2l()
|
D | do_hbm_test.sh | 235 n=0 289 n=$[dur+2] 290 sleep $n 361 n=$[dur+1] 362 sleep $n
|
/samples/pktgen/ |
D | README.rst | 27 -n : ($COUNT) num messages to send per thread, 0 means indefinitely
|