/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/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);
|
tmscp.c | 154 u_int i,j,pfnum, mapnr, nsize, bn, cn, sn, tn; local in function:tmscpstrategy
|
/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/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/sbin/iscsid/ |
iscsid_targets.c | 317 target_t *target, *tn; local in function:add_target 339 tn = find_target_symname(par->list_kind, par->sym_name); 340 if (tn && tn != target) {
|
/src/sbin/routed/ |
input.c | 156 struct tgate_net *tn; local in function:input 685 if (tg && (tn = tg->tgate_nets)->mask != 0) { 686 for (i = 0; i < MAX_TGATE_NETS; i++, tn++) { 687 if (on_net(dst, tn->net, tn->mask) 688 && tn->mask <= mask) 691 if (i >= MAX_TGATE_NETS || tn->mask == 0) {
|
/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/sys/arch/vax/mba/ |
hp.c | 240 unsigned bn, cn, sn, tn; local in function:hpstart 252 tn = sn / lp->d_nsectors; 255 cn = sn = tn = 0; 258 HP_WCSR(HP_DA, (tn << 8) | sn);
|
/src/sys/dev/qbus/ |
rl.c | 591 int bn, cn, sn, tn, blks, err; local in function:rlcstart 614 tn = sn / lp->d_nsectors; 617 cn = sn = tn = 0; 622 if (rc->rc_cyl != cn || rc->rc_head != tn) { 628 if (tn) 635 rc->rc_head = tn; 637 RL_WREG(RL_DA, (cn << RLDA_CYLSHFT) | (tn ? RLDA_HSRW : 0) | (sn << 1));
|
/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/lint1/ |
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...] |
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...] |
/src/sys/netinet/ |
sctp_timer.c | 1360 struct timeval tn, *tim_touse; local in function:sctp_autoclose_timer 1364 SCTP_GETTIME_TIMEVAL(&tn); 1377 ticks_gone_by = ((tn.tv_sec - tim_touse->tv_sec) * hz);
|
/src/sys/arch/vax/vsa/ |
hdc9224.c | 500 int cn, sn, tn, bn, blks; local in function:hdcstart 526 tn = sn / lp->d_nsectors; 529 cn = sn = tn = 0; 546 p->udc_dhead = ((cn >> 4) & 0x70) | tn;
|
/src/sys/dev/pci/ |
twa.c | 2260 struct twa_unitname *tn; local in function:twaioctl 2263 tn = (struct twa_unitname *)data; 2265 if (tn->tn_unit < 0 || tn->tn_unit >= sc->sc_nunits) 2267 tdr = &sc->sc_units[tn->tn_unit]; 2269 tn->tn_name[0] = '\0'; 2271 strlcpy(tn->tn_name, device_xname(tdr->td_dev), 2272 sizeof(tn->tn_name));
|
/src/sys/kern/ |
kern_sysctl.c | 505 int tn, si, ni, error, alias; local in function:sysctl_locate 555 tn = name[ni]; 565 if ((node[si].sysctl_flags & CTLFLAG_ANYNUMBER) && (tn >= 0)) 568 if (node[si].sysctl_num == tn) { 573 tn = node[si].sysctl_alias;
|
/src/usr.bin/telnet/ |
commands.c | 2093 tn(int argc, char *argv[]) 2306 { "open", openhelp, tn, 0 }, 2085 tn(int argc, char *argv[]) function in typeref:typename:int
|
/src/sys/dev/usb/ |
ugen.c | 852 uint32_t n, tn; local in function:ugen_do_read 978 tn = n; 981 sce->timeout, sc->sc_buffer, &tn); 991 DPRINTFN(1, "got %jd bytes", tn, 0, 0, 0); 992 error = uiomove(sc->sc_buffer, tn, uio); 993 if (error || tn < n) 1064 uint32_t tn; local in function:ugen_do_write 1133 tn = uimin(n, sce->limit - sce->cur); 1134 memcpy(dbuf, sce->cur, tn); 1135 dbuf += tn; [all...] |