| /src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| hfs.c | 58 hfsvol *vol = 0; local 84 vol = check; 91 if (vol == 0) 93 vol = ALLOC(hfsvol, 1); 94 if (vol == 0) 100 vol->flags = 0; 101 vol->pnum = pnum; 102 vol->vstart = 0; 103 vol->vlen = 0; 104 vol->lpa = 0 282 hfsvol *vol; local 405 hfsvol *vol; local 458 hfsvol vol; local 1073 hfsvol *vol; local 1168 hfsvol *vol = dir->vol; local 1452 hfsvol *vol = file->vol; local 2043 hfsvol *vol = file->vol; local [all...] |
| block.c | 39 int b_readlb(hfsvol *vol, unsigned long num, block *bp) 46 fprintf(stderr,"b_readlb: start block = %d\n", vol->vstart + num); 49 hce = vol->hce; 70 if (lseek(vol->fd, (vol->vstart + num) * HFS_BLOCKSZ, SEEK_SET) < 0) 76 bytes = read(vol->fd, bp, HFS_BLOCKSZ); 100 int b_writelb(hfsvol *vol, unsigned long num, block *bp) 107 fprintf(stderr,"b_writelb: start block = %d\n", vol->vstart + num); 110 hce = vol->hce; 133 if (lseek(vol->fd, (vol->vstart + num) * HFS_BLOCKSZ, SEEK_SET) < 0 [all...] |
| lvolume.c | 33 * NAME: vol->catsearch() 36 int v_catsearch(hfsvol *vol, long parid, char *name, 51 found = bt_search(&vol->cat, pkey, np); 70 * NAME: vol->extsearch() 94 found = bt_search(&file->vol->ext, pkey, np); 112 * NAME: vol->getthread() 115 int v_getthread(hfsvol *vol, long id, CatDataRec *thread, node *np, int type) 123 found = v_catsearch(vol, id, "", thread, 0, np); 137 * NAME: vol->putcatrec() 154 * NAME: vol->putextrec( [all...] |
| volume.h | 25 # define v_getdthread(vol, id, thread, np) \ 26 v_getthread(vol, id, thread, np, cdrThdRec) 27 # define v_getfthread(vol, id, thread, np) \ 28 v_getthread(vol, id, thread, np, cdrFThdRec)
|
| low.c | 36 int l_lockvol(hfsvol *vol) 42 lock.l_type = (vol->flags & HFS_READONLY) ? F_RDLCK : F_WRLCK; 47 if (fcntl(vol->fd, F_SETLK, &lock) < 0) 62 int l_readblock0(hfsvol *vol) 68 if (b_readlb(vol, 0, &b) < 0) 92 vol->vlen = rec.sbBlkCount; 94 if (l_readpm(vol) < 0) 100 vol->pnum = 0; 108 if (l_readpm(vol) < 0) 109 vol->pnum = 0 [all...] |
| file.c | 94 abnum = num / file->vol->lpa; 95 blnum = num % file->vol->lpa; 134 return func(file->vol, file->ext[i].xdrStABN + abnum, blnum, bp); 153 hfsvol *vol = file->vol; local 163 clumpsz = vol->mdb.drClpSiz; 165 blocks.xdrNumABlks = clumpsz / vol->mdb.drAlBlkSiz; 167 if (v_allocblocks(vol, &blocks) < 0) 175 end = *pylen / vol->mdb.drAlBlkSiz; 193 v_freeblocks(vol, &blocks) 435 hfsvol *vol = file->vol; local [all...] |
| /src/sys/arch/ews4800mips/stand/common/ |
| ustarfs.c | 132 int vol, cnt; local 135 vol = __block2volume(blk); 136 if (vol != __volume.current_volume) { 137 __change_volume(vol); 138 __volume.current_volume = vol; 141 cnt = __next_block(vol) - blk; 158 int vol; local 160 vol = __block2volume(blk); 162 if (vol != __volume.current_volume) { 163 __change_volume(vol); [all...] |
| /src/sys/arch/mac68k/include/ |
| iteioctl.h | 46 int vol; /* percentage volume */ member in struct:bellparams
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
| if900d.h | 18 __u8 vol; member in struct:gf100_vmm_map_v0
|
| ifb00d.h | 24 __u8 vol; member in struct:gm200_vmm_map_v0
|
| ifc00d.h | 24 __u8 vol; member in struct:gp100_vmm_map_v0
|
| /src/sys/stand/efiboot/ |
| efifile.c | 40 intmax_t vol; local 46 vol = strtoimax(fname + 2, &ep, 10); 47 if (vol < 0 || vol >= efi_nvol || *ep != ':') 49 *pvol = vol; 74 UINTN vol; local 85 rv = efi_file_parse(fname, &vol, &path); 94 file_dp = FileDevicePath(efi_vol[vol], upath); 161 UINTN vol; local 168 for (vol = 0; vol < efi_nvol; vol++) [all...] |
| /src/sys/dev/dec/ |
| lk201_ws.c | 200 unsigned int vol; local 203 vol = 8 - bell->volume * 8 / 100; 204 if (vol > 7) 205 vol = 7; 207 vol = 3; 209 if (vol != lks->bellvol) { 211 send(lks, LK_PARAM_VOLUME(vol)); 212 lks->bellvol = vol; 238 lk201_set_keyclick(struct lk201_state *lks, int vol) 242 if (vol == 0 [all...] |
| /src/external/gpl2/mkhybrid/dist/ |
| desktop.c | 45 make_desktop(hfsvol *vol, int end) 46 /* hfsvol *vol; Mac volume */ 70 if(hfs_create(vol, DB, ent.type, ent.creator) == 0) 99 if((hfp = hfs_open(vol, DB)) == 0) 120 if(hfs_setattr(vol, DB, &ent) < 0) 129 hfs_create(vol, DF, ent.type, ent.creator); 132 if (hfs_setattr(vol, DF, &ent) < 0)
|
| volume.c | 156 hfsvol *vol; /* Mac volume */ local 157 int vlen, vblen; /* vol length (bytes, blocks) */ 228 if ((vol = hfs_mount(hce, 0, 0)) == 0) 235 vol_save = vol; 241 ret = copy_to_mac_vol(vol, dpnt); 249 ret = make_desktop(vol, last_extent*BLK_CONV); 254 if (hfs_flush(vol) < 0) 258 if (hfs_umount(vol, last_extent*BLK_CONV) < 0) 274 int FDECL2(copy_to_mac_vol, hfsvol *, vol, struct directory *, node) 292 if ((id = hfs_getcwd(vol)) == 0 [all...] |
| /src/sys/dev/isa/ |
| aztech.c | 96 u_int8_t vol; member in struct:az_softc 172 sc->vol = 0; 204 sc->mute ? 0 : sc->vol); 207 sc->mute ? 0 : sc->vol); 213 u_int8_t vol; local 216 vol = sc->mute ? 0 : sc->vol; 228 lm700x_hardware_write(&sc->lm, reg, vol); 247 az_conv_vol(u_int8_t vol) 249 if (vol < VOLUME_RATIO(1) [all...] |
| radiotrack.c | 108 u_int8_t vol; member in struct:rt_softc 185 sc->vol = 0; 231 rt_set_mute(struct rt_softc *sc, int vol) 244 val = sc->vol - vol; 276 rt_set_mute(sc, sc->vol); 311 rt_conv_vol(u_int8_t vol) 313 if (vol < VOLUME_RATIO(1)) 315 else if (vol >= VOLUME_RATIO(1) && vol < VOLUME_RATIO(2) [all...] |
| /src/external/gpl2/lvm2/dist/include/ |
| locking.h | 30 int remote_lock_held(const char *vol); 37 * char *vol holds volume group name. 38 * Set the LCK_CACHE flag to invalidate 'vol' in the internal cache. 40 * acquired in alphabetical order of 'vol' (to avoid deadlocks). 44 * char *vol holds lvid 46 int lock_vol(struct cmd_context *cmd, const char *vol, uint32_t flags); 50 * LCK_VG: Uses prefix V_ unless the vol begins with # (i.e. #global or #orphans) 128 #define unlock_vg(cmd, vol) lock_vol(cmd, vol, LCK_VG_UNLOCK) 129 #define unlock_and_release_vg(cmd, vg, vol) \ [all...] |
| /src/external/gpl2/lvm2/dist/lib/locking/ |
| locking.h | 30 int remote_lock_held(const char *vol); 37 * char *vol holds volume group name. 38 * Set the LCK_CACHE flag to invalidate 'vol' in the internal cache. 40 * acquired in alphabetical order of 'vol' (to avoid deadlocks). 44 * char *vol holds lvid 46 int lock_vol(struct cmd_context *cmd, const char *vol, uint32_t flags); 50 * LCK_VG: Uses prefix V_ unless the vol begins with # (i.e. #global or #orphans) 128 #define unlock_vg(cmd, vol) lock_vol(cmd, vol, LCK_VG_UNLOCK) 129 #define unlock_and_release_vg(cmd, vg, vol) \ [all...] |
| locking.c | 386 int lock_vol(struct cmd_context *cmd, const char *vol, uint32_t flags) 403 log_debug("Internal error: %s: LCK_NONE lock requested", vol); 417 if (vol[0] != '#' && 420 !lvmcache_verify_lock_order(vol)) 425 if (!check_lvm1_vg_inactive(cmd, vol)) 438 strncpy(resource, vol, sizeof(resource)); 524 int remote_lock_held(const char *vol) 537 if (!_locking.query_resource(vol, &mode)) {
|
| /src/sys/arch/hpcsh/dev/hd64461/ |
| hd64461_machdep.c | 51 hd64461pcmcia_power(int ch, enum pcmcia_voltage vol, int on) 85 if (vol == V_3_3) {
|
| /src/sys/fs/hfs/ |
| hfs_subr.c | 152 hfs_volume* vol, 165 if (vol == NULL || devname == NULL) { 175 vol->cbdata = cbdata; 180 mode = vol->readonly ? FREAD : FREAD|FWRITE; 210 (void)VOP_CLOSE(cbdata->devvp, vol->readonly ? FREAD : 215 vol->cbdata = NULL; 245 hfs_volume* vol, 256 if (vol == NULL || outbytes == NULL) 259 cbdata = (hfs_libcb_data*)vol->cbdata; 274 physoffset = offset + vol->offset [all...] |
| /src/sys/arch/mac68k/dev/ |
| ite_compat.c | 170 if (bp->vol < 0 || bp->vol > 100) 175 ite_bell_volume = bp->vol; 184 ite_bell_volume = bp->vol;
|
| /src/sys/dev/ic/ |
| ad1848.c | 199 ad1848_to_vol(mixer_ctrl_t *cp, struct ad1848_volume *vol) 203 vol->left = 204 vol->right = cp->un.value.level[AUDIO_MIXER_LEVEL_MONO]; 208 vol->left = cp->un.value.level[AUDIO_MIXER_LEVEL_LEFT]; 209 vol->right = cp->un.value.level[AUDIO_MIXER_LEVEL_RIGHT]; 216 ad1848_from_vol(mixer_ctrl_t *cp, struct ad1848_volume *vol) 220 cp->un.value.level[AUDIO_MIXER_LEVEL_MONO] = vol->left; 224 cp->un.value.level[AUDIO_MIXER_LEVEL_LEFT] = vol->left; 225 cp->un.value.level[AUDIO_MIXER_LEVEL_RIGHT] = vol->right; 656 struct ad1848_volume vol; local 729 struct ad1848_volume vol; local [all...] |
| /src/sys/dev/i2c/ |
| axp809.c | 206 u_int vol, reg_val; local 218 vol = c->c_min; 220 for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) { 222 vol += c->c_step1; 224 for (nstep = 0; nstep < c->c_step2cnt && vol < min; nstep++) { 226 vol += c->c_step2; 229 if (vol > max)
|