/linux-2.4.37.9/fs/intermezzo/ |
D | kml_unpack.c | 80 static int kml_unpack_noop(struct kml_rec *rec, char **buf, char *end) in kml_unpack_noop() argument 86 static int kml_unpack_get_fileid(struct kml_rec *rec, char **buf, char *end) in kml_unpack_get_fileid() argument 90 LUNLOGV(rec->pathlen, __u32, ptr, end); in kml_unpack_get_fileid() 91 UNLOGL(rec->path, char, rec->pathlen, ptr, end); in kml_unpack_get_fileid() 97 static int kml_unpack_create(struct kml_rec *rec, char **buf, char *end) in kml_unpack_create() argument 101 kml_unpack_version(&rec->old_parentv, &ptr, end); in kml_unpack_create() 102 kml_unpack_version(&rec->new_parentv, &ptr, end); in kml_unpack_create() 103 kml_unpack_version(&rec->new_objectv, &ptr, end); in kml_unpack_create() 104 LUNLOGV(rec->mode, __u32, ptr, end); in kml_unpack_create() 105 LUNLOGV(rec->uid, __u32, ptr, end); in kml_unpack_create() [all …]
|
D | kml_reint.c | 40 static void kmlreint_pre_secure(struct kml_rec *rec, struct file *dir, in kmlreint_pre_secure() argument 47 ctxt.fsuid = rec->prefix.hdr->fsuid; in kmlreint_pre_secure() 48 ctxt.fsgid = rec->prefix.hdr->fsgid; in kmlreint_pre_secure() 55 if (rec->prefix.hdr->ngroups > 0) { in kmlreint_pre_secure() 56 ctxt.ngroups = rec->prefix.hdr->ngroups; in kmlreint_pre_secure() 58 ctxt.groups[i] = rec->prefix.groups[i]; in kmlreint_pre_secure() 87 static inline int kml_recno_equal(struct kml_rec *rec, in kml_recno_equal() argument 90 return (rec->suffix->recno == fset->fset_lento_recno + 1); in kml_recno_equal() 110 static int reint_close(struct kml_rec *rec, struct file *file, in reint_close() argument 122 CDEBUG (D_KML, "=====REINT_CLOSE::%s\n", rec->path); in reint_close() [all …]
|
D | replicator.c | 99 struct izo_offset_rec *rec = NULL; in izo_rep_cache_find() local 102 rec = list_entry(tmp, struct izo_offset_rec, or_list); in izo_rep_cache_find() 103 if ( memcmp(rec->or_uuid, uuid, sizeof(rec->or_uuid)) == 0 ) in izo_rep_cache_find() 104 return rec; in izo_rep_cache_find() 111 izo_rep_cache_add(struct presto_file_set *fset, struct izo_rcvd_rec *rec, in izo_rep_cache_add() argument 116 if (izo_rep_cache_find(fset, rec->lr_uuid)) { in izo_rep_cache_add() 128 memcpy(offrec->or_uuid, rec->lr_uuid, sizeof(rec->lr_uuid)); in izo_rep_cache_add() 132 izo_rep_hash(fset->fset_clients, rec->lr_uuid)); in izo_rep_cache_add() 139 struct izo_rcvd_rec rec; in izo_rep_cache_init() local 148 while ( presto_fread(fset->fset_rcvd.fd_file, (char *)&rec, in izo_rep_cache_init() [all …]
|
D | journal.c | 68 struct rec_info *rec, in presto_reserve_record() argument 75 if ( rec->is_kml ) { in presto_reserve_record() 81 if ( fd->fd_offset + rec->size >= boundary ) { in presto_reserve_record() 95 rec->offset = fd->fd_offset; in presto_reserve_record() 96 if (rec->is_kml) in presto_reserve_record() 97 rec->offset += fset->fset_kml_logical_off; in presto_reserve_record() 99 rec->recno = fd->fd_recno; in presto_reserve_record() 103 rd->ri_size = rec->size; in presto_reserve_record() 104 rd->ri_recno = rec->recno; in presto_reserve_record() 107 fd->fd_offset += rec->size; in presto_reserve_record() [all …]
|
D | vfs.c | 299 struct rec_info rec; in presto_do_close() local 323 rc = presto_journal_close(&rec, fset, file, file->f_dentry, in presto_do_close() 332 rc = presto_write_last_rcvd(&rec, fset, &fdata->fd_info); in presto_do_close() 364 struct rec_info rec; in presto_do_setattr() local 440 error = presto_journal_close(&rec, fset, &file, dentry, in presto_do_setattr() 445 error = presto_journal_setattr(&rec, fset, dentry, in presto_do_setattr() 451 error = presto_write_last_rcvd(&rec, fset, info); in presto_do_setattr() 557 struct rec_info rec; in presto_do_create() local 635 error = presto_journal_create(&rec, fset, dentry, &tgt_dir_ver, in presto_do_create() 643 error = presto_write_last_rcvd(&rec, fset, info); in presto_do_create() [all …]
|
D | dir.c | 1001 struct izo_rcvd_rec rec; in presto_ioctl() local 1010 rc = izo_rcvd_get(&rec, fset, data->ioc_uuid); in presto_ioctl() 1017 return copy_to_user((char *)arg, &rec, sizeof(rec))? -EFAULT : 0; in presto_ioctl() 1023 struct izo_rcvd_rec rec; in presto_ioctl() local 1039 lr_client, &rec); in presto_ioctl() 1046 return copy_to_user((char *)arg, &rec, sizeof(rec))? -EFAULT : 0; in presto_ioctl() 1308 struct izo_rcvd_rec rec; in presto_ioctl() local 1325 rc = izo_rcvd_get(&rec, fset, data->ioc_uuid); in presto_ioctl() 1329 memset(&rec, 0, sizeof(rec)); in presto_ioctl() 1335 rec.lr_remote_offset = data->ioc_kmlsize; in presto_ioctl() [all …]
|
/linux-2.4.37.9/arch/ppc/boot/prep/ |
D | misc.c | 372 struct bi_record *rec; in decompress_kernel() local 377 rec = (struct bi_record *)rec_loc; in decompress_kernel() 399 rec->tag = BI_FIRST; in decompress_kernel() 400 rec->size = sizeof(struct bi_record); in decompress_kernel() 401 rec = (struct bi_record *)((unsigned long)rec + rec->size); in decompress_kernel() 403 rec->tag = BI_MEMSIZE; in decompress_kernel() 404 rec->data[0] = TotalMemory; in decompress_kernel() 405 rec->size = sizeof(struct bi_record) + sizeof(unsigned long); in decompress_kernel() 406 rec = (struct bi_record *)((unsigned long)rec + rec->size); in decompress_kernel() 408 rec->tag = BI_BOOTLOADER_ID; in decompress_kernel() [all …]
|
/linux-2.4.37.9/arch/ppc/boot/common/ |
D | ofcommon.c | 137 struct bi_record *rec; in make_bi_recs() local 151 rec = (struct bi_record *)addr; in make_bi_recs() 152 rec->tag = BI_FIRST; in make_bi_recs() 153 rec->size = sizeof(struct bi_record); in make_bi_recs() 154 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs() 156 rec->tag = BI_BOOTLOADER_ID; in make_bi_recs() 157 sprintf( (char *)rec->data, name); in make_bi_recs() 158 rec->size = sizeof(struct bi_record) + strlen(name) + 1; in make_bi_recs() 159 rec = (struct bi_record *)((unsigned long)rec + rec->size); in make_bi_recs() 161 rec->tag = BI_MACHTYPE; in make_bi_recs() [all …]
|
D | misc-simple.c | 87 struct bi_record *rec; in decompress_kernel() local 212 rec = (struct bi_record *)rec_loc; in decompress_kernel() 233 rec->tag = BI_FIRST; in decompress_kernel() 234 rec->size = sizeof(struct bi_record); in decompress_kernel() 235 rec = (struct bi_record *)((unsigned long)rec + rec->size); in decompress_kernel() 238 rec->tag = BI_MEMSIZE; in decompress_kernel() 239 rec->data[0] = TotalMemory; in decompress_kernel() 240 rec->size = sizeof(struct bi_record) + sizeof(unsigned long); in decompress_kernel() 241 rec = (struct bi_record *)((unsigned long)rec + rec->size); in decompress_kernel() 244 rec->tag = BI_CMD_LINE; in decompress_kernel() [all …]
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | bootinfo.h | 49 static __inline__ struct bi_record * bi_rec_alloc(struct bi_record *rec, in bi_rec_alloc() argument 52 rec = (struct bi_record *)((unsigned long)rec + rec->size); in bi_rec_alloc() 53 rec->size = sizeof(struct bi_record) + args*sizeof(bi_rec_field); in bi_rec_alloc() 54 return rec; in bi_rec_alloc() 57 static __inline__ struct bi_record * bi_rec_alloc_bytes(struct bi_record *rec, in bi_rec_alloc_bytes() argument 60 rec = (struct bi_record *)((unsigned long)rec + rec->size); in bi_rec_alloc_bytes() 61 rec->size = sizeof(struct bi_record) + bytes; in bi_rec_alloc_bytes() 62 return rec; in bi_rec_alloc_bytes() 65 static __inline__ struct bi_record * bi_rec_next(struct bi_record *rec) in bi_rec_next() argument 67 return (struct bi_record *)((unsigned long)rec + rec->size); in bi_rec_next()
|
/linux-2.4.37.9/arch/ppc/boot/simple/ |
D | misc-spruce.c | 393 struct bi_record *rec; in load_kernel() local 397 rec = (struct bi_record *)rec_loc; in load_kernel() 419 rec->tag = BI_FIRST; in load_kernel() 420 rec->size = sizeof(struct bi_record); in load_kernel() 421 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel() 423 rec->tag = BI_BOOTLOADER_ID; in load_kernel() 424 memcpy( (void *)rec->data, "spruceboot", 11); in load_kernel() 425 rec->size = sizeof(struct bi_record) + 10 + 1; in load_kernel() 426 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel() 428 rec->tag = BI_MEMSIZE; in load_kernel() [all …]
|
D | misc-embedded.c | 225 struct bi_record *rec; in load_kernel() local 229 rec = (struct bi_record *)rec_loc; in load_kernel() 251 rec->tag = BI_FIRST; in load_kernel() 252 rec->size = sizeof(struct bi_record); in load_kernel() 253 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel() 255 rec->tag = BI_CMD_LINE; in load_kernel() 256 memcpy( (char *)rec->data, cmd_line, strlen(cmd_line)+1); in load_kernel() 257 rec->size = sizeof(struct bi_record) + strlen(cmd_line) + 1; in load_kernel() 258 rec = (struct bi_record *)((unsigned long)rec + rec->size); in load_kernel() 261 rec->tag = BI_INITRD; in load_kernel() [all …]
|
/linux-2.4.37.9/arch/ppc64/boot/ |
D | zImage.c | 206 struct bi_record *rec; in make_bi_recs() local 208 bi_recs = rec = bi_rec_init(addr); in make_bi_recs() 210 rec = bi_rec_alloc(rec, 2); in make_bi_recs() 211 rec->tag = BI_FIRST; in make_bi_recs() 215 rec = bi_rec_alloc_bytes(rec, strlen("chrpboot")+1); in make_bi_recs() 216 rec->tag = BI_BOOTLOADER_ID; in make_bi_recs() 217 sprintf( (char *)rec->data, "chrpboot"); in make_bi_recs() 219 rec = bi_rec_alloc(rec, 2); in make_bi_recs() 220 rec->tag = BI_MACHTYPE; in make_bi_recs() 221 rec->data[0] = PLATFORM_PSERIES; in make_bi_recs() [all …]
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_ialloc.c | 526 xfs_inobt_rec_t rec; /* inode allocation record */ in xfs_dialloc() local 664 if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, in xfs_dialloc() 665 &rec.ir_freecount, &rec.ir_free, &i, ARCH_NOCONVERT))) in xfs_dialloc() 668 freecount += rec.ir_freecount; in xfs_dialloc() 684 (error = xfs_inobt_get_rec(cur, &rec.ir_startino, in xfs_dialloc() 685 &rec.ir_freecount, &rec.ir_free, &j, ARCH_NOCONVERT)) == 0 && in xfs_dialloc() 687 rec.ir_freecount > 0) { in xfs_dialloc() 732 &rec.ir_startino, in xfs_dialloc() 733 &rec.ir_freecount, in xfs_dialloc() 734 &rec.ir_free, &i, ARCH_NOCONVERT))) in xfs_dialloc() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | awe_wave.c | 371 static int awe_search_multi_voices(awe_voice_list *rec, int note, int velocity, awe_voice_info **vl… 394 static void add_sf_info(sf_list *sf, awe_voice_list *rec); 396 static void purge_old_list(awe_voice_list *rec, awe_voice_list *next); 397 static void add_info_list(awe_voice_list *rec); 400 static short awe_set_sample(awe_voice_list *rec); 407 static int info_duplicated(sf_list *sf, awe_voice_list *rec); 1067 #define FX_SET(rec,type,value) \ argument 1068 ((rec)->flags[type] = FX_FLAG_SET, (rec)->val[type] = (value)) 1069 #define FX_ADD(rec,type,value) \ argument 1070 ((rec)->flags[type] = FX_FLAG_ADD, (rec)->val[type] = (value)) [all …]
|
D | forte.c | 200 struct forte_channel rec; member 790 else if (channel == &chip->rec) { in forte_channel_init() 908 forte_channel_stop (&chip->rec); in forte_dsp_ioctl() 909 rval = forte_channel_format (&chip->rec, ival); in forte_dsp_ioctl() 913 forte_channel_stop (&chip->rec); in forte_dsp_ioctl() 930 forte_channel_stop (&chip->rec); in forte_dsp_ioctl() 931 rval = forte_channel_stereo (&chip->rec, ival); in forte_dsp_ioctl() 935 forte_channel_stop (&chip->rec); in forte_dsp_ioctl() 952 forte_channel_stop (&chip->rec); in forte_dsp_ioctl() 953 rval = forte_channel_stereo (&chip->rec, ival-1) + 1; in forte_dsp_ioctl() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | setup.c | 432 struct bi_record *rec; in find_bootinfo() local 435 rec = (struct bi_record *)_ALIGN((ulong)__bss_start+(1<<20)-1,(1<<20)); in find_bootinfo() 436 if ( rec->tag != BI_FIRST ) { in find_bootinfo() 442 rec = (struct bi_record *)_ALIGN((ulong)__bss_start+0x10000+(1<<20)-1,(1<<20)); in find_bootinfo() 443 if ( rec->tag != BI_FIRST ) in find_bootinfo() 446 return rec; in find_bootinfo() 449 void parse_bootinfo(struct bi_record *rec) in parse_bootinfo() argument 451 if (rec == NULL || rec->tag != BI_FIRST) in parse_bootinfo() 453 while (rec->tag != BI_LAST) { in parse_bootinfo() 454 ulong *data = rec->data; in parse_bootinfo() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | setup.c | 420 struct bi_record *rec; in parse_bootinfo() local 424 rec = prom.bi_recs; in parse_bootinfo() 426 if ( rec == NULL || rec->tag != BI_FIRST ) in parse_bootinfo() 429 for ( ; rec->tag != BI_LAST ; rec = bi_rec_next(rec) ) { in parse_bootinfo() 430 switch (rec->tag) { in parse_bootinfo() 432 memcpy(cmd_line, (void *)rec->data, rec->size); in parse_bootinfo() 435 sysmap = (char *)((rec->data[0] >= (KERNELBASE)) in parse_bootinfo() 436 ? rec->data[0] : (unsigned long)__va(rec->data[0])); in parse_bootinfo() 437 sysmap_size = rec->data[1]; in parse_bootinfo() 441 initrd_start = (unsigned long)__va(rec->data[0]); in parse_bootinfo() [all …]
|
/linux-2.4.37.9/fs/hfsplus/ |
D | bfind.c | 19 int rec; in hfsplus_find_rec() local 25 rec = (e + b) / 2; in hfsplus_find_rec() 26 len = hfsplus_brec_lenoff(bnode, rec, &off); in hfsplus_find_rec() 27 keylen = hfsplus_brec_keylen(bnode, rec); in hfsplus_find_rec() 32 e = rec; in hfsplus_find_rec() 36 b = rec + 1; in hfsplus_find_rec() 38 e = rec - 1; in hfsplus_find_rec() 41 if (rec != e && e >= 0) { in hfsplus_find_rec()
|
D | brec.c | 15 u16 hfsplus_brec_lenoff(hfsplus_bnode *node, u16 rec, u16 *off) in hfsplus_brec_lenoff() argument 20 dataoff = node->tree->node_size - (rec + 2) * 2; in hfsplus_brec_lenoff() 27 u16 hfsplus_brec_keylen(hfsplus_bnode *node, u16 rec) in hfsplus_brec_keylen() argument 40 recoff = hfsplus_bnode_read_u16(node, node->tree->node_size - (rec + 1) * 2); in hfsplus_brec_keylen()
|
D | bnode.c | 319 int key_size, rec; in hfsplus_btree_add_level() local 351 rec = tree->node_size - 2; in hfsplus_btree_add_level() 352 hfsplus_bnode_write_u16(new_node, rec, 14); in hfsplus_btree_add_level() 363 rec -= 2; in hfsplus_btree_add_level() 364 hfsplus_bnode_write_u16(new_node, rec, 14 + key_size + 4); in hfsplus_btree_add_level() 488 int size, key_len, rec; in hfsplus_bnode_insert_rec() local 503 rec = fd->record + 1; in hfsplus_bnode_insert_rec() 513 dprint(DBG_BNODE_MOD, "insert_rec: %d, %d, %d, %d\n", rec, size, end_off, end_rec_off); in hfsplus_bnode_insert_rec() 532 idx_rec_off = tree->node_size - (rec + 1) * 2; in hfsplus_bnode_insert_rec() 552 if (!rec && new_node != node) in hfsplus_bnode_insert_rec() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | intermezzo_fs.h | 555 int presto_log(struct presto_file_set *fset, struct rec_info *rec, 562 int presto_journal_setattr(struct rec_info *rec, struct presto_file_set *fset, 565 int presto_journal_create(struct rec_info *rec, struct presto_file_set *fset, 569 int presto_journal_link(struct rec_info *rec, struct presto_file_set *fset, 573 int presto_journal_unlink(struct rec_info *rec, struct presto_file_set *fset, 579 int presto_journal_symlink(struct rec_info *rec, struct presto_file_set *fset, 583 int presto_journal_mkdir(struct rec_info *rec, struct presto_file_set *fset, 587 int presto_journal_rmdir(struct rec_info *rec, struct presto_file_set *fset, 592 int presto_journal_mknod(struct rec_info *rec, struct presto_file_set *fset, 597 int presto_journal_rename(struct rec_info *rec, struct presto_file_set *fset, [all …]
|
/linux-2.4.37.9/fs/hfs/ |
D | bdelete.c | 45 int i, rec, nrecs, tomove; in bdelete_nonempty() local 50 rec = belem->record; in bdelete_nonempty() 52 size = bnode_rsize(bnode, rec); in bdelete_nonempty() 53 tomove = bnode_offset(bnode, nrecs+1) - bnode_offset(bnode, rec+1); in bdelete_nonempty() 56 for (i = rec+1; i <= nrecs; ++i) { in bdelete_nonempty() 61 start = bnode_key(bnode, rec); in bdelete_nonempty()
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | netjet.c | 451 u_int *pend = bcs->hw.tiger.rec +NETJET_DMA_RXSIZE -1; in read_raw() 472 p = bcs->hw.tiger.rec; in read_raw() 643 p = cs->bcs[0].hw.tiger.rec + NETJET_DMA_RXSIZE - 1; in read_tiger() 645 p = cs->bcs[0].hw.tiger.rec + cnt - 1; in read_tiger() 983 if (!(cs->bcs[0].hw.tiger.rec = kmalloc(NETJET_DMA_RXSIZE * sizeof(unsigned int), in inittiger() 989 debugl1(cs, "tiger: rec buf %x - %x", (u_int)cs->bcs[0].hw.tiger.rec, in inittiger() 990 (u_int)(cs->bcs[0].hw.tiger.rec + NETJET_DMA_RXSIZE - 1)); in inittiger() 991 cs->bcs[1].hw.tiger.rec = cs->bcs[0].hw.tiger.rec; in inittiger() 992 memset(cs->bcs[0].hw.tiger.rec, 0xff, NETJET_DMA_RXSIZE * sizeof(unsigned int)); in inittiger() 993 outl(virt_to_bus(cs->bcs[0].hw.tiger.rec), in inittiger() [all …]
|
/linux-2.4.37.9/net/ipv4/ |
D | fib_semantics.c | 823 struct rtattr *rec; in fib_convert_rtentry() local 831 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry() 832 rec->rta_type = RTAX_ADVMSS; in fib_convert_rtentry() 833 rec->rta_len = RTA_LENGTH(4); in fib_convert_rtentry() 835 *(u32*)RTA_DATA(rec) = r->rt_mtu - 40; in fib_convert_rtentry() 838 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry() 839 rec->rta_type = RTAX_WINDOW; in fib_convert_rtentry() 840 rec->rta_len = RTA_LENGTH(4); in fib_convert_rtentry() 842 *(u32*)RTA_DATA(rec) = r->rt_window; in fib_convert_rtentry() 845 rec = (void*)((char*)mx + RTA_ALIGN(mx->rta_len)); in fib_convert_rtentry() [all …]
|