/linux-2.4.37.9/arch/mips/tx4927/common/ |
D | tx4927_setup.c | 61 void dump_cp0(char *key); 140 void print_cp0(char *key, int num, char *name, u32 val) in print_cp0() argument 142 printk("%s cp0:%02d:%s=0x%08x\n", key, num, name, val); in print_cp0() 149 dump_cp0(char *key) in dump_cp0() argument 151 if (key == NULL) in dump_cp0() 152 key = ""; in dump_cp0() 154 print_cp0(key, 0, "INDEX ", read_c0_index()); in dump_cp0() 155 print_cp0(key, 2, "ENTRYLO1", read_c0_entrylo0()); in dump_cp0() 156 print_cp0(key, 3, "ENTRYLO2", read_c0_entrylo1()); in dump_cp0() 157 print_cp0(key, 4, "CONTEXT ", read_c0_context()); in dump_cp0() [all …]
|
/linux-2.4.37.9/crypto/ |
D | tcrypt.h | 33 char key[128]; /* only used with keyed hash algorithms */ member 38 char key[128]; member 50 char key[MAX_KEYLEN]; member 314 .key = { [0 ... 15] = 0x0b }, 321 .key = { 'J', 'e', 'f', 'e' }, 330 .key = { [0 ... 15] = 0xaa }, 337 .key = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 346 .key = { [0 ... 15] = 0x0c }, 353 .key = { [0 ... 79] = 0xaa }, 360 .key = { [0 ... 79] = 0xaa }, [all …]
|
D | cast6.c | 372 static inline void W(u32 *key, unsigned int i) { in W() argument 374 key[6] ^= F1(key[7], Tr[i % 4][0], Tm[i][0]); in W() 375 key[5] ^= F2(key[6], Tr[i % 4][1], Tm[i][1]); in W() 376 key[4] ^= F3(key[5], Tr[i % 4][2], Tm[i][2]); in W() 377 key[3] ^= F1(key[4], Tr[i % 4][3], Tm[i][3]); in W() 378 key[2] ^= F2(key[3], Tr[i % 4][4], Tm[i][4]); in W() 379 key[1] ^= F3(key[2], Tr[i % 4][5], Tm[i][5]); in W() 380 key[0] ^= F1(key[1], Tr[i % 4][6], Tm[i][6]); in W() 381 key[7] ^= F2(key[0], Tr[i % 4][7], Tm[i][7]); in W() 388 u32 key[8]; in cast6_setkey() local [all …]
|
D | hmac.c | 24 static void hash_key(struct crypto_tfm *tfm, u8 *key, unsigned int keylen) in hash_key() argument 28 tmp.page = virt_to_page(key); in hash_key() 29 tmp.offset = ((long)key & ~PAGE_MASK); in hash_key() 31 crypto_digest_digest(tfm, &tmp, 1, key); in hash_key() 56 void crypto_hmac_init(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen) in crypto_hmac_init() argument 63 hash_key(tfm, key, *keylen); in crypto_hmac_init() 68 memcpy(ipad, key, *keylen); in crypto_hmac_init() 87 void crypto_hmac_final(struct crypto_tfm *tfm, u8 *key, in crypto_hmac_final() argument 95 hash_key(tfm, key, *keylen); in crypto_hmac_final() 102 memcpy(opad, key, *keylen); in crypto_hmac_final() [all …]
|
/linux-2.4.37.9/include/asm-mips64/sn/sn0/ |
D | addrs.h | 332 #define ADD_HUBWID_KEY(key,hubwid)\ argument 333 (key|=((__psunsigned_t)hubwid << KEY_HUBWID_SHFT)) 335 #define ADD_HSTNASID_KEY(key,hstnasid)\ argument 336 (key|=((__psunsigned_t)hstnasid << KEY_HSTNASID_SHFT)) 338 #define GET_DEVNASID_FROM_KEY(key) ((short)(key >> KEY_DEVNASID_SHFT)) argument 339 #define GET_WIDID_FROM_KEY(key) ((uchar)(key >> KEY_WIDID_SHFT)) argument 340 #define GET_PCIID_FROM_KEY(key) ((uchar)(key >> KEY_PCIID_SHFT)) argument 341 #define GET_HUBWID_FROM_KEY(key) ((uchar)(key >> KEY_HUBWID_SHFT)) argument 342 #define GET_HSTNASID_FROM_KEY(key) ((short)(key >> KEY_HSTNASID_SHFT)) argument 346 #define GET_PCIBASE_FROM_KEY(key) (NODE_SWIN_BASE(GET_DEVNASID_FROM_KEY(key),\ argument [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | sysrq.c | 45 static void sysrq_handle_loglevel(int key, struct pt_regs *pt_regs, in sysrq_handle_loglevel() argument 48 i = key - '0'; in sysrq_handle_loglevel() 62 static void sysrq_handle_SAK(int key, struct pt_regs *pt_regs, in sysrq_handle_SAK() argument 77 static void sysrq_handle_unraw(int key, struct pt_regs *pt_regs, in sysrq_handle_unraw() argument 90 static void sysrq_handle_reboot(int key, struct pt_regs *pt_regs, in sysrq_handle_reboot() argument 220 static void sysrq_handle_sync(int key, struct pt_regs *pt_regs, in sysrq_handle_sync() argument 231 static void sysrq_handle_mountro(int key, struct pt_regs *pt_regs, in sysrq_handle_mountro() argument 247 static void sysrq_handle_showregs(int key, struct pt_regs *pt_regs, in sysrq_handle_showregs() argument 259 static void sysrq_handle_showstate(int key, struct pt_regs *pt_regs, in sysrq_handle_showstate() argument 270 static void sysrq_handle_showmem(int key, struct pt_regs *pt_regs, in sysrq_handle_showmem() argument [all …]
|
/linux-2.4.37.9/include/linux/ |
D | sysrq.h | 56 struct sysrq_key_op *__sysrq_get_key_op (int key); 57 void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p); 60 __sysrq_swap_key_ops_nolock(int key, struct sysrq_key_op *insert_op_p, in __sysrq_swap_key_ops_nolock() argument 64 if (__sysrq_get_key_op(key) == remove_op_p) { in __sysrq_swap_key_ops_nolock() 65 __sysrq_put_key_op(key, insert_op_p); in __sysrq_swap_key_ops_nolock() 74 __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, in __sysrq_swap_key_ops() argument 78 retval = __sysrq_swap_key_ops_nolock(key, insert_op_p, remove_op_p); in __sysrq_swap_key_ops() 83 static inline int register_sysrq_key(int key, struct sysrq_key_op *op_p) in register_sysrq_key() argument 85 return __sysrq_swap_key_ops(key, op_p, NULL); in register_sysrq_key() 88 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op_p) in unregister_sysrq_key() argument [all …]
|
D | reiserfs_fs.h | 427 struct key { struct 439 struct key on_disk_key; argument 459 #define KEY_SIZE (sizeof(struct key)) 492 struct key ih_key; 593 static inline loff_t le_key_k_offset (int version, const struct key * key) in le_key_k_offset() argument 596 le32_to_cpu( key->u.k_offset_v1.k_offset ) : in le_key_k_offset() 597 offset_v2_k_offset( &(key->u.k_offset_v2) ); in le_key_k_offset() 605 static inline loff_t le_key_k_type (int version, const struct key * key) in le_key_k_type() argument 608 uniqueness2type( le32_to_cpu( key->u.k_offset_v1.k_uniqueness)) : in le_key_k_type() 609 offset_v2_k_type( &(key->u.k_offset_v2) ); in le_key_k_type() [all …]
|
/linux-2.4.37.9/fs/reiserfs/ |
D | prints.c | 18 static char * reiserfs_cpu_offset (struct cpu_key * key) in reiserfs_cpu_offset() argument 20 if (cpu_key_k_type(key) == TYPE_DIRENTRY) in reiserfs_cpu_offset() 22 (unsigned long long)GET_HASH_VALUE (cpu_key_k_offset (key)), in reiserfs_cpu_offset() 23 (unsigned long long)GET_GENERATION_NUMBER (cpu_key_k_offset (key))); in reiserfs_cpu_offset() 25 sprintf (off_buf, "0x%Lx", (unsigned long long)cpu_key_k_offset (key)); in reiserfs_cpu_offset() 30 static char * le_offset (struct key * key) in le_offset() argument 34 version = le_key_version (key); in le_offset() 35 if (le_key_k_type (version, key) == TYPE_DIRENTRY) in le_offset() 37 (unsigned long long)GET_HASH_VALUE (le_key_k_offset (version, key)), in le_offset() 38 (unsigned long long)GET_GENERATION_NUMBER (le_key_k_offset (version, key))); in le_offset() [all …]
|
D | item_ops.c | 22 static void sd_decrement_key (struct cpu_key * key) in sd_decrement_key() argument 24 key->on_disk_key.k_objectid --; in sd_decrement_key() 25 set_cpu_key_k_type (key, TYPE_ANY); in sd_decrement_key() 26 set_cpu_key_k_offset(key, (loff_t)(-1)); in sd_decrement_key() 29 static int sd_is_left_mergeable (struct key * key, unsigned long bsize) in sd_is_left_mergeable() argument 140 static void direct_decrement_key (struct cpu_key * key) in direct_decrement_key() argument 142 cpu_key_k_offset_dec (key); in direct_decrement_key() 143 if (cpu_key_k_offset (key) == 0) in direct_decrement_key() 144 set_cpu_key_k_type (key, TYPE_STAT_DATA); in direct_decrement_key() 148 static int direct_is_left_mergeable (struct key * key, unsigned long bsize) in direct_is_left_mergeable() argument [all …]
|
D | inode.c | 62 static void _make_cpu_key (struct cpu_key * key, int version, __u32 dirid, __u32 objectid, in _make_cpu_key() argument 65 key->version = version; in _make_cpu_key() 67 key->on_disk_key.k_dir_id = dirid; in _make_cpu_key() 68 key->on_disk_key.k_objectid = objectid; in _make_cpu_key() 69 set_cpu_key_k_offset (key, offset); in _make_cpu_key() 70 set_cpu_key_k_type (key, type); in _make_cpu_key() 71 key->key_length = length; in _make_cpu_key() 77 void make_cpu_key (struct cpu_key * key, const struct inode * inode, loff_t offset, in make_cpu_key() argument 80 …_make_cpu_key (key, get_inode_item_key_version (inode), le32_to_cpu (INODE_PKEY (inode)->k_dir_id), in make_cpu_key() 89 inline void make_le_item_head (struct item_head * ih, const struct cpu_key * key, in make_le_item_head() argument [all …]
|
/linux-2.4.37.9/net/ipv4/ |
D | route.c | 255 r->key.tos, in rt_cache_get_info() 341 rth->key.iif && rth->u.rt_next; in rt_fast_clean() 386 if (!rt->key.iif || in rt_score() 671 if (memcmp(&rth->key, &rt->key, sizeof(rt->key)) == 0) { in rt_intern_hash() 718 if (rt->rt_type == RTN_UNICAST || rt->key.iif == 0) { in rt_intern_hash() 881 if (rth->key.dst != daddr || in ip_rt_redirect() 882 rth->key.src != skeys[i] || in ip_rt_redirect() 883 rth->key.tos != tos || in ip_rt_redirect() 884 rth->key.oif != ikeys[k] || in ip_rt_redirect() 885 rth->key.iif != 0) { in ip_rt_redirect() [all …]
|
D | fib_hash.c | 110 static __inline__ fn_hash_idx_t fn_hash(fn_key_t key, struct fn_zone *fz) in fn_hash() argument 112 u32 h = ntohl(key.datum)>>(32 - fz->fz_order); in fn_hash() 120 #define fz_key_0(key) ((key).datum = 0) argument 121 #define fz_prefix(key,fz) ((key).datum) argument 130 static __inline__ struct fib_node ** fz_chain_p(fn_key_t key, struct fn_zone *fz) in fz_chain_p() argument 132 return &fz->fz_hash[fn_hash(key, fz).datum]; in fz_chain_p() 135 static __inline__ struct fib_node * fz_chain(fn_key_t key, struct fn_zone *fz) in fz_chain() argument 137 return fz->fz_hash[fn_hash(key, fz).datum]; in fz_chain() 293 fn_hash_lookup(struct fib_table *tb, const struct rt_key *key, struct fib_result *res) in fn_hash_lookup() argument 302 fn_key_t k = fz_key(key->dst, fz); in fn_hash_lookup() [all …]
|
D | ip_nat_dumb.c | 120 struct rt_key key; in ip_do_nat() local 123 key.src = ciph->daddr; in ip_do_nat() 124 key.dst = ciph->saddr; in ip_do_nat() 125 key.iif = skb->dev->ifindex; in ip_do_nat() 126 key.oif = 0; in ip_do_nat() 128 key.tos = RT_TOS(ciph->tos); in ip_do_nat() 131 key.fwmark = 0; in ip_do_nat() 136 if (fib_lookup(&key, &res) == 0) { in ip_do_nat()
|
/linux-2.4.37.9/scripts/lxdialog/ |
D | msgbox.c | 32 int i, x, y, key = 0; in dialog_msgbox() local 75 while (key != ESC && key != '\n' && key != ' ' && in dialog_msgbox() 76 key != 'O' && key != 'o' && key != 'X' && key != 'x') in dialog_msgbox() 77 key = wgetch (dialog); in dialog_msgbox() 79 key = '\n'; in dialog_msgbox() 84 return key == ESC ? -1 : 0; in dialog_msgbox()
|
D | menubox.c | 172 int key = 0, button = 0, scroll = 0, choice = 0, first_item = 0, max_choice; in dialog_menu() local 277 while (key != ESC) { in dialog_menu() 278 key = wgetch(menu); in dialog_menu() 280 if (key < 256 && isalpha(key)) key = tolower(key); in dialog_menu() 282 if (strchr("ynm", key)) in dialog_menu() 287 if (key == tolower(items[(scroll+i)*2+1][j])) in dialog_menu() 293 if (key == tolower(items[(scroll+i)*2+1][j])) in dialog_menu() 299 key == KEY_UP || key == KEY_DOWN || in dialog_menu() 300 key == '-' || key == '+' || in dialog_menu() 301 key == KEY_PPAGE || key == KEY_NPAGE) { in dialog_menu() [all …]
|
D | checklist.c | 125 int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; in dialog_checklist() local 223 while (key != ESC) { in dialog_checklist() 224 key = wgetch (dialog); in dialog_checklist() 227 if (toupper(key) == toupper(items[(scroll+i)*3+1][0])) in dialog_checklist() 231 if ( i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() 232 key == '+' || key == '-' ) { in dialog_checklist() 233 if (key == KEY_UP || key == '-') { in dialog_checklist() 259 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist() 301 switch (key) { in dialog_checklist() 311 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist() [all …]
|
D | inputbox.c | 50 int input_x = 0, scroll = 0, key = 0, button = -1; in dialog_inputbox() local 123 while (key != ESC) { in dialog_inputbox() 124 key = wgetch (dialog); in dialog_inputbox() 127 switch (key) { in dialog_inputbox() 157 if (key < 0x100 && isprint (key)) { in dialog_inputbox() 160 instr[scroll + input_x] = key; in dialog_inputbox() 169 waddch (dialog, key); in dialog_inputbox() 178 switch (key) { in dialog_inputbox() 232 key = ESC; in dialog_inputbox()
|
/linux-2.4.37.9/fs/hfs/ |
D | dir.c | 32 static int build_key(struct hfs_cat_key *key, struct inode *dir, in build_key() argument 64 hfs_cat_build_key(HFS_I(dir)->entry->cnid, &cname, key); in build_key() 171 struct hfs_cat_key key; in hfs_create() local 176 if (build_key(&key, dir, dentry->d_name.name, dentry->d_name.len)) in hfs_create() 179 if ((error = hfs_cat_create(entry, &key, in hfs_create() 216 struct hfs_cat_key key; in hfs_mkdir() local 221 if (build_key(&key, parent, dentry->d_name.name, in hfs_mkdir() 226 if ((error = hfs_cat_mkdir(entry, &key, &new))) in hfs_mkdir() 256 struct hfs_cat_key key; in hfs_unlink() local 259 if (build_key(&key, dir, dentry->d_name.name, in hfs_unlink() [all …]
|
D | catalog.c | 131 const struct hfs_cat_key *key) in hashfn() argument 135 hash = (unsigned long) mdb | (unsigned long) key->ParID[3] | in hashfn() 136 hfs_strhash(key->CName.Name, key->CName.Len); in hashfn() 148 const struct hfs_cat_key *key) in hash() argument 150 return hash_table + hashfn(mdb, key); in hash() 155 struct list_head *head = hash(entry->mdb, &entry->key); in insert_hash() 448 HFS_BKEY(&entry->key), HFS_BFIND_WRITE); in write_entry() 453 if (brec.key->KeyLen != entry->key.KeyLen) { in write_entry() 458 memcpy(brec.key, &entry->key, in write_entry() 459 entry->key.KeyLen); in write_entry() [all …]
|
D | binsert.c | 61 const struct hfs_bkey *key, const void *data, in binsert_nonfull() argument 85 memcpy(start + 1, (hfs_u8 *)key + 1, keysize-1); in binsert_nonfull() 120 struct hfs_bkey *key; in add_root() local 155 key = bnode_key(root, 1); in add_root() 156 key->KeyLen = keylen; in add_root() 157 memcpy(key->value, in add_root() 159 hfs_put_hl(left->node, bkey_record(key)); in add_root() 163 key = bnode_key(root, 2); in add_root() 164 key->KeyLen = keylen; in add_root() 165 memcpy(key->value, in add_root() [all …]
|
D | bfind.c | 130 struct hfs_bkey *key; in hfs_bfind() local 164 key = belem_key(curr); in hfs_bfind() 165 if (!key->KeyLen) { in hfs_bfind() 170 result = (tree->compare)(target, key); in hfs_bfind() 207 if (key->KeyLen > tree->bthKeyLen) { in hfs_bfind() 234 brec->key = brec_key(brec); in hfs_bfind() 235 brec->data = bkey_record(brec->key); in hfs_bfind() 312 brec->key = belem_key(belem); in hfs_bsucc() 313 brec->data = bkey_record(brec->key); in hfs_bsucc() 315 if (brec->key->KeyLen > brec->tree->bthKeyLen) { in hfs_bsucc()
|
/linux-2.4.37.9/drivers/hil/ |
D | hil_kbd.c | 225 unsigned int key; in hil_kbd_process_record() local 227 key = kbd->data[cnt++]; in hil_kbd_process_record() 228 up = key & HIL_KBD_SET1_UPBIT; in hil_kbd_process_record() 229 key &= (~HIL_KBD_SET1_UPBIT & 0xff); in hil_kbd_process_record() 230 key = key >> HIL_KBD_SET1_SHIFT; in hil_kbd_process_record() 231 if (key != KEY_RESERVED && key != KEY_UNKNOWN) in hil_kbd_process_record() 232 input_report_key(dev, hil_kbd_set1[key], !up); in hil_kbd_process_record() 237 unsigned int key; in hil_kbd_process_record() local 239 key = kbd->data[cnt++]; in hil_kbd_process_record() 240 up = key & HIL_KBD_SET2_UPBIT; in hil_kbd_process_record() [all …]
|
/linux-2.4.37.9/drivers/net/sk98lin/ |
D | skvpd.c | 39 const char *key, 539 const char *key, /* keyword to find (e.g. "MN") */ in vpd_find_para() argument 549 ("VPD find para %s .. ",key)); in vpd_find_para() 558 if (strcmp(key, VPD_NAME) == 0) { in vpd_find_para() 568 if (SK_MEMCMP(key,v,2) == 0) { in vpd_find_para() 642 const char *key, /* keyword to insert */ in vpd_insert_key() argument 650 p->p_key[0] = key[0]; in vpd_insert_key() 651 p->p_key[1] = key[1]; in vpd_insert_key() 729 const char *key, /* keyword to insert */ in VpdSetupPara() argument 745 ("VPD setup para key = %s, val = %s\n",key,buf)); in VpdSetupPara() [all …]
|
/linux-2.4.37.9/net/decnet/ |
D | dn_route.c | 719 struct dn_fib_key key; in dn_route_output_slow() local 723 key.src = src; in dn_route_output_slow() 724 key.dst = dst; in dn_route_output_slow() 725 key.iif = 0; in dn_route_output_slow() 726 key.oif = 0; in dn_route_output_slow() 727 key.fwmark = 0; in dn_route_output_slow() 728 key.scope = RT_SCOPE_UNIVERSE; in dn_route_output_slow() 730 if ((err = dn_fib_lookup(&key, &res)) == 0) { in dn_route_output_slow() 739 dn_fib_select_multipath(&key, &res); in dn_route_output_slow() 796 rt->key.saddr = src; in dn_route_output_slow() [all …]
|