/include/linux/ |
D | jhash.h | 73 const u8 *k = key; in jhash() local 80 a += __get_unaligned_cpu32(k); in jhash() 81 b += __get_unaligned_cpu32(k + 4); in jhash() 82 c += __get_unaligned_cpu32(k + 8); in jhash() 85 k += 12; in jhash() 90 case 12: c += (u32)k[11]<<24; in jhash() 91 case 11: c += (u32)k[10]<<16; in jhash() 92 case 10: c += (u32)k[9]<<8; in jhash() 93 case 9: c += k[8]; in jhash() 94 case 8: b += (u32)k[7]<<24; in jhash() [all …]
|
D | zutil.h | 84 int k; in zlib_adler32() local 89 k = len < NMAX ? len : NMAX; in zlib_adler32() 90 len -= k; in zlib_adler32() 91 while (k >= 16) { in zlib_adler32() 94 k -= 16; in zlib_adler32() 96 if (k != 0) do { in zlib_adler32() 99 } while (--k); in zlib_adler32()
|
D | klist.h | 36 extern void klist_init(struct klist *k, void (*get)(struct klist_node *), 45 extern void klist_add_tail(struct klist_node *n, struct klist *k); 46 extern void klist_add_head(struct klist_node *n, struct klist *k); 62 extern void klist_iter_init(struct klist *k, struct klist_iter *i); 63 extern void klist_iter_init_node(struct klist *k, struct klist_iter *i,
|
D | kthread.h | 40 void kthread_bind(struct task_struct *k, unsigned int cpu); 41 void kthread_bind_mask(struct task_struct *k, const struct cpumask *mask); 42 int kthread_stop(struct task_struct *k); 46 void *kthread_data(struct task_struct *k); 47 void *probe_kthread_data(struct task_struct *k); 48 int kthread_park(struct task_struct *k); 49 void kthread_unpark(struct task_struct *k);
|
D | key.h | 370 #define key_validate(k) 0 argument 371 #define key_serial(k) 0 argument 372 #define key_get(k) ({ NULL; }) argument 373 #define key_revoke(k) do { } while(0) argument 374 #define key_invalidate(k) do { } while(0) argument 375 #define key_put(k) do { } while(0) argument 376 #define key_ref_put(k) do { } while(0) argument 377 #define make_key_ref(k, p) NULL argument 378 #define key_ref_to_ptr(k) NULL argument 379 #define is_key_possessed(k) 0 argument
|
D | kobject.h | 206 static inline struct kset *kset_get(struct kset *k) in kset_get() argument 208 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get() 211 static inline void kset_put(struct kset *k) in kset_put() argument 213 kobject_put(&k->kobj); in kset_put()
|
D | mempolicy.h | 158 static inline void check_highest_zone(enum zone_type k) in check_highest_zone() argument 160 if (k > policy_zone && k != ZONE_MOVABLE) in check_highest_zone() 161 policy_zone = k; in check_highest_zone() 277 static inline void check_highest_zone(int k) in check_highest_zone() argument
|
D | filter.h | 517 if (first->k == SKF_AD_OFF + SKF_AD_ALU_XOR_X) in bpf_needs_clear_a() 536 switch (ftest->k) { in bpf_anc_helper() 561 int k, unsigned int size); 563 static inline void *bpf_load_pointer(const struct sk_buff *skb, int k, in bpf_load_pointer() argument 566 if (k >= 0) in bpf_load_pointer() 567 return skb_header_pointer(skb, k, size, buffer); in bpf_load_pointer() 569 return bpf_internal_load_pointer_neg_helper(skb, k, size); in bpf_load_pointer()
|
D | workqueue.h | 151 #define __WORK_INIT_LOCKDEP_MAP(n, k) \ argument 152 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k), 154 #define __WORK_INIT_LOCKDEP_MAP(n, k) argument
|
D | slab.h | 608 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc() argument 610 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
|
D | sysfs.h | 418 static inline int sysfs_rename_link_ns(struct kobject *k, struct kobject *t, in sysfs_rename_link_ns() argument 425 static inline void sysfs_delete_link(struct kobject *k, struct kobject *t, in sysfs_delete_link() argument
|
/include/uapi/linux/ |
D | bcache.h | 11 static inline __u64 name(const type *k) \ 12 { return (k->field >> offset) & ~(~0ULL << size); } \ 14 static inline void SET_##name(type *k, __u64 v) \ 16 k->field &= ~(~(~0ULL << size) << offset); \ 17 k->field |= (v & ~(~0ULL << size)) << offset; \ 32 static inline __u64 name(const struct bkey *k, unsigned i) \ 33 { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \ 35 static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) \ 37 k->ptr[i] &= ~(~(~0ULL << size) << offset); \ 38 k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \ [all …]
|
D | filter.h | 27 __u32 k; /* Generic multiuse field */ member 48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument 51 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
D | gsmmux.h | 19 unsigned int k; member
|
/include/asm-generic/ |
D | termios.h | 70 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() argument 73 return copy_from_user(k, u, sizeof(struct termios2)); in user_termios_to_kernel_termios() 77 struct ktermios *k) in kernel_termios_to_user_termios() argument 79 return copy_to_user(u, k, sizeof(struct termios2)); in kernel_termios_to_user_termios() 82 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1() argument 85 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios_1() 89 struct ktermios *k) in kernel_termios_to_user_termios_1() argument 91 return copy_to_user(u, k, sizeof(struct termios)); in kernel_termios_to_user_termios_1() 94 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() argument 97 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios() [all …]
|
D | termios-base.h | 65 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) argument 69 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) argument 72 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument 73 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
|
D | uaccess.h | 181 #define __put_user_fn(sz, u, k) __put_user_fn(sz, u, k) argument 247 #define __get_user_fn(sz, u, k) __get_user_fn(sz, u, k) argument
|
/include/linux/input/ |
D | matrix_keypad.h | 15 #define KEY_ROW(k) (((k) >> 24) & 0xff) argument 16 #define KEY_COL(k) (((k) >> 16) & 0xff) argument 17 #define KEY_VAL(k) ((k) & 0xffff) argument
|
/include/linux/mmc/ |
D | sh_mmcif.h | 137 int k; in sh_mmcif_boot_do_read_single() local 150 for (k = 0; k < (SH_MMCIF_BBS / 4); k++) in sh_mmcif_boot_do_read_single() 151 buf[k] = sh_mmcif_readl(base, MMCIF_CE_DATA); in sh_mmcif_boot_do_read_single() 161 unsigned long k; in sh_mmcif_boot_do_read() local 178 for (k = 0; !ret && k < nr_blocks; k++) in sh_mmcif_boot_do_read() 179 ret = sh_mmcif_boot_do_read_single(base, first_block + k, in sh_mmcif_boot_do_read() 180 buf + (k * SH_MMCIF_BBS)); in sh_mmcif_boot_do_read()
|
/include/trace/events/ |
D | bcache.h | 41 TP_PROTO(struct bkey *k), 42 TP_ARGS(k), 52 __entry->inode = KEY_INODE(k); 53 __entry->offset = KEY_OFFSET(k); 54 __entry->size = KEY_SIZE(k); 55 __entry->dirty = KEY_DIRTY(k); 187 TP_PROTO(struct bkey *k), 188 TP_ARGS(k) 209 TP_PROTO(struct bkey *k), 210 TP_ARGS(k) [all …]
|
/include/kvm/ |
D | arm_vgic.h | 350 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) argument 351 #define vgic_initialized(k) (!!((k)->arch.vgic.nr_cpus)) argument 352 #define vgic_ready(k) ((k)->arch.vgic.ready) argument
|
/include/crypto/ |
D | des.h | 17 extern unsigned long des_ekey(u32 *pe, const u8 *k);
|
D | twofish.h | 17 u32 s[4][256], w[8], k[32]; member
|
/include/sound/ |
D | soc-topology.h | 105 struct snd_kcontrol *k, int event);
|
/include/net/ |
D | llc_conn.h | 54 u8 k; /* tx window size; max = 127 */ member
|