/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_gf119.c | 62 int indx = pwm_info(therm, line); local in function:gf119_fan_pwm_ctrl 63 if (indx < 0) 64 return indx; 65 else if (indx < 2) 67 /* nothing to do for indx == 2, it seems hardwired to PTHERM */ 75 int indx = pwm_info(therm, line); local in function:gf119_fan_pwm_get 76 if (indx < 0) 77 return indx; 78 else if (indx < 2) { 80 *divs = nvkm_rd32(device, 0x00e114 + (indx * 8)) 97 int indx = pwm_info(therm, line); local in function:gf119_fan_pwm_set 114 int indx = pwm_info(therm, line); local in function:gf119_fan_pwm_clock [all...] |
/src/usr.bin/fold/ |
fold.c | 136 int col, indx, i; local in function:fold 138 col = indx = 0; 141 if (indx != 0) { 142 for (i = 0; i < indx; i++) 146 col = indx = 0; 158 for (i = 0, last_space = -1; i < indx; i++) 169 wmemmove (buf, buf+last_space, indx-last_space); 171 indx -= last_space; 173 for (i = 0; i < indx; i++) { 177 for (i = 0; i < indx; i++ [all...] |
/src/bin/pax/ |
sel_subs.c | 118 u_int indx; local in function:usr_add 156 indx = ((unsigned)uid) % USR_TB_SZ; 157 if ((pt = usrtb[indx]) != NULL) { 170 pt->fow = usrtb[indx]; 171 usrtb[indx] = pt; 216 u_int indx; local in function:grp_add 255 indx = ((unsigned)gid) % GRP_TB_SZ; 256 if ((pt = grptb[indx]) != NULL) { 269 pt->fow = grptb[indx]; 270 grptb[indx] = pt [all...] |
tables.c | 145 u_int indx; local in function:chk_lnk 158 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; 159 if ((pt = ltab[indx]) != NULL) { 163 ppt = &(ltab[indx]); 208 pt->fow = ltab[indx]; 209 ltab[indx] = pt; 231 u_int indx; local in function:purg_lnk 245 indx = ((unsigned)arcn->sb.st_ino) % L_TAB_SZ; 246 if ((pt = ltab[indx]) == NULL) 253 ppt = &(ltab[indx]); 382 u_int indx; local in function:chk_ftime 522 u_int indx; local in function:add_name 590 u_int indx; local in function:sub_name 716 u_int indx; local in function:chk_dev 969 u_int indx; local in function:add_atdir 1032 u_int indx; local in function:get_atdir [all...] |
/src/games/hunt/huntd/ |
draw.c | 265 int indx; local in function:check 269 indx = y * sizeof Maze[0] + x; 270 ch = ((char *) Maze)[indx]; 271 if (ch != ((char *) pp->p_maze)[indx]) { 280 ((char *) rpp->p_maze)[indx] = ch;
|
/src/sbin/sysctl/ |
pathconf.c | 154 int indx, value; local in function:parse 159 if ((indx = findname(string, "top", &bufp, &pclist)) == -1) 166 value = fpathconf(0, indx); 168 value = pathconf(pathname, indx);
|
/src/distrib/utils/more/ |
command.c | 605 int indx, width; local in function:showlist 613 for (width = indx = 0; indx < ac;) { 614 p = strcmp(av[indx], "-") ? av[indx] : "stdin"; 616 if (curr_ac == indx) 620 if (curr_ac == indx) 623 if (curr_ac == indx) 625 ++indx; 633 if (curr_ac == indx) [all...] |
/src/games/sail/ |
dr_1.c | 145 int indx, totalfrom = 0, totalto = 0; local in function:fightitout 173 indx = fromstrength/10; 174 if (indx > 8) 175 indx = 8; 176 toinjured = MT[indx][2 - dieroll() / 3]; 178 indx = strengthto/10; 179 if (indx > 8) 180 indx = 8; 181 frominjured = MT[indx][2 - dieroll() / 3]; 275 int indx, rakehim, sternrake local in function:compcombat [all...] |
/src/sys/kern/ |
kern_fileassoc.c | 301 size_t indx; local in function:fileassoc_file_lookup 318 indx = FILEASSOC_HASH(tbl, th); 319 hash_entry = &(tbl->tbl_hash[indx]); 377 size_t indx; local in function:fileassoc_table_resize 381 indx = FILEASSOC_HASH(newtbl, faf->faf_handle); 382 hash_entry = &(newtbl->tbl_hash[indx]); 511 size_t indx; local in function:fileassoc_file_add 535 indx = FILEASSOC_HASH(tbl, th); 536 hash_entry = &(tbl->tbl_hash[indx]);
|
vfs_trans.c | 234 uint32_t indx; local in function:fstrans_mount_get 239 indx = fstrans_mount_hash(mp); 240 SLIST_FOREACH(fmi, &fstrans_mount_hashtab[indx], fmi_hash) { 302 uint32_t indx; local in function:fstrans_mount 305 indx = fstrans_mount_hash(mp); 318 SLIST_INSERT_HEAD(&fstrans_mount_hashtab[indx], newfmi, fmi_hash); 330 uint32_t indx; local in function:fstrans_unmount 333 indx = fstrans_mount_hash(mp); 339 SLIST_REMOVE(&fstrans_mount_hashtab[indx], 1089 uint32_t indx; local in function:fstrans_print_mount [all...] |
vfs_syscalls.c | 298 open_setfp(struct lwp *l, file_t *fp, struct vnode *vp, int indx, int flags) 325 fd_abort(l->l_proc, fp, indx); 332 fd_set_exclose(l, indx, true); 334 fd_set_foclose(l, indx, true); 1765 int indx, error; local in function:do_open 1782 if ((error = fd_allocfile(&fp, &indx)) != 0) { 1792 fd_abort(p, fp, indx); 1797 fd_abort(p, fp, indx); 1798 error = fd_dupopen(dupfd, dupfd_move, flags, &indx); 1801 *fd = indx; 2163 int indx, error; local in function:dofhopen [all...] |
/src/usr.bin/m4/ |
misc.c | 72 indx(const char *s1, const char *s2) function in typeref:typename:ptrdiff_t
|
/src/bin/rcp/ |
rcp.c | 340 int fd, haderr, indx; local in function:source 343 for (indx = 0; indx < argc; ++indx) { 344 name = argv[indx];
|
/src/sys/netinet/ |
sctp_indata.c | 3387 int cur_val, i, indx, incr; local in function:sctp_hs_cwnd_increase 3390 indx = SCTP_HS_TABLE_SIZE - 1; 3408 indx = i; 3412 net->last_hs_used = indx; 3413 incr = ((sctp_cwnd_adjust[indx].increase) << 10); 3424 int cur_val, i, indx; local in function:sctp_hs_cwnd_decrease 3430 indx = net->last_hs_used; 3447 indx = net->last_hs_used; 3454 for (i = indx; i >= 1; i--) { 3459 net->last_hs_used = indx; [all...] |