| /src/usr.bin/fstat/ |
| tmpfs.c | 50 struct tmpfs_node tn; local in function:tmpfs_filestat 53 if (!KVM_READ(VP_TO_TMPFS_NODE(vp), &tn, sizeof(tn))) { 65 fsp->fileid = tn.tn_id; 66 fsp->mode = tn.tn_mode | getftype(vp->v_type); 67 fsp->size = tn.tn_size; 68 switch (tn.tn_type) { 71 fsp->rdev = tn.tn_spec.tn_dev.tn_rdev;
|
| /src/usr.bin/xlint/lint1/ |
| ckbool.c | 54 is_int_constant_zero(const tnode_t *tn, tspec_t t) 56 return t == INT && tn->tn_op == CON && tn->u.value.u.integer == 0; 187 is_typeok_bool_compares_with_zero(const tnode_t *tn, bool is_do_while) 189 while (tn->tn_op == COMMA) 190 tn = tn->u.ops.right; 191 tn = before_conversion(tn); 193 return tn->tn_type->t_tspec == BOO [all...] |
| func.c | 412 check_case_label_enum(const tnode_t *tn, const control_statement *cs) 416 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) 418 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && 419 tn->tn_type->u.enumer == cs->c_switch_type->u.enumer) 425 type_name(tn->tn_type)); 458 check_case_label(tnode_t *tn) 470 if (tn == NULL) 473 if (tn->tn_op != CON) { 479 if (!is_integer(tn->tn_type->t_tspec)) { 485 check_case_label_bitand(tn, cs->c_switch_expr) [all...] |
| tree.c | 510 ic_expr(const tnode_t *tn) 514 lint_assert(is_integer(tn->tn_type->t_tspec)); 516 switch (tn->tn_op) { 518 lc = ic_expr(tn->u.ops.left); 519 rc = ic_expr(tn->u.ops.right); 520 return ic_mult(tn->tn_type, lc, rc); 522 lc = ic_expr(tn->u.ops.left); 523 rc = ic_expr(tn->u.ops.right); 524 return ic_div(tn->tn_type, lc, rc); 526 lc = ic_expr(tn->u.ops.left) 4287 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, size_in_bytes); local in function:build_sizeof 4329 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, offset_in_bytes); local in function:build_offsetof 5165 tnode_t *tn; local in function:end_statement_expr [all...] |
| ckgetopt.c | 79 /* Return whether tn has the form '(c = getopt(argc, argv, "str")) != -1'. */ 81 is_getopt_condition(const tnode_t *tn, char **out_options) 87 if (tn != NULL 88 && tn->tn_op == NE 90 && tn->u.ops.right->tn_op == CON 91 && tn->u.ops.right->u.value.v_tspec == INT 92 && tn->u.ops.right->u.value.u.integer == -1 94 && tn->u.ops.left->tn_op == ASSIGN 95 && tn->u.ops.left->u.ops.right->tn_op == CALL 96 && (call = tn->u.ops.left->u.ops.right->u.call)->func->tn_op == ADD [all...] |
| debug.c | 196 debug_node(const tnode_t *tn) // NOLINT(misc-no-recursion) 199 if (tn == NULL) { 204 op_t op = tn->tn_op; 206 op == CVT && tn->tn_cast ? "cast" : op_name(op)); 209 tn->u.sym->s_name, 210 scl_name(tn->u.sym->s_scl)); 213 debug_printf(" '%s'", type_name(tn->tn_type)); 214 if (tn->tn_lvalue) 216 if (tn->tn_parenthesized) 218 if (tn->tn_sys [all...] |
| lint1.h | 669 constant_is_nonzero(const tnode_t *tn) 671 lint_assert(tn->tn_op == CON); 672 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec); 673 return is_nonzero_val(&tn->u.value); 677 is_zero(const tnode_t *tn) 679 return tn != NULL && tn->tn_op == CON && !is_nonzero_val(&tn->u.value); 683 is_nonzero(const tnode_t *tn) [all...] |
| mem1.c | 201 const tnode_t *tn = p; local in function:debug_memory_pool_item 203 __func__, op_name(tn->tn_op), type_name(tn->tn_type)); 345 tnode_t *tn = expr_zero_alloc(sizeof(*tn), "tnode"); local in function:expr_alloc_tnode 351 tn->tn_sys = in_system_header || 354 return tn;
|
| init.c | 214 check_non_constant_initializer(const tnode_t *tn, const sym_t *sym) 217 if (tn == NULL || tn->tn_op == CON) 222 if (constant_addr(tn, &unused_sym, &unused_offs)) 835 tnode_t *tn = build_binary(ln, INIT, false /* XXX */, rn); local in function:initialization_expr_using_op 836 expr(tn, false, false, false, false, "init"); 843 initialization_init_array_from_string(initialization *in, tnode_t *tn) 846 if (tn->tn_op != STRING) 851 if (!can_init_character_array(tp, tn)) 854 size_t len = tn->u.str_literals->len [all...] |
| emit1.c | 326 outcall(const tnode_t *tn, bool retval_used, bool retval_discarded) 338 const function_call *call = tn->u.call; 387 outtype(tn->tn_type);
|
| /src/sys/arch/vax/boot/boot/ |
| hp.c | 111 unsigned int bn, cn, sn, tn; local in function:hpstrategy 122 tn = sn / hplabel.d_nsectors; 125 cn = sn = tn = 0; 128 HP_WCSR(HP_DA, (tn << 8) | sn);
|
| /src/sys/arch/evbsh3/include/ |
| bus_funcs.h | 75 #define __bs_rs(sz, tn, t, h, o) \ 76 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 78 #define __bs_rss(sz, tn, t, h, o) \ 79 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 82 #define __bs_ws(sz, tn, t, h, o, v) \ 84 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __bs_wss(sz, tn, t, h, o, v) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 95 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); [all...] |
| /src/sys/arch/alpha/include/ |
| bus_funcs.h | 70 #define __abs_rs(sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __abs_ws(sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __abs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __abs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __abs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/dreamcast/include/ |
| bus_funcs.h | 70 #define __dbs_rs(sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __dbs_ws(sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __dbs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __dbs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __dbs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/hpcsh/include/ |
| bus_funcs.h | 75 #define __hbs_rs(sz, tn, t, h, o) \ 76 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 79 #define __hbs_ws(sz, tn, t, h, o, v) \ 81 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 85 #define __hbs_nonsingle(type, sz, tn, t, h, o, a, c) \ 87 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 88 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 92 #define __hbs_set(type, sz, tn, t, h, o, v, c) \ 94 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 98 #define __hbs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/landisk/include/ |
| bus_funcs.h | 74 #define __bs_rs(sz, tn, t, h, o) \ 75 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 78 #define __bs_ws(sz, tn, t, h, o, v) \ 80 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 84 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 86 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 87 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 91 #define __bs_set(type, sz, tn, t, h, o, v, c) \ 93 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 97 #define __bs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/mips/include/ |
| bus_space_funcs.h | 70 #define __bs_r(type, sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __bs_w(type, sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __bs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __bs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/libexec/mail.local/ |
| mail.local.c | 137 char *tn, line[2048]; local in function:store 139 tn = strdup(_PATH_LOCTMP); 140 if (!tn) 142 if ((fd = mkstemp(tn)) == -1 || !(fp = fdopen(fd, "w+"))) 144 (void)unlink(tn); 145 free(tn);
|
| /src/usr.bin/xlint/common/ |
| lint.h | 147 #define has_operands(tn) (modtab[(tn)->tn_op].m_has_operands)
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| intel_gt_requests.c | 136 struct intel_timeline *tl, *tn; local in function:intel_gt_retire_requests_timeout 147 list_for_each_entry_safe(tl, tn, &timelines->active_list, link) { 176 list_safe_reset_next(tl, tn, link); 190 list_for_each_entry_safe(tl, tn, &free, link)
|
| /src/sys/fs/tmpfs/ |
| tmpfs_mem.c | 195 tmpfs_node_put(struct tmpfs_mount *mp, struct tmpfs_node *tn) 200 pool_put(&tmpfs_node_pool, tn);
|
| /src/sys/arch/vax/boot/xxboot/ |
| bootxx.c | 329 u_int cn, sn, tn; local in function:hpread 347 : "=g"(cn),"=g"(sn),"=g"(tn) 353 tn = sn / dp->d_nsectors; 357 HP_WCSR(HP_DA, (tn << 8) | sn);
|
| /src/lib/libcurses/ |
| ins_wstr.c | 138 int width, len, lx, sx, x, y, tx, ty, cw, pcw, newx, tn, w; local in function:wins_nwstr 163 tn = n; 169 if (!tn) 212 tn--, width += w;
|
| /src/sys/arch/ews4800mips/include/ |
| bus.h | 459 #define __ebs_rs(sz, tn, t, h, o) \ 460 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 463 #define __ebs_ws(sz, tn, t, h, o, v) \ 465 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 469 #define __ebs_nonsingle(type, sz, tn, t, h, o, a, c) \ 471 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 472 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 476 #define __ebs_set(type, sz, tn, t, h, o, v, c) \ 478 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 482 #define __ebs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/playstation2/include/ |
| bus.h | 501 #define __pbs_rs(sz, tn, t, h, o) \ 502 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 505 #define __pbs_ws(sz, tn, t, h, o, v) \ 507 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 511 #define __pbs_nonsingle(type, sz, tn, t, h, o, a, c) \ 513 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 514 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 518 #define __pbs_set(type, sz, tn, t, h, o, v, c) \ 520 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 524 #define __pbs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |