Home
last modified time | relevance | path

Searched refs:trunc_len (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate02.c35 off_t trunc_len; member
53 TEST(truncate(TESTFILE, tc->trunc_len)); in verify_truncate()
56 TESTFILE, tc->trunc_len); in verify_truncate()
63 TESTFILE, tc->trunc_len, TST_RET); in verify_truncate()
68 if (stat_buf.st_size != tc->trunc_len) { in verify_truncate()
70 TESTFILE, stat_buf.st_size, tc->trunc_len); in verify_truncate()
76 TESTFILE, tc->trunc_len); in verify_truncate()
90 TESTFILE, tc->trunc_len); in verify_truncate()
/third_party/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate01.c31 static void check_and_report(off_t offset, char data, off_t trunc_len) in check_and_report() argument
42 if (file_length != trunc_len) { in check_and_report()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_header.h444 uint16_t trunc_len; member
Dsctp_input.c4563 uint16_t trunc_len; local
4573 trunc_len = ntohs(cp->trunc_len);
4574 if (trunc_len <= pktdrp_len - sizeof(struct sctp_pktdrop_chunk)) {
4579 trunc_len = 0;
Dsctp_output.c12332 drp->trunc_len = htons(fullsz);
12341 drp->trunc_len = htons(0);
/third_party/libnl/lib/xfrm/
Dsa.c1723 …s (struct xfrmnl_sa* sa, char* alg_name, unsigned int* key_len, unsigned int* trunc_len, char* key) in xfrmnl_sa_get_auth_params() argument
1731 if (trunc_len) in xfrmnl_sa_get_auth_params()
1732 *trunc_len = sa->auth->alg_trunc_len; in xfrmnl_sa_get_auth_params()
1742 …xfrmnl_sa* sa, const char* alg_name, unsigned int key_len, unsigned int trunc_len, const char* key) in xfrmnl_sa_set_auth_params() argument
1755 b->alg_trunc_len = trunc_len; in xfrmnl_sa_set_auth_params()