Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 29) sorted by relevance

12

/include/linux/
Djhash.h73 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 …]
Dzutil.h84 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()
Dklist.h36 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,
Dkthread.h40 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);
Dkey.h370 #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
Dkobject.h206 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()
Dmempolicy.h158 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
Dfilter.h517 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()
Dworkqueue.h151 #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
Dslab.h608 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()
Dsysfs.h418 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/
Dbcache.h11 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 …]
Dfilter.h27 __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
Dgsmmux.h19 unsigned int k; member
/include/asm-generic/
Dtermios.h70 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 …]
Dtermios-base.h65 #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
Duaccess.h181 #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/
Dmatrix_keypad.h15 #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/
Dsh_mmcif.h137 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/
Dbcache.h41 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/
Darm_vgic.h350 #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/
Ddes.h17 extern unsigned long des_ekey(u32 *pe, const u8 *k);
Dtwofish.h17 u32 s[4][256], w[8], k[32]; member
/include/sound/
Dsoc-topology.h105 struct snd_kcontrol *k, int event);
/include/net/
Dllc_conn.h54 u8 k; /* tx window size; max = 127 */ member

12