Home
last modified time | relevance | path

Searched refs:kern (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/net/bridge/netfilter/
Debt_mark_m.c49 struct ebt_mark_m_info *kern = dst; in mark_mt_compat_from_user() local
51 kern->mark = user->mark; in mark_mt_compat_from_user()
52 kern->mask = user->mask; in mark_mt_compat_from_user()
53 kern->invert = user->invert; in mark_mt_compat_from_user()
54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user()
60 const struct ebt_mark_m_info *kern = src; in mark_mt_compat_to_user() local
62 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user()
63 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user()
64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user()
65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
Debt_mark.c65 struct ebt_mark_t_info *kern = dst; in mark_tg_compat_from_user() local
67 kern->mark = user->mark; in mark_tg_compat_from_user()
68 kern->target = user->target; in mark_tg_compat_from_user()
74 const struct ebt_mark_t_info *kern = src; in mark_tg_compat_to_user() local
76 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user()
77 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
/kernel/linux/linux-5.10/arch/alpha/oprofile/
Dop_model_ev67.c132 op_add_pm(unsigned long pc, int kern, unsigned long counter, in op_add_pm() argument
139 oprofile_add_pc(pc, kern, fake_counter); in op_add_pm()
147 int kern = !user_mode(regs); in ev67_handle_interrupt() local
197 oprofile_add_pc(regs->pc, kern, which); in ev67_handle_interrupt()
199 op_add_pm(regs->pc, kern, which, in ev67_handle_interrupt()
206 op_add_pm(pmpc, kern, which, ctr, in ev67_handle_interrupt()
213 op_add_pm(pmpc, kern, which, ctr, PM_DTB_MISS); in ev67_handle_interrupt()
216 op_add_pm(pmpc, kern, which, ctr, PM_UNALIGNED); in ev67_handle_interrupt()
236 op_add_pm(pmpc, kern, which, ctr, PM_MISPREDICT); in ev67_handle_interrupt()
240 oprofile_add_pc(pmpc, kern, which); in ev67_handle_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_agpsupport.c62 struct agp_kern_info *kern; in drm_agp_info() local
67 kern = &dev->agp->agp_info; in drm_agp_info()
68 info->agp_version_major = kern->version.major; in drm_agp_info()
69 info->agp_version_minor = kern->version.minor; in drm_agp_info()
70 info->mode = kern->mode; in drm_agp_info()
71 info->aperture_base = kern->aper_base; in drm_agp_info()
72 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
73 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_agp_info()
74 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_agp_info()
75 info->id_vendor = kern->device->vendor; in drm_agp_info()
[all …]
/kernel/liteos_a/bsd/
DBUILD.gn36 "kern/bus_if.c",
37 "kern/device_if.c",
38 "kern/kern_condvar.c",
39 "kern/kern_timeout.c",
40 "kern/subr_bus.c",
41 "kern/subr_kobj.c",
80 "kern",
DMakefile34 LOCAL_SRCS := $(wildcard kern/*.c)
/kernel/linux/linux-5.10/net/nfc/
Daf_nfc.c19 int kern) in nfc_sock_create() argument
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dpppox.c115 int kern) in pppox_create() argument
129 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h123 #define mxl_printk(kern, fmt, arg...) \ argument
124 printk(kern "%s: " fmt "\n", __func__, ##arg)
/kernel/linux/linux-5.10/net/atm/
Dpvc.c134 int kern) in pvc_create() argument
140 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
Dsvc.c32 int kern);
323 bool kern) in svc_accept() argument
334 error = svc_create(sock_net(sk), newsock, 0, kern); in svc_accept()
657 int kern) in svc_create() argument
665 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dsocket.c593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create() argument
600 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in data_sock_create()
749 base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in base_sock_create() argument
758 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in base_sock_create()
774 mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern) in mISDN_sock_create() argument
780 err = base_sock_create(net, sock, proto, kern); in mISDN_sock_create()
794 err = data_sock_create(net, sock, proto, kern); in mISDN_sock_create()
/kernel/linux/linux-5.10/arch/um/drivers/
Dumcast_kern.c166 .kern = &umcast_kern_info,
176 .kern = &umcast_kern_info,
Ddaemon_kern.c84 .kern = &daemon_kern_info,
/kernel/linux/linux-5.10/include/linux/
Dnet.h150 struct socket *newsock, int flags, bool kern);
211 int protocol, int kern);
230 struct socket **res, int kern);
Dif_pppox.h73 int (*create)(struct net *net, struct socket *sock, int kern);
/kernel/linux/linux-5.10/crypto/
Dalgif_hash.c231 bool kern) in hash_accept() argument
252 err = af_alg_accept(ask->parent, newsock, kern); in hash_accept()
364 int flags, bool kern) in hash_accept_nokey() argument
372 return hash_accept(sock, newsock, flags, kern); in hash_accept_nokey()
Daf_alg.c277 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) in af_alg_accept() argument
292 sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto, kern); in af_alg_accept()
339 bool kern) in alg_accept() argument
341 return af_alg_accept(sock->sk, newsock, kern); in alg_accept()
373 int kern) in alg_create() argument
384 sk = sk_alloc(net, PF_ALG, GFP_KERNEL, &alg_proto, kern); in alg_create()
/kernel/linux/linux-5.10/net/bluetooth/bnep/
Dsock.c198 int kern) in bnep_sock_create() argument
207 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &bnep_proto, kern); in bnep_sock_create()
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dsock.c201 int kern) in cmtp_sock_create() argument
210 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern); in cmtp_sock_create()
/kernel/linux/linux-5.10/arch/um/include/shared/
Dnet_kern.h57 const struct net_kern_info *kern; member
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dusb3-debug-port.rst74 # tail -f /var/log/kern.log
129 root@target: tail -f /var/log/kern.log
142 root@host: tail -f /var/log/kern.log
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dsock.c249 int kern) in hidp_sock_create() argument
258 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern); in hidp_sock_create()
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/
Dtuntap_kern.c75 .kern = &tuntap_kern_info,

12345