Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 14 of 14) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/
H A Dmsdosfs_fat.c81 usemap_alloc(struct msdosfsmount *pmp, u_long cn);
82 static int usemap_free(struct msdosfsmount *pmp, u_long cn);
136 u_long cn; in pcbmap() local
150 cn = dep->de_StartCluster; in pcbmap()
157 if (cn == MSDOSFSROOT) { in pcbmap()
191 fc_lookup(dep, findcn, &i, &cn); in pcbmap()
200 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap()
202 byteoffset = FATOFS(pmp, cn); in pcbmap()
213 prevcn = cn; in pcbmap()
220 cn = getulong(bp->b_data + bo); in pcbmap()
[all …]
H A Dmsdosfs_vnops.c109 u_long cn; in msdosfs_bmap() local
123 cn = a_bn; in msdosfs_bmap()
124 if (cn != (u_long)a_bn) in msdosfs_bmap()
126 error = pcbmap(dep, cn, a_bnp, NULL, NULL); in msdosfs_bmap()
148 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap()
150 if (pcbmap(dep, cn + run, &runbn, NULL, NULL) != 0 || runbn != *a_bnp + run * bnpercn) in msdosfs_bmap()
156 maxrun = ulmin(maxio - 1, cn); in msdosfs_bmap()
158 if (pcbmap(dep, cn - run, &runbn, NULL, NULL) != 0 || runbn != *a_bnp - run * bnpercn) in msdosfs_bmap()
H A Dmsdosfsmount.h138 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) argument
175 #define de_cn2bn(pmp, cn) \ argument
176 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift))
199 #define de_cn2off(pmp, cn) \ argument
200 ((cn) << (pmp)->pm_cnshift)
210 #define cntobn(pmp, cn) \ argument
211 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dfat.h82 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS) argument
99 void clusterfree(struct msdosfsmount *pmp, u_long cn);
H A Ddenode.h220 #define DETOI(pmp, cn, off) \ argument
221 ((cn) == MSDOSFSROOT \
223 : (((((uint64_t)pmp->pm_bpcluster * ((cn) - 2) + (off))) >> 5) \
H A Dmsdosfs_lookup.c774 u_long cn; in dosdirempty() local
785 for (cn = 0;; cn++) { in dosdirempty()
786 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) { in dosdirempty()
1056 u_long cn; in uniqdosname() local
1076 for (cn = error = 0; !error; cn++) { in uniqdosname()
1077 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) { in uniqdosname()
/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Dusb_midi.cpp206 packet->cin, packet->cn, in interpret_midi_buffer()
210 usbmidi_port_info* port = midiDevice->ports[packet->cn]; in interpret_midi_buffer()
215 packet->cn)); in interpret_midi_buffer()
218 packet->cn)); in interpret_midi_buffer()
681 pkt->cn = port->cable; in usb_midi_write()
688 pkt, pkt->cin, pkt->cn, in usb_midi_write()
/haiku/headers/os/drivers/usb/
H A DUSB_midi.h16 uint8 cn:4; // Cable Number member
/haiku/data/system/data/fortunes/
H A DEducation159 F u cn rd ths u cnt spl wrth a drn!
161 f u cn rd ths, itn tyg h myxbl cd.
163 f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
165 f u cn rd ths, u r prbbly a lsy spllr.
H A DOne Liners377 f u cn rd ths, itn tyg h myxbl cd.
379 f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
/haiku/docs/apps/mail/spamdbm/Extras/
H A DSampleDatabase1728 btamail.net.cn 0 0 1
/haiku/src/kits/
H A DCountryFlags.rdef546 resource(47,"flag-cn") #'VICN' array {
/haiku/src/kits/textencoding/
H A Dcharacter-sets308 Alias: cn
/haiku/src/data/ids/
H A Dusb.ids23245 5601 Laser Printer 3100cn
23246 5602 Laser Printer 3000cn
23247 5607 MFP Color Laser Printer 3115cn
23248 5631 Laser Printer 5100cn