HomeSort by: relevance | last modified time | path
    Searched refs:indx (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/usr.bin/systat/
systat.h 61 #define NVAL(indx) namelist[(indx)].n_value
62 #define NPTR(indx) (void *)NVAL((indx))
63 #define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len), # indx)
  /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...]
nouveau_nvkm_subdev_therm_nv50.c 33 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx)
40 *indx = 0;
45 *indx = 1;
50 *indx = 0;
  /src/common/lib/libprop/
prop_array_util.c 45 prop_array_get_bool(prop_array_t array, unsigned int indx, bool *valp)
49 b = prop_array_get(array, indx);
59 prop_array_set_bool(prop_array_t array, unsigned int indx, bool val)
62 return prop_array_set_and_rel(array, indx, prop_bool_create(val));
75 unsigned int indx, \
79 prop_array_get(array, indx), valp); \
106 prop_array_set_signed_number(prop_array_t array, unsigned int indx,
109 return prop_array_set_and_rel(array, indx,
120 prop_array_set_unsigned_number(prop_array_t array, unsigned int indx,
123 return prop_array_set_and_rel(array, indx,
    [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/
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...]
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...]
  /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/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/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/lib/libc/db/btree/
btree.h 142 /* Get the page's BINTERNAL structure at index indx. */
143 #define GETBINTERNAL(pg, indx) \
144 ((BINTERNAL *)(void *)((char *)(void *)(pg) + (pg)->linp[indx]))
180 /* Get the page's RINTERNAL structure at index indx. */
181 #define GETRINTERNAL(pg, indx) \
182 ((RINTERNAL *)(void *)((char *)(void *)(pg) + (pg)->linp[indx]))
203 /* Get the page's BLEAF structure at index indx. */
204 #define GETBLEAF(pg, indx) \
205 ((BLEAF *)(void *)((char *)(void *)(pg) + (pg)->linp[indx]))
248 /* Get the page's RLEAF structure at index indx. *
    [all...]
  /src/games/larn/
main.c 603 show3(int indx)
605 switch (iven[indx]) {
607 show1(indx, potionname);
610 show1(indx, scrollname);
624 show1(indx, NULL);
628 lprintf("\n%c) %s", indx + 'a', objectname[iven[indx]]);
629 if (ivenarg[indx] > 0)
630 lprintf(" + %ld", (long) ivenarg[indx]);
631 else if (ivenarg[indx] < 0
    [all...]
  /src/usr.sbin/makefs/ffs/
ffs_alloc.c 159 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap)
166 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
175 if (indx == 0 || bap[indx - 1] == 0)
180 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
194 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
198 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap)
205 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0)
    [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/sys/stand/efiboot/
smbios.c 198 smbios_get_string(struct smbtable *st, uint8_t indx, char *dest, size_t len)
210 for (i = 1; va < end && i < indx && *va; i++)
213 if (i == indx) {
  /src/sys/dev/
smbios.c 316 smbios_get_string(struct smbtable *st, uint8_t indx, char *dest, size_t len)
326 for (i = 1; va < end && i < indx && *va; i++)
329 if (i == indx) {
  /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/games/boggle/boggle/
mach.c 153 prword(const char *const base[], int indx)
155 printw("%s", base[indx]);
159 prwidth(const char *const base[], int indx)
161 return (strlen(base[indx]));
  /src/usr.bin/m4/
extern.h 104 extern ptrdiff_t indx(const char *, const char *);
misc.c 72 indx(const char *s1, const char *s2) function in typeref:typename:ptrdiff_t
  /src/sys/sys/
vnode.h 390 #define VTTOIF(indx) (vttoif_tab[(int)(indx)])
391 #define MAKEIMODE(indx, mode) (int)(VTTOIF(indx) | (mode))
  /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/ufs/ffs/
ffs_alloc.c 771 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int flags,
801 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) {
810 if (indx == 0 || bap[indx - 1] == 0)
815 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1);
831 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag;
835 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int flags,
865 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0)
    [all...]

Completed in 28 milliseconds

1 2