/linux-2.6.39/drivers/net/tulip/ |
D | de2104x.c | 334 static void de_tx (struct de_private *de); 335 static void de_clean_rings (struct de_private *de); 336 static void de_media_interrupt (struct de_private *de, u32 status); 339 static unsigned int de_ok_to_advertise (struct de_private *de, u32 new_media); 373 #define dr32(reg) ioread32(de->regs + (reg)) 374 #define dw32(reg, val) iowrite32((val), de->regs + (reg)) 377 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument 380 if (netif_msg_rx_err (de)) in de_rx_err_acct() 383 de->dev->name, rx_tail, status, len); in de_rx_err_acct() 388 if (netif_msg_rx_err(de)) in de_rx_err_acct() [all …]
|
/linux-2.6.39/fs/hpfs/ |
D | dnode.c | 13 struct hpfs_dirent *de; in get_pos() local 16 for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) { in get_pos() 17 if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i; in get_pos() 111 struct hpfs_dirent *de, *de_end, *dee = NULL, *deee = NULL; in dnode_pre_last_de() local 113 for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) { in dnode_pre_last_de() 114 deee = dee; dee = de; in dnode_pre_last_de() 121 struct hpfs_dirent *de, *de_end, *dee = NULL; in dnode_last_de() local 123 for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) { in dnode_last_de() 124 dee = de; in dnode_last_de() 131 struct hpfs_dirent *de; in set_last_pointer() local [all …]
|
D | dir.c | 59 struct hpfs_dirent *de; in hpfs_readdir() local 143 if (!(de = map_pos_dirent(inode, &filp->f_pos, &qbh))) { in hpfs_readdir() 147 if (de->first || de->last) { in hpfs_readdir() 149 if (de->first && !de->last && (de->namelen != 2 in hpfs_readdir() 150 || de ->name[0] != 1 || de->name[1] != 1)) in hpfs_readdir() 152 if (de->last && (de->namelen != 1 || de ->name[0] != 255)) in hpfs_readdir() 158 tempname = hpfs_translate_name(inode->i_sb, de->name, de->namelen, lc, de->not_8x3); in hpfs_readdir() 159 if (filldir(dirent, tempname, de->namelen, old_pos, le32_to_cpu(de->fnode), DT_UNKNOWN) < 0) { in hpfs_readdir() 161 if (tempname != de->name) kfree(tempname); in hpfs_readdir() 165 if (tempname != de->name) kfree(tempname); in hpfs_readdir() [all …]
|
/linux-2.6.39/fs/nilfs2/ |
D | dir.c | 210 nilfs_match(int len, const unsigned char *name, struct nilfs_dir_entry *de) in nilfs_match() argument 212 if (len != de->name_len) in nilfs_match() 214 if (!de->inode) in nilfs_match() 216 return !memcmp(name, de->name, len); in nilfs_match() 252 static void nilfs_set_de_type(struct nilfs_dir_entry *de, struct inode *inode) in nilfs_set_de_type() argument 256 de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in nilfs_set_de_type() 278 struct nilfs_dir_entry *de; in nilfs_readdir() local 289 de = (struct nilfs_dir_entry *)(kaddr + offset); in nilfs_readdir() 292 for ( ; (char *)de <= limit; de = nilfs_next_entry(de)) { in nilfs_readdir() 293 if (de->rec_len == 0) { in nilfs_readdir() [all …]
|
/linux-2.6.39/fs/ufs/ |
D | dir.c | 34 const unsigned char *name, struct ufs_dir_entry *de) in ufs_match() argument 36 if (len != ufs_get_de_namlen(sb, de)) in ufs_match() 38 if (!de->d_ino) in ufs_match() 40 return !memcmp(name, de->d_name, len); in ufs_match() 76 struct ufs_dir_entry *de; in ufs_inode_by_name() local 79 de = ufs_find_entry(dir, qstr, &page); in ufs_inode_by_name() 80 if (de) { in ufs_inode_by_name() 81 res = fs32_to_cpu(dir->i_sb, de->d_ino); in ufs_inode_by_name() 89 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link() argument 93 (char *) de - (char *) page_address(page); in ufs_set_link() [all …]
|
/linux-2.6.39/fs/exofs/ |
D | dir.c | 183 struct exofs_dir_entry *de) in exofs_match() argument 185 if (len != de->name_len) in exofs_match() 187 if (!de->inode_no) in exofs_match() 189 return !memcmp(name, de->name, len); in exofs_match() 201 struct exofs_dir_entry *de = (struct exofs_dir_entry *)(base + offset); in exofs_validate_entry() local 204 while ((char *)p < (char *)de) { in exofs_validate_entry() 235 void exofs_set_de_type(struct exofs_dir_entry *de, struct inode *inode) in exofs_set_de_type() argument 238 de->file_type = exofs_type_by_mode[(mode & S_IFMT) >> S_SHIFT]; in exofs_set_de_type() 260 struct exofs_dir_entry *de; in exofs_readdir() local 279 de = (struct exofs_dir_entry *)(kaddr + offset); in exofs_readdir() [all …]
|
/linux-2.6.39/fs/ext2/ |
D | dir.c | 227 struct ext2_dir_entry_2 * de) in ext2_match() argument 229 if (len != de->name_len) in ext2_match() 231 if (!de->inode) in ext2_match() 233 return !memcmp(name, de->name, len); in ext2_match() 248 ext2_dirent *de = (ext2_dirent*)(base + offset); in ext2_validate_entry() local 250 while ((char*)p < (char*)de) { in ext2_validate_entry() 280 static inline void ext2_set_de_type(ext2_dirent *de, struct inode *inode) in ext2_set_de_type() argument 284 de->file_type = ext2_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; in ext2_set_de_type() 286 de->file_type = 0; in ext2_set_de_type() 310 ext2_dirent *de; in ext2_readdir() local [all …]
|
/linux-2.6.39/fs/dlm/ |
D | dir.c | 27 static void put_free_de(struct dlm_ls *ls, struct dlm_direntry *de) in put_free_de() argument 30 list_add(&de->list, &ls->ls_recover_list); in put_free_de() 37 struct dlm_direntry *de; in get_free_de() local 40 list_for_each_entry(de, &ls->ls_recover_list, list) { in get_free_de() 41 if (de->length == len) { in get_free_de() 42 list_del(&de->list); in get_free_de() 43 de->master_nodeid = 0; in get_free_de() 44 memset(de->name, 0, len); in get_free_de() 52 de = kzalloc(sizeof(struct dlm_direntry) + len, GFP_NOFS); in get_free_de() 53 return de; in get_free_de() [all …]
|
/linux-2.6.39/fs/sysv/ |
D | dir.c | 83 struct sysv_dir_entry *de; in sysv_readdir() local 89 de = (struct sysv_dir_entry *)(kaddr+offset); in sysv_readdir() 91 for ( ;(char*)de <= limit; de++) { in sysv_readdir() 92 char *name = de->name; in sysv_readdir() 95 if (!de->inode) in sysv_readdir() 98 offset = (char *)de - kaddr; in sysv_readdir() 102 fs16_to_cpu(SYSV_SB(sb), de->inode), in sysv_readdir() 144 struct sysv_dir_entry *de; in sysv_find_entry() local 158 de = (struct sysv_dir_entry *) kaddr; in sysv_find_entry() 160 for ( ; (char *) de <= kaddr ; de++) { in sysv_find_entry() [all …]
|
/linux-2.6.39/fs/proc/ |
D | generic.c | 31 static int proc_match(unsigned int len, const char *name, struct proc_dir_entry *de) in proc_match() argument 33 if (de->namelen != len) in proc_match() 35 return !memcmp(name, de->name, len); in proc_match() 257 struct proc_dir_entry *de = PDE(inode); in proc_notify_change() local 274 de->uid = inode->i_uid; in proc_notify_change() 275 de->gid = inode->i_gid; in proc_notify_change() 276 de->mode = inode->i_mode; in proc_notify_change() 284 struct proc_dir_entry *de = PROC_I(inode)->pde; in proc_getattr() local 285 if (de && de->nlink) in proc_getattr() 286 inode->i_nlink = de->nlink; in proc_getattr() [all …]
|
D | proc_devtree.c | 21 struct proc_dir_entry *de) in set_node_proc_entry() argument 24 np->pde = de; in set_node_proc_entry() 63 __proc_device_tree_add_prop(struct proc_dir_entry *de, struct property *pp, in __proc_device_tree_add_prop() argument 74 de, &property_proc_fops, pp); in __proc_device_tree_add_prop() 122 static int duplicate_name(struct proc_dir_entry *de, const char *name) in duplicate_name() argument 129 for (ent = de->subdir; ent != NULL; ent = ent->next) { in duplicate_name() 141 static const char *fixup_name(struct device_node *np, struct proc_dir_entry *de, in fixup_name() argument 167 if (duplicate_name(de, fixed_name)) { in fixup_name() 183 struct proc_dir_entry *de) in proc_device_tree_add_node() argument 190 set_node_proc_entry(np, de); in proc_device_tree_add_node() [all …]
|
/linux-2.6.39/fs/fat/ |
D | dir.c | 40 struct msdos_dir_entry *de) in fat_make_i_pos() argument 43 | (de - (struct msdos_dir_entry *)bh->b_data); in fat_make_i_pos() 80 struct buffer_head **bh, struct msdos_dir_entry **de) in fat__get_entry() argument 110 *de = (struct msdos_dir_entry *)((*bh)->b_data + offset); in fat__get_entry() 117 struct msdos_dir_entry **de) in fat_get_entry() argument 120 if (*bh && *de && in fat_get_entry() 121 (*de - (struct msdos_dir_entry *)(*bh)->b_data) < MSDOS_SB(dir->i_sb)->dir_per_block - 1) { in fat_get_entry() 123 (*de)++; in fat_get_entry() 126 return fat__get_entry(dir, pos, bh, de); in fat_get_entry() 274 struct buffer_head **bh, struct msdos_dir_entry **de, in fat_parse_long() argument [all …]
|
/linux-2.6.39/fs/freevxfs/ |
D | vxfs_lookup.c | 84 vxfs_match(int len, const char * const name, struct vxfs_direct *de) in vxfs_match() argument 86 if (len != de->d_namelen) in vxfs_match() 88 if (!de->d_ino) in vxfs_match() 90 return !memcmp(name, de->d_name, len); in vxfs_match() 94 vxfs_next_entry(struct vxfs_direct *de) in vxfs_next_entry() argument 96 return ((struct vxfs_direct *)((char*)de + de->d_reclen)); in vxfs_next_entry() 137 struct vxfs_direct *de; in vxfs_find_entry() local 143 de = (struct vxfs_direct *)(baddr + VXFS_DIRBLKOV(dbp)); in vxfs_find_entry() 145 for (; (caddr_t)de <= limit; de = vxfs_next_entry(de)) { in vxfs_find_entry() 146 if (!de->d_reclen) in vxfs_find_entry() [all …]
|
/linux-2.6.39/fs/isofs/ |
D | dir.c | 16 int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode) in isofs_name_translate() argument 18 char * old = de->name; in isofs_name_translate() 19 int len = de->name_len[0]; in isofs_name_translate() 49 int get_acorn_filename(struct iso_directory_record *de, in get_acorn_filename() argument 54 int retnamlen = isofs_name_translate(de, retname, inode); in get_acorn_filename() 58 std = sizeof(struct iso_directory_record) + de->name_len[0]; in get_acorn_filename() 61 if ((*((unsigned char *) de) - std) != 32) in get_acorn_filename() 63 chr = ((unsigned char *) de) + std; in get_acorn_filename() 68 if (((de->flags[0] & 2) == 0) && (chr[13] == 0xff) in get_acorn_filename() 94 struct iso_directory_record *de; in do_isofs_readdir() local [all …]
|
D | namei.c | 69 struct iso_directory_record *de; in isofs_find_entry() local 79 de = (struct iso_directory_record *) (bh->b_data + offset); in isofs_find_entry() 81 de_len = *(unsigned char *) de; in isofs_find_entry() 99 memcpy(tmpde, de, slop); in isofs_find_entry() 110 de = tmpde; in isofs_find_entry() 113 dlen = de->name_len[0]; in isofs_find_entry() 114 dpnt = de->name; in isofs_find_entry() 124 ((i = get_rock_ridge_filename(de, tmpname, dir)))) { in isofs_find_entry() 129 dlen = get_joliet_filename(de, tmpname, dir); in isofs_find_entry() 133 dlen = get_acorn_filename(de, tmpname, dir); in isofs_find_entry() [all …]
|
/linux-2.6.39/fs/reiserfs/ |
D | namei.c | 27 static int bin_search_in_dir_item(struct reiserfs_dir_entry *de, loff_t off) in bin_search_in_dir_item() argument 29 struct item_head *ih = de->de_ih; in bin_search_in_dir_item() 30 struct reiserfs_de_head *deh = de->de_deh; in bin_search_in_dir_item() 47 de->de_entry_num = j; in bin_search_in_dir_item() 51 de->de_entry_num = lbound; in bin_search_in_dir_item() 56 static inline void set_de_item_location(struct reiserfs_dir_entry *de, in set_de_item_location() argument 59 de->de_bh = get_last_bh(path); in set_de_item_location() 60 de->de_ih = get_ih(path); in set_de_item_location() 61 de->de_deh = B_I_DEH(de->de_bh, de->de_ih); in set_de_item_location() 62 de->de_item_num = PATH_LAST_POSITION(path); in set_de_item_location() [all …]
|
/linux-2.6.39/fs/ext3/ |
D | namei.c | 164 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize, 271 static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext3_dir_entry_2 *de, in dx_show_leaf() argument 275 char *base = (char *) de; in dx_show_leaf() 279 while ((char *) de < base + size) in dx_show_leaf() 281 if (de->inode) in dx_show_leaf() 285 int len = de->name_len; in dx_show_leaf() 286 char *name = de->name; in dx_show_leaf() 288 ext3fs_dirhash(de->name, de->name_len, &h); in dx_show_leaf() 290 ((char *) de - base)); in dx_show_leaf() 292 space += EXT3_DIR_REC_LEN(de->name_len); in dx_show_leaf() [all …]
|
/linux-2.6.39/fs/ext4/ |
D | namei.c | 164 static int dx_make_map(struct ext4_dir_entry_2 *de, unsigned blocksize, 273 static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext4_dir_entry_2 *de, in dx_show_leaf() argument 277 char *base = (char *) de; in dx_show_leaf() 281 while ((char *) de < base + size) in dx_show_leaf() 283 if (de->inode) in dx_show_leaf() 287 int len = de->name_len; in dx_show_leaf() 288 char *name = de->name; in dx_show_leaf() 290 ext4fs_dirhash(de->name, de->name_len, &h); in dx_show_leaf() 292 ((char *) de - base)); in dx_show_leaf() 294 space += EXT4_DIR_REC_LEN(de->name_len); in dx_show_leaf() [all …]
|
/linux-2.6.39/Documentation/i2c/busses/ |
D | i2c-nforce2 | 4 * nForce2 MCP 10de:0064 5 * nForce2 Ultra 400 MCP 10de:0084 6 * nForce3 Pro150 MCP 10de:00D4 7 * nForce3 250Gb MCP 10de:00E4 8 * nForce4 MCP 10de:0052 9 * nForce4 MCP-04 10de:0034 10 * nForce MCP51 10de:0264 11 * nForce MCP55 10de:0368 12 * nForce MCP61 10de:03EB 13 * nForce MCP65 10de:0446 [all …]
|
/linux-2.6.39/Documentation/isdn/ |
D | CREDITS | 5 Thomas Bogendörfer (tsbogend@bigbug.franken.de) 11 Henner Eisen (eis@baty.hanse.de) 14 Volker Götz (volker@oops.franken.de) 18 Matthias Hessler (hessler@isdn4linux.de) 21 Bernhard Hailer (Bernhard.Hailer@lrz.uni-muenchen.de) 24 Michael 'Ghandi' Herold (michael@abadonna.franken.de) 27 Michael Hipp (Michael.Hipp@student.uni-tuebingen.de) 30 Karsten Keil (keil@isdn4linux.de) 34 Michael Knigge (knick@cove.han.de) 37 Andreas Kool (akool@Kool.f.EUnet.de) [all …]
|
/linux-2.6.39/fs/minix/ |
D | dir.c | 80 static inline void *minix_next_entry(void *de, struct minix_sb_info *sbi) in minix_next_entry() argument 82 return (void*)((char*)de + sbi->s_dirsize); in minix_next_entry() 117 minix_dirent *de = (minix_dirent *)p; in minix_readdir() local 118 name = de->name; in minix_readdir() 119 inumber = de->inode; in minix_readdir() 190 minix_dirent *de = (minix_dirent *)p; in minix_find_entry() local 191 namx = de->name; in minix_find_entry() 192 inumber = de->inode; in minix_find_entry() 219 minix_dirent *de; in minix_add_link() local 243 de = (minix_dirent *)p; in minix_add_link() [all …]
|
/linux-2.6.39/fs/coda/ |
D | dir.c | 49 static int coda_dentry_revalidate(struct dentry *de, struct nameidata *nd); 194 static int coda_create(struct inode *dir, struct dentry *de, int mode, struct nameidata *nd) in coda_create() argument 197 const char *name=de->d_name.name; in coda_create() 198 int length=de->d_name.len; in coda_create() 219 d_instantiate(de, inode); in coda_create() 222 d_drop(de); in coda_create() 226 static int coda_mkdir(struct inode *dir, struct dentry *de, int mode) in coda_mkdir() argument 230 const char *name = de->d_name.name; in coda_mkdir() 231 int len = de->d_name.len; in coda_mkdir() 253 d_instantiate(de, inode); in coda_mkdir() [all …]
|
/linux-2.6.39/fs/qnx4/ |
D | namei.c | 28 struct qnx4_inode_entry *de; in qnx4_match() local 35 de = (struct qnx4_inode_entry *) (bh->b_data + *offset); in qnx4_match() 37 if ((de->di_status & QNX4_FILE_LINK) != 0) { in qnx4_match() 43 if (!len && (de->di_fname[0] == '.') && (de->di_fname[1] == '\0')) { in qnx4_match() 46 thislen = strlen( de->di_fname ); in qnx4_match() 52 if (strncmp(name, de->di_fname, len) == 0) { in qnx4_match() 53 if ((de->di_status & (QNX4_FILE_USED|QNX4_FILE_LINK)) != 0) { in qnx4_match() 104 struct qnx4_inode_entry *de; in qnx4_lookup() local 111 if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino))) in qnx4_lookup() 114 if ((de->di_status & QNX4_FILE_LINK) == QNX4_FILE_LINK) { in qnx4_lookup() [all …]
|
D | dir.c | 22 struct qnx4_inode_entry *de; in qnx4_readdir() local 41 de = (struct qnx4_inode_entry *) (bh->b_data + offset); in qnx4_readdir() 42 size = strlen(de->di_fname); in qnx4_readdir() 44 if ( !( de->di_status & QNX4_FILE_LINK ) && size > QNX4_SHORT_NAME_MAX ) in qnx4_readdir() 49 if ( ( de->di_status & (QNX4_FILE_USED|QNX4_FILE_LINK) ) != 0 ) { in qnx4_readdir() 50 QNX4DEBUG((KERN_INFO "qnx4_readdir:%.*s\n", size, de->di_fname)); in qnx4_readdir() 51 if ( ( de->di_status & QNX4_FILE_LINK ) == 0 ) in qnx4_readdir() 54 le = (struct qnx4_link_info*)de; in qnx4_readdir() 59 if (filldir(dirent, de->di_fname, size, filp->f_pos, ino, DT_UNKNOWN) < 0) { in qnx4_readdir()
|
/linux-2.6.39/fs/adfs/ |
D | dir_f.c | 211 struct adfs_direntry *de) in adfs_dir2obj() argument 213 obj->name_len = adfs_readname(obj->name, de->dirobname, ADFS_F_NAME_LEN); in adfs_dir2obj() 214 obj->file_id = adfs_readval(de->dirinddiscadd, 3); in adfs_dir2obj() 215 obj->loadaddr = adfs_readval(de->dirload, 4); in adfs_dir2obj() 216 obj->execaddr = adfs_readval(de->direxec, 4); in adfs_dir2obj() 217 obj->size = adfs_readval(de->dirlen, 4); in adfs_dir2obj() 218 obj->attr = de->newdiratts; in adfs_dir2obj() 242 adfs_obj2dir(struct adfs_direntry *de, struct object_info *obj) in adfs_obj2dir() argument 244 adfs_writeval(de->dirinddiscadd, 3, obj->file_id); in adfs_obj2dir() 245 adfs_writeval(de->dirload, 4, obj->loadaddr); in adfs_obj2dir() [all …]
|