/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 134 u_int32_t *tl; in nfsrvd_access() local 145 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrvd_access() 146 nfsmode = fxdr_unsigned(u_int32_t, *tl); in nfsrvd_access() 219 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED); in nfsrvd_access() 220 *tl++ = txdr_unsigned(supported); in nfsrvd_access() 222 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrvd_access() 223 *tl = txdr_unsigned(nfsmode); in nfsrvd_access() 369 u_int32_t *tl; in nfsrvd_setattr() local 390 NFSM_DISSECT(tl, u_int32_t *, NFSX_STATEID); in nfsrvd_setattr() 391 stateid.seqid = fxdr_unsigned(u_int32_t, *tl++); in nfsrvd_setattr() [all …]
|
H A D | nfs_nfsdsubs.c | 1377 u_int32_t *tl; in nfsrv_wcc() local 1380 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrv_wcc() 1381 *tl = newnfs_false; in nfsrv_wcc() 1383 NFSM_BUILD(tl, u_int32_t *, 7 * NFSX_UNSIGNED); in nfsrv_wcc() 1384 *tl++ = newnfs_true; in nfsrv_wcc() 1385 txdr_hyper(before_nvap->na_size, tl); in nfsrv_wcc() 1386 tl += 2; in nfsrv_wcc() 1387 txdr_nfsv3time(&(before_nvap->na_mtime), tl); in nfsrv_wcc() 1388 tl += 2; in nfsrv_wcc() 1389 txdr_nfsv3time(&(before_nvap->na_ctime), tl); in nfsrv_wcc() [all …]
|
H A D | nfs_nfsdport.c | 1446 u_int32_t *tl; in nfsvno_getsymlink() local 1456 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED); in nfsvno_getsymlink() 1457 len = fxdr_unsigned(int, *tl); in nfsvno_getsymlink() 2078 u_int32_t *tl; in nfsrvd_readdir() local 2096 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED); in nfsrvd_readdir() 2097 off = fxdr_unsigned(u_quad_t, *tl++); in nfsrvd_readdir() 2099 NFSM_DISSECT(tl, u_int32_t *, 5 * NFSX_UNSIGNED); in nfsrvd_readdir() 2100 off = fxdr_hyper(tl); in nfsrvd_readdir() 2101 tl += 2; in nfsrvd_readdir() 2102 verf = fxdr_hyper(tl); in nfsrvd_readdir() [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 303 u_int32_t *tl; in nfsrpc_accessrpc() local 325 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrpc_accessrpc() 326 *tl = txdr_unsigned(mode); in nfsrpc_accessrpc() 331 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrpc_accessrpc() 332 *tl = txdr_unsigned(NFSV4OP_GETATTR); in nfsrpc_accessrpc() 346 NFSM_DISSECT(tl, u_int32_t *, 2 * NFSX_UNSIGNED); in nfsrpc_accessrpc() 347 supported = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_accessrpc() 349 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED); in nfsrpc_accessrpc() 351 rmode = fxdr_unsigned(u_int32_t, *tl); in nfsrpc_accessrpc() 547 u_int32_t *tl; in nfsrpc_openrpc() local [all …]
|
H A D | nfs_clport.c | 712 } tl; in nfscl_filllockowner() local 722 tl.lval = p->p_pid; in nfscl_filllockowner() 723 *cp++ = tl.cval[0]; in nfscl_filllockowner() 724 *cp++ = tl.cval[1]; in nfscl_filllockowner() 725 *cp++ = tl.cval[2]; in nfscl_filllockowner() 726 *cp++ = tl.cval[3]; in nfscl_filllockowner() 727 tl.lval = p->p_stats->p_start.tv_sec; in nfscl_filllockowner() 728 *cp++ = tl.cval[0]; in nfscl_filllockowner() 729 *cp++ = tl.cval[1]; in nfscl_filllockowner() 730 *cp++ = tl.cval[2]; in nfscl_filllockowner() [all …]
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 333 u_int32_t *tl; in nfscl_reqstart() local 408 NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED); in nfscl_reqstart() 410 *tl++ = txdr_unsigned(NFSV42_MINORVERSION); in nfscl_reqstart() 412 *tl++ = txdr_unsigned(NFSV41_MINORVERSION); in nfscl_reqstart() 414 *tl++ = txdr_unsigned(NFSV4_MINORVERSION); in nfscl_reqstart() 416 *opcntpp = tl; in nfscl_reqstart() 417 *tl = txdr_unsigned(opcnt); in nfscl_reqstart() 423 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfscl_reqstart() 424 *tl = txdr_unsigned(NFSV4OP_SEQUENCE); in nfscl_reqstart() 440 NFSM_BUILD(tl, u_int32_t *, NFSX_UNSIGNED); in nfscl_reqstart() [all …]
|
H A D | nfs_commonacl.c | 45 u_int32_t *tl; in nfsrv_dissectace() local 54 NFSM_DISSECT(tl, u_int32_t *, 4 * NFSX_UNSIGNED); in nfsrv_dissectace() 55 acetype = fxdr_unsigned(u_int32_t, *tl++); in nfsrv_dissectace() 56 flag = fxdr_unsigned(u_int32_t, *tl++); in nfsrv_dissectace() 57 mask = fxdr_unsigned(u_int32_t, *tl++); in nfsrv_dissectace() 58 len = fxdr_unsigned(int, *tl); in nfsrv_dissectace() 288 u_int32_t *tl, aceflag = 0x0, acemask = 0x0, acetype; in nfsrv_buildace() local 292 NFSM_BUILD(tl, u_int32_t *, 4 * NFSX_UNSIGNED + full_len); in nfsrv_buildace() 305 *tl++ = txdr_unsigned(acetype); in nfsrv_buildace() 324 *tl++ = txdr_unsigned(aceflag); in nfsrv_buildace() [all …]
|
H A D | nfs_commonkrpc.c | 673 uint32_t retseq, retval, slotseq, *tl; in newnfs_request() local 1101 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED); in newnfs_request() 1102 nd->nd_repstat = fxdr_unsigned(u_int32_t, *tl); in newnfs_request() 1113 NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED); in newnfs_request() 1114 i = fxdr_unsigned(int, *tl); in newnfs_request() 1118 NFSM_DISSECT(tl, u_int32_t *, 3 * NFSX_UNSIGNED); in newnfs_request() 1119 opcnt = fxdr_unsigned(int, *tl++); in newnfs_request() 1120 i = fxdr_unsigned(int, *tl++); in newnfs_request() 1121 j = fxdr_unsigned(int, *tl); in newnfs_request() 1142 NFSM_DISSECT(tl, uint32_t *, in newnfs_request() [all …]
|
/freebsd/usr.sbin/dumpcis/ |
H A D | readcis.c | 123 struct tuple_list *tl; in freecis() local 126 while ((tl = tlist) != 0) { in freecis() 127 tlist = tl->next; in freecis() 128 while ((tp = tl->tuples) != 0) { in freecis() 129 tl->tuples = tp->next; in freecis() 133 free(tl); in freecis() 194 struct tuple_list *tl = 0, *last_tl; in read_tuples() local 223 tl = read_one_tuplelist(fd, flag, offs); in read_tuples() 224 last_tl->next = tl; in read_tuples() 225 last_tl = tl; in read_tuples() [all …]
|
H A D | main.c | 37 struct tuple_list *tl; in scanfile() local 42 tl = readcis(fd); in scanfile() 43 if (tl) { in scanfile() 46 dumpcis(tl); in scanfile() 47 freecis(tl); in scanfile()
|
/freebsd/contrib/mandoc/ |
H A D | term_tab.c | 46 struct tablist *tl; in term_tab_set() local 78 tl = recording_period ? &tabs.p : &tabs.a; in term_tab_set() 79 if (tl->n >= tl->s) { in term_tab_set() 80 tl->s += 8; in term_tab_set() 81 tl->t = mandoc_reallocarray(tl->t, tl->s, sizeof(*tl->t)); in term_tab_set() 87 tl->t[tl->n] = pos; in term_tab_set() 88 if (add && tl->n) in term_tab_set() 89 tl->t[tl->n] += tl->t[tl->n - 1]; in term_tab_set() 90 tl->n++; in term_tab_set()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | txg.c | 854 txg_list_create(txg_list_t *tl, spa_t *spa, size_t offset) in txg_list_create() 858 mutex_init(&tl->tl_lock, NULL, MUTEX_DEFAULT, NULL); 860 tl->tl_offset = offset; in txg_list_empty_impl() 861 tl->tl_spa = spa; in txg_list_empty_impl() 864 tl->tl_head[t] = NULL; in txg_list_empty_impl() 868 txg_list_empty_impl(txg_list_t *tl, uint64_t txg) in txg_list_empty() 870 ASSERT(MUTEX_HELD(&tl->tl_lock)); in txg_list_empty() 871 TXG_VERIFY(tl->tl_spa, txg); in txg_list_empty() 872 return (tl->tl_head[txg & TXG_MASK] == NULL); in txg_list_empty() 876 txg_list_empty(txg_list_t *tl, uint64_ 845 txg_list_create(txg_list_t * tl,spa_t * spa,size_t offset) txg_list_create() argument 859 txg_list_empty_impl(txg_list_t * tl,uint64_t txg) txg_list_empty_impl() argument 867 txg_list_empty(txg_list_t * tl,uint64_t txg) txg_list_empty() argument 877 txg_list_destroy(txg_list_t * tl) txg_list_destroy() argument 896 txg_all_lists_empty(txg_list_t * tl) txg_all_lists_empty() argument 909 txg_list_add(txg_list_t * tl,void * p,uint64_t txg) txg_list_add() argument 934 txg_list_add_tail(txg_list_t * tl,void * p,uint64_t txg) txg_list_add_tail() argument 962 txg_list_remove(txg_list_t * tl,uint64_t txg) txg_list_remove() argument 987 txg_list_remove_this(txg_list_t * tl,void * p,uint64_t txg) txg_list_remove_this() argument 1011 txg_list_member(txg_list_t * tl,void * p,uint64_t txg) txg_list_member() argument 1024 txg_list_head(txg_list_t * tl,uint64_t txg) txg_list_head() argument 1038 txg_list_next(txg_list_t * tl,void * p,uint64_t txg) txg_list_next() argument [all...] |
/freebsd/usr.bin/tail/ |
H A D | reverse.c | 189 struct bfelem *tl, *first = NULL; in r_buf() local 205 while ((tl = malloc(sizeof(bfelem_t))) == NULL) { in r_buf() 213 TAILQ_INSERT_TAIL(&head, tl, entries); in r_buf() 218 p = tl->l + len; in r_buf() 226 tl->len = len; in r_buf() 242 tl = TAILQ_LAST(&head, bfhead); in r_buf() 244 while (tl != NULL) { in r_buf() 247 for (p = tl->l + tl->len - 1, llen = 0; p >= tl->l; in r_buf() 249 int start = (tl == first && p == tl->l); in r_buf() 261 tr = TAILQ_NEXT(tl, entries); in r_buf() [all …]
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_move.c | 87 recno_t cnt, diff, fl, tl, mfl, mtl; in ex_move() local 118 tl = cmdp->lineno; in ex_move() 124 lmp->lno >= fl && lmp->lno <= tl) { in ex_move() 135 if (tl > fl) { /* Destination > source. */ in ex_move() 136 mfl = tl - diff; in ex_move() 137 mtl = tl; in ex_move() 143 if (db_append(sp, 1, tl, bp, len)) in ex_move() 149 lmp->lno = tl + 1; in ex_move() 154 mfl = tl; in ex_move() 155 mtl = tl + diff; in ex_move() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | txg.h | 128 extern void txg_list_create(txg_list_t *tl, spa_t *spa, size_t offset); 129 extern void txg_list_destroy(txg_list_t *tl); 130 extern boolean_t txg_list_empty(txg_list_t *tl, uint64_t txg); 131 extern boolean_t txg_all_lists_empty(txg_list_t *tl); 132 extern boolean_t txg_list_add(txg_list_t *tl, void *p, uint64_t txg); 133 extern boolean_t txg_list_add_tail(txg_list_t *tl, void *p, uint64_t txg); 134 extern void *txg_list_remove(txg_list_t *tl, uint64_t txg); 135 extern void *txg_list_remove_this(txg_list_t *tl, void *p, uint64_t txg); 136 extern boolean_t txg_list_member(txg_list_t *tl, void *p, uint64_t txg); 137 extern void *txg_list_head(txg_list_t *tl, uint64_t txg); [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | gen_template.c | 270 struct tlist *tl = calloc(1, sizeof(*tl)); in tlist_new() 271 tl->name = strdup(name); in tlist_new() 272 ASN1_TAILQ_INIT(&tl->template); in tlist_new() 273 return tl; 287 tlist_count(struct tlist *tl) in tlist_count() 292 ASN1_TAILQ_FOREACH(q, &tl->template, members) { in tlist_count() 299 tlist_add(struct tlist *tl) in tlist_add() 301 ASN1_TAILQ_INSERT_TAIL(&tlistmaster, tl, tmembers); 305 tlist_print(struct tlist *tl) in tlist_print() 268 struct tlist *tl = calloc(1, sizeof(*tl)); tlist_new() local 285 tlist_count(struct tlist * tl) tlist_count() argument 297 tlist_add(struct tlist * tl) tlist_add() argument 303 tlist_print(struct tlist * tl) tlist_print() argument 332 struct tlist *tl = tlist_find_by_name(tname); tlist_cmp_name() local 338 tlist_cmp(const struct tlist * tl,const struct tlist * ql) tlist_cmp() argument 372 tlist_find_dup(const struct tlist * tl) tlist_find_dup() argument 805 struct tlist *tl; generate_template_type() local [all...] |
/freebsd/release/ |
H A D | Makefile.vm | 107 . if exists(${.CURDIR}/tools/${_CW:tl}.conf) && !defined(${_CW:tu}CONF) 108 ${_CW:tu}CONF?= ${.CURDIR}/tools/${_CW:tl}.conf 112 CLOUDTARGETS+= cw-${_CW:tl}-${_FS}-${_FMT} 113 CLEANDIRS+= cw-${_CW:tl}-${_FS}-${_FMT} 114 CLEANFILES+= ${_CW:tl}.${_FS}.${_FMT}.img \ 115 ${_CW:tl}.${_FS}.${_FMT} \ 116 ${_CW:tl}.${_FS}.${_FMT}.raw 117 ${_CW:tu}${_FS:tu}${_FMT:tu}IMAGE= ${_CW:tl}.${_FS}.${_FMT} 119 cw-${_CW:tl}-${_FS}-${_FMT}: ${QEMUTGT} 125 -i ${.OBJDIR}/${_CW:tl}.${_FS}.${_FMT}.img -s ${VMSIZE} -f ${_FMT} \ [all …]
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | bio_ok.c | 529 unsigned long tl; in block_out() local 538 tl = ctx->buf_len - OK_BLOCK_BLOCK; in block_out() 539 ctx->buf[0] = (unsigned char)(tl >> 24); in block_out() 540 ctx->buf[1] = (unsigned char)(tl >> 16); in block_out() 541 ctx->buf[2] = (unsigned char)(tl >> 8); in block_out() 542 ctx->buf[3] = (unsigned char)(tl); in block_out() 544 (unsigned char *)&(ctx->buf[OK_BLOCK_BLOCK]), tl)) in block_out() 560 unsigned long tl = 0; in block_in() local 570 assert(sizeof(tl) >= OK_BLOCK_BLOCK); /* always true */ in block_in() 571 tl = ctx->buf[0]; in block_in() [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-to-lower.mk | 8 .if ${:UUPPER:tl} != "upper" 12 .if ${:Ulower:tl} != "lower" 16 .if ${:UMixeD case.:tl} != "mixed case." 22 .if ${:Umultiple spaces:tl} != "multiple spaces"
|
/freebsd/contrib/ntp/libntp/ |
H A D | prettydate.c | 72 int64 tl; in get_struct_tm() 73 ts = tl = stamp->q_s; in get_struct_tm() local 79 while (ts != tl) { /* truncation? */ in get_struct_tm() 80 if (tl < 0) { in get_struct_tm() 83 tl += SOLAR_CYCLE_SECS; in get_struct_tm() 87 tl -= SOLAR_CYCLE_SECS; in get_struct_tm() 89 ts = tl; /* next try... */ in get_struct_tm()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_vfpf_if.h | 82 struct channel_tlv tl; member 89 struct channel_tlv tl; member 101 struct channel_tlv tl; member 155 struct channel_tlv tl; member 274 struct channel_tlv tl; member 400 struct channel_tlv tl; member 408 struct channel_tlv tl; member 414 struct channel_tlv tl; member 420 struct channel_tlv tl; member 433 struct channel_tlv tl; member [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | get_s.c | 42 krb5_tl_data *tl; in add_tl_data() local 44 tl = calloc(1, sizeof(*tl)); in add_tl_data() 45 if (tl == NULL) in add_tl_data() 48 tl->tl_data_type = type; in add_tl_data() 49 tl->tl_data_length = size; in add_tl_data() 50 tl->tl_data_contents = malloc(size); in add_tl_data() 51 if (tl->tl_data_contents == NULL && size != 0) { in add_tl_data() 52 free(tl); in add_tl_data() 55 memcpy(tl->tl_data_contents, data, size); in add_tl_data() 57 tl->tl_data_next = ent->tl_data; in add_tl_data() [all …]
|
H A D | ent_setup.c | 202 krb5_tl_data *tl; in _kadm5_setup_entry() local 204 for (tl = princ->tl_data; tl != NULL; tl = tl->tl_data_next) { in _kadm5_setup_entry() 206 ret = perform_tl_data(context->context, context->db, ent, tl); in _kadm5_setup_entry()
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | get.c | 245 krb5_tl_data *tl; in format_field() local 247 for (tl = princ->tl_data; tl != NULL; tl = tl->tl_data_next) in format_field() 248 if ((unsigned)tl->tl_data_type == subfield) in format_field() 250 if (tl == NULL) { in format_field() 258 (int)tl->tl_data_length, in format_field() 259 (const char *)tl->tl_data_contents); in format_field() 267 ret = decode_HDB_Ext_PKINIT_acl(tl->tl_data_contents, in format_field() 268 tl->tl_data_length, in format_field() 300 ret = decode_HDB_Ext_Aliases(tl->tl_data_contents, in format_field() 301 tl->tl_data_length, in format_field()
|
H A D | mod.c | 40 krb5_tl_data *tl, **ptl; in add_tl() local 42 tl = ecalloc(1, sizeof(*tl)); in add_tl() 43 tl->tl_data_next = NULL; in add_tl() 44 tl->tl_data_type = KRB5_TL_EXTENSION; in add_tl() 45 tl->tl_data_length = data->length; in add_tl() 46 tl->tl_data_contents = data->data; in add_tl() 52 *ptl = tl; in add_tl()
|