Home
last modified time | relevance | path

Searched refs:defer (Results 1 – 25 of 61) sorted by relevance

123

/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py12 from lib.py import ethtool, ip, defer, GenerateTraffic, CmdExitFailure
135 reset_indir = defer(ethtool, f"-X {cfg.ifname} default")
192 defer(ethtool, f"-L {cfg.ifname} combined {qcnt}")
202 defer(ethtool, f"-X {cfg.ifname} {ctx_ref} delete")
223 defer(ethtool, f"-X {cfg.ifname} default")
228 defer(ethtool, f"-N {cfg.ifname} delete {ntuple}")
293 defer(ethtool, f"-L {cfg.ifname} combined {qcnt}")
296 defer(ethtool, f"-X {cfg.ifname} default")
356 defer(ethtool, f"-X {cfg.ifname} context {ids[-1]} delete")
359 defer(ethtool, f"-X {cfg.ifname} context {ids[-1]} delete")
[all …]
/linux/net/core/
H A Dgro_cells.c99 struct percpu_free_defer *defer; in percpu_free_defer_callback() local
101 defer = container_of(head, struct percpu_free_defer, rcu); in percpu_free_defer_callback()
102 free_percpu(defer->ptr); in percpu_free_defer_callback()
103 kfree(defer); in percpu_free_defer_callback()
108 struct percpu_free_defer *defer; in gro_cells_destroy() local
126 defer = kmalloc(sizeof(*defer), GFP_KERNEL | __GFP_NOWARN); in gro_cells_destroy()
127 if (likely(defer)) { in gro_cells_destroy()
128 defer->ptr = gcells->cells; in gro_cells_destroy()
129 call_rcu(&defer->rcu, percpu_free_defer_callback); in gro_cells_destroy()
H A Ddev.h169 static inline void napi_set_defer_hard_irqs(struct napi_struct *n, u32 defer) in napi_set_defer_hard_irqs() argument
171 WRITE_ONCE(n->defer_hard_irqs, defer); in napi_set_defer_hard_irqs()
180 u32 defer) in netdev_set_defer_hard_irqs() argument
187 WRITE_ONCE(netdev->napi_defer_hard_irqs, defer); in netdev_set_defer_hard_irqs()
189 napi_set_defer_hard_irqs(napi, defer); in netdev_set_defer_hard_irqs()
192 netdev->napi_config[i].defer_hard_irqs = defer; in netdev_set_defer_hard_irqs()
H A Dnetdev-genl.c322 u32 defer = 0; in netdev_nl_napi_set_config() local
325 defer = nla_get_u32(info->attrs[NETDEV_A_NAPI_DEFER_HARD_IRQS]); in netdev_nl_napi_set_config()
326 napi_set_defer_hard_irqs(napi, defer); in netdev_nl_napi_set_config()
/linux/drivers/clk/baikal-t1/
H A Dclk-ccu-pll.c148 static int ccu_pll_clk_register(struct ccu_pll_data *data, bool defer) in ccu_pll_clk_register() argument
157 if (!!(info->features & CCU_PLL_BASIC) ^ defer) { in ccu_pll_clk_register()
186 if (!!(pll_info[idx].features & CCU_PLL_BASIC) ^ defer) in ccu_pll_clk_register()
195 static void ccu_pll_clk_unregister(struct ccu_pll_data *data, bool defer) in ccu_pll_clk_unregister() argument
201 if (!!(pll_info[idx].features & CCU_PLL_BASIC) ^ defer) in ccu_pll_clk_unregister()
H A Dclk-ccu-div.c344 static int ccu_div_clk_register(struct ccu_div_data *data, bool defer) in ccu_div_clk_register() argument
352 if (!!(info->features & CCU_DIV_BASIC) ^ defer) { in ccu_div_clk_register()
395 if (!!(data->divs_info[idx].features & CCU_DIV_BASIC) ^ defer) in ccu_div_clk_register()
404 static void ccu_div_clk_unregister(struct ccu_div_data *data, bool defer) in ccu_div_clk_unregister() argument
410 if (!!(data->divs_info[idx].features & CCU_DIV_BASIC) ^ defer) in ccu_div_clk_unregister()
/linux/tools/testing/selftests/drivers/net/
H A Dqueues.py8 from lib.py import cmd, defer, ip
70 defer(ip, f"link set dev {cfg.dev['ifname']} up")
H A Dstats.py10 from lib.py import ip, defer
166 defer(ip, f"link set dev {cfg.dev['ifname']} up")
/linux/tools/testing/selftests/net/
H A Dlib.sh451 defer ip link del dev "$name"
460 defer ip link set dev "$member" nomaster
/linux/fs/nfs/
H A Dcache_lib.c103 dreq->req.defer = nfs_dns_cache_defer; in nfs_cache_defer_req_alloc()
H A Ddirect.c849 bool defer = false; in nfs_direct_write_schedule_iovec() local
895 if (defer) { in nfs_direct_write_schedule_iovec()
919 defer = true; in nfs_direct_write_schedule_iovec()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c142 enum br_ctx_signal_state css, u16 addr, u8 defer) in __emit_br() argument
154 FIELD_PREP(OP_BR_DEFBR, defer) | in __emit_br()
162 emit_br_relo(struct nfp_prog *nfp_prog, enum br_mask mask, u16 addr, u8 defer, in emit_br_relo() argument
165 if (mask == BR_UNC && defer > 2) { in emit_br_relo()
166 pr_err("BUG: branch defer out of bounds %d\n", defer); in emit_br_relo()
173 BR_CSS_NONE, addr, defer); in emit_br_relo()
180 emit_br(struct nfp_prog *nfp_prog, enum br_mask mask, u16 addr, u8 defer) in emit_br() argument
182 emit_br_relo(nfp_prog, mask, addr, defer, RELO_BR_REL); in emit_br()
186 __emit_br_bit(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 addr, u8 defer, in __emit_br_bit() argument
199 FIELD_PREP(OP_BR_BIT_DEFBR, defer) | in __emit_br_bit()
[all …]
/linux/include/net/
H A Drose.h138 unsigned char state, condition, qbitincl, defer; member
/linux/net/rose/
H A Daf_rose.c413 rose->defer = opt ? 1 : 0; in rose_setsockopt()
474 val = rose->defer; in rose_getsockopt()
628 rose->defer = orose->defer; in rose_make_new()
1074 if (rose_sk(sk)->defer) { in rose_rx_call_request()
/linux/tools/testing/selftests/net/lib/py/
H A Dutils.py72 class defer: class
/linux/drivers/gpio/
H A Dgpiolib-acpi.c528 bool defer; in acpi_gpiochip_request_interrupts() local
548 defer = !acpi_gpio_deferred_req_irqs_done; in acpi_gpiochip_request_interrupts()
549 if (defer) in acpi_gpiochip_request_interrupts()
554 if (defer) in acpi_gpiochip_request_interrupts()
/linux/include/linux/sunrpc/
H A Dcache.h133 struct cache_deferred_req *(*defer)(struct cache_req *req); member
/linux/drivers/net/ethernet/amd/
H A Dnmclan_cs.c320 int defer; member
1002 lp->mace_stats.defer++; in mace_interrupt()
1172 pstats->one, pstats->defer); in pr_mace_stats()
/linux/drivers/net/hippi/
H A Drrunner.c947 goto defer; in rx_int()
960 goto defer; in rx_int()
999 goto defer; in rx_int()
1009 defer: in rx_int()
/linux/Documentation/infiniband/
H A Dcore_locking.rst73 driver should defer this callback by, for example, scheduling a
/linux/drivers/net/ethernet/atheros/atlx/
H A Datl2.h244 unsigned defer:1; /* current packet is xmitted with defer */ member
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c386 bool defer; in iwl_set_tx_power() local
420 defer = test_bit(STATUS_SCANNING, &priv->status) || in iwl_set_tx_power()
422 if (defer && !force) { in iwl_set_tx_power()
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst159 echo defer >/sys/kernel/mm/transparent_hugepage/defrag
160 echo defer+madvise >/sys/kernel/mm/transparent_hugepage/defrag
171 defer
177 defer+madvise
/linux/mm/
H A Dswapfile.c3059 struct swap_info_struct *defer = NULL; in alloc_swap_info() local
3093 defer = p; in alloc_swap_info()
3106 if (defer) { in alloc_swap_info()
3107 percpu_ref_exit(&defer->users); in alloc_swap_info()
3108 kvfree(defer); in alloc_swap_info()
/linux/Documentation/driver-api/
H A Ddevice_link.rst64 presence of the supplier after adding the link, and defer probing on
144 probing) or never. Consequently it cannot be determined whether to defer

123