/Linux-v6.1/fs/nfsd/ |
D | filecache.c | 111 const struct nfsd_file *nf = data; in nfsd_file_obj_hashfn() local 113 return nfsd_file_inode_hash(nf->nf_inode, seed); in nfsd_file_obj_hashfn() 149 const struct nfsd_file *nf = ptr; in nfsd_file_obj_cmpfn() local 153 if (nf->nf_inode != key->inode) in nfsd_file_obj_cmpfn() 157 if (nf->nf_inode != key->inode) in nfsd_file_obj_cmpfn() 159 if (nf->nf_may != key->need) in nfsd_file_obj_cmpfn() 161 if (nf->nf_net != key->net) in nfsd_file_obj_cmpfn() 163 if (!nfsd_match_cred(nf->nf_cred, key->cred)) in nfsd_file_obj_cmpfn() 165 if (test_bit(NFSD_FILE_HASHED, &nf->nf_flags) == 0) in nfsd_file_obj_cmpfn() 198 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu); in nfsd_file_slab_free() local [all …]
|
D | trace.h | 823 TP_PROTO(struct nfsd_file *nf), 824 TP_ARGS(nf), 833 __entry->nf_inode = nf->nf_inode; 834 __entry->nf_ref = refcount_read(&nf->nf_ref); 835 __entry->nf_flags = nf->nf_flags; 836 __entry->nf_may = nf->nf_may; 837 __entry->nf_file = nf->nf_file; 849 TP_PROTO(struct nfsd_file *nf), \ 850 TP_ARGS(nf)) 859 const struct nfsd_file *nf [all …]
|
D | filecache.h | 54 void nfsd_file_put(struct nfsd_file *nf); 55 void nfsd_file_close(struct nfsd_file *nf); 56 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | calib.c | 73 s16 nf) in ath9k_hw_getchan_noise() argument 77 if (nf) { in ath9k_hw_getchan_noise() 78 s8 delta = nf - ATH9K_NF_CAL_NOISE_THRESH - in ath9k_hw_getchan_noise() 147 * Re-enable the enforcement of the NF maximum again. in ath9k_hw_update_nfcal_hist_buffer() 285 * stop NF cal if ongoing to ensure NF load completes immediately in ath9k_hw_loadnf() 295 * Load software filtered NF value into baseband internal minCCApwr in ath9k_hw_loadnf() 319 * Restart NF so it can continue. in ath9k_hw_loadnf() 339 * here, the baseband nf cal will just be capped by our present in ath9k_hw_loadnf() 344 "Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x%x\n", in ath9k_hw_loadnf() 371 static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) in ath9k_hw_nf_sanitize() argument [all …]
|
D | ar9002_phy.c | 334 int16_t nf; in ar9002_hw_do_getnf() local 336 nf = MS(REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9002_hw_do_getnf() 337 nfarray[0] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 339 nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9002_hw_do_getnf() 341 nfarray[3] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 346 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9002_hw_do_getnf() 347 nfarray[1] = sign_extend32(nf, 8); in ar9002_hw_do_getnf() 349 nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR9280_PHY_CH1_EXT_MINCCA_PWR); in ar9002_hw_do_getnf() 351 nfarray[4] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
|
/Linux-v6.1/net/netfilter/ |
D | nf_log.c | 49 if (pf == NFPROTO_UNSPEC || pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_set() 53 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set() 55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set() 70 log = nft_log_dereference(net->nf.nf_loggers[i]); in nf_log_unset() 72 RCU_INIT_POINTER(net->nf.nf_loggers[i], NULL); in nf_log_unset() 84 if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers)) in nf_log_register() 131 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_bind_pf() 138 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_bind_pf() 146 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_unbind_pf() 149 RCU_INIT_POINTER(net->nf.nf_loggers[pf], NULL); in nf_log_unbind_pf() [all …]
|
D | core.c | 275 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_arp) <= hooknum)) in nf_hook_entry_head() 277 return net->nf.hooks_arp + hooknum; in nf_hook_entry_head() 281 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_bridge) <= hooknum)) in nf_hook_entry_head() 283 return net->nf.hooks_bridge + hooknum; in nf_hook_entry_head() 296 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv4) <= hooknum)) in nf_hook_entry_head() 298 return net->nf.hooks_ipv4 + hooknum; in nf_hook_entry_head() 300 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv6) <= hooknum)) in nf_hook_entry_head() 302 return net->nf.hooks_ipv6 + hooknum; in nf_hook_entry_head() 739 __netfilter_net_init(net->nf.hooks_ipv4, ARRAY_SIZE(net->nf.hooks_ipv4)); in netfilter_net_init() 740 __netfilter_net_init(net->nf.hooks_ipv6, ARRAY_SIZE(net->nf.hooks_ipv6)); in netfilter_net_init() [all …]
|
D | nfnetlink_hook.c | 195 if (hook >= ARRAY_SIZE(net->nf.hooks_ipv4)) in nfnl_hook_entries_head() 197 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head() 200 if (hook >= ARRAY_SIZE(net->nf.hooks_ipv6)) in nfnl_hook_entries_head() 202 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nfnl_hook_entries_head() 206 if (hook >= ARRAY_SIZE(net->nf.hooks_arp)) in nfnl_hook_entries_head() 208 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nfnl_hook_entries_head() 213 if (hook >= ARRAY_SIZE(net->nf.hooks_bridge)) in nfnl_hook_entries_head() 215 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nfnl_hook_entries_head()
|
/Linux-v6.1/drivers/media/pci/ivtv/ |
D | ivtv-yuv.c | 968 struct yuv_frame_info *nf = &yi->new_frame_info[frame]; in ivtv_yuv_setup_frame() local 973 int update = nf->update; in ivtv_yuv_setup_frame() 976 nf->src_x = args->src.left; in ivtv_yuv_setup_frame() 977 nf->src_y = args->src.top; in ivtv_yuv_setup_frame() 978 nf->src_w = args->src.width; in ivtv_yuv_setup_frame() 979 nf->src_h = args->src.height; in ivtv_yuv_setup_frame() 980 nf->dst_x = args->dst.left; in ivtv_yuv_setup_frame() 981 nf->dst_y = args->dst.top; in ivtv_yuv_setup_frame() 982 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame() 983 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame() [all …]
|
/Linux-v6.1/net/ipv4/netfilter/ |
D | nf_defrag_ipv4.c | 109 if (net->nf.defrag_ipv4_users) { in defrag4_net_exit() 112 net->nf.defrag_ipv4_users = 0; in defrag4_net_exit() 135 if (net->nf.defrag_ipv4_users == UINT_MAX) { in nf_defrag_ipv4_enable() 140 if (net->nf.defrag_ipv4_users) { in nf_defrag_ipv4_enable() 141 net->nf.defrag_ipv4_users++; in nf_defrag_ipv4_enable() 148 net->nf.defrag_ipv4_users = 1; in nf_defrag_ipv4_enable() 159 if (net->nf.defrag_ipv4_users) { in nf_defrag_ipv4_disable() 160 net->nf.defrag_ipv4_users--; in nf_defrag_ipv4_disable() 161 if (net->nf.defrag_ipv4_users == 0) in nf_defrag_ipv4_disable()
|
/Linux-v6.1/net/ipv6/netfilter/ |
D | nf_defrag_ipv6_hooks.c | 92 if (net->nf.defrag_ipv6_users) { in defrag6_net_exit() 95 net->nf.defrag_ipv6_users = 0; in defrag6_net_exit() 136 if (net->nf.defrag_ipv6_users == UINT_MAX) { in nf_defrag_ipv6_enable() 141 if (net->nf.defrag_ipv6_users) { in nf_defrag_ipv6_enable() 142 net->nf.defrag_ipv6_users++; in nf_defrag_ipv6_enable() 149 net->nf.defrag_ipv6_users = 1; in nf_defrag_ipv6_enable() 160 if (net->nf.defrag_ipv6_users) { in nf_defrag_ipv6_disable() 161 net->nf.defrag_ipv6_users--; in nf_defrag_ipv6_disable() 162 if (net->nf.defrag_ipv6_users == 0) in nf_defrag_ipv6_disable()
|
/Linux-v6.1/drivers/platform/surface/aggregator/ |
D | controller.c | 150 struct ssam_event_notifier *nf; in ssam_nfblk_call_chain() local 155 list_for_each_entry_rcu(nf, &nh->head, base.node, in ssam_nfblk_call_chain() 157 if (ssam_event_matches_notifier(nf, event)) { in ssam_nfblk_call_chain() 158 ret = (ret & SSAM_NOTIF_STATE_MASK) | nf->base.fn(nf, event); in ssam_nfblk_call_chain() 300 * @nf: The notifier system reference. 308 * Note: ``nf->lock`` must be held when calling this function. 315 ssam_nf_refcount_inc(struct ssam_nf *nf, struct ssam_event_registry reg, in ssam_nf_refcount_inc() argument 320 struct rb_node **link = &nf->refcount.rb_node; in ssam_nf_refcount_inc() 324 lockdep_assert_held(&nf->lock); in ssam_nf_refcount_inc() 355 rb_insert_color(&entry->node, &nf->refcount); in ssam_nf_refcount_inc() [all …]
|
/Linux-v6.1/drivers/platform/surface/ |
D | surface_aggregator_cdev.c | 53 struct ssam_event_notifier nf; member 93 static u32 ssam_cdev_notifier(struct ssam_event_notifier *nf, const struct ssam_event *in) in ssam_cdev_notifier() argument 95 struct ssam_cdev_notifier *cdev_nf = container_of(nf, struct ssam_cdev_notifier, nf); in ssam_cdev_notifier() 139 struct ssam_cdev_notifier *nf; in ssam_cdev_notifier_register() local 157 nf = kzalloc(sizeof(*nf), GFP_KERNEL); in ssam_cdev_notifier_register() 158 if (!nf) { in ssam_cdev_notifier_register() 169 nf->client = client; in ssam_cdev_notifier_register() 170 nf->nf.base.fn = ssam_cdev_notifier; in ssam_cdev_notifier_register() 171 nf->nf.base.priority = priority; in ssam_cdev_notifier_register() 172 nf->nf.event.id.target_category = tc; in ssam_cdev_notifier_register() [all …]
|
/Linux-v6.1/drivers/clk/baikal-t1/ |
D | ccu-pll.c | 76 unsigned long nf, in ccu_pll_calc_freq() argument 82 tmp *= nf; in ccu_pll_calc_freq() 156 unsigned long nr, nf, od; in ccu_pll_recalc_rate() local 161 nf = FIELD_GET(CCU_PLL_CTL_CLKF_MASK, val) + 1; in ccu_pll_recalc_rate() 164 return ccu_pll_calc_freq(parent_rate, nr, nf, od); in ccu_pll_recalc_rate() 168 unsigned long *nr, unsigned long *nf, in ccu_pll_calc_factors() argument 184 * Find a closest [nr;nf;od] vector taking into account the in ccu_pll_calc_factors() 225 *nf = n1; in ccu_pll_calc_factors() 234 unsigned long nr = 1, nf = 1, od = 1; in ccu_pll_round_rate() local 236 ccu_pll_calc_factors(rate, *parent_rate, &nr, &nf, &od); in ccu_pll_round_rate() [all …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-jpeg.c | 132 static int v4l2_jpeg_decode_subsampling(u8 nf, u8 h_v) in v4l2_jpeg_decode_subsampling() argument 134 if (nf == 1) in v4l2_jpeg_decode_subsampling() 138 if (nf == 4 && h_v != 0x11) in v4l2_jpeg_decode_subsampling() 162 /* Lf = 8 + 3 * Nf, Nf >= 1 */ in jpeg_parse_frame_header() 168 int p, y, x, nf; in jpeg_parse_frame_header() local 193 nf = jpeg_get_byte(stream); in jpeg_parse_frame_header() 194 if (nf < 0) in jpeg_parse_frame_header() 195 return nf; in jpeg_parse_frame_header() 197 * The spec allows 1 <= Nf <= 255, but we only support up to 4 in jpeg_parse_frame_header() 200 if (nf < 1 || nf > V4L2_JPEG_MAX_COMPONENTS) in jpeg_parse_frame_header() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | nf_conntrack-sysctl.rst | 195 TCP connections may be offloaded from nf conntrack to nf flow table. 196 Once aged, the connection is returned to nf conntrack with tcp pickup timeout. 202 UDP connections may be offloaded from nf conntrack to nf flow table. 203 Once aged, the connection is returned to nf conntrack with udp pickup timeout.
|
/Linux-v6.1/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
D | modify_srcu.awk | 182 while (NF > 0) { 183 if ($1 == "struct" && NF < 3) { 267 if (brace_nesting > 0 && $1 ~ "^[[:alnum:]_]+$" && NF < 2) { 280 if ($1 == "static" && NF < 3) { 292 if ($1 == "smp_mb" && NF < 2) { 319 if (NF < 2) 328 while (NF < 5) 332 while (NF < 3) 338 if ($1 ~ /^(unsigned|long)$/ && NF < 3) {
|
/Linux-v6.1/scripts/ |
D | ver_linux | 41 if ($NF ~ libc || $NF ~ libcpp) 42 if (!seen[ver = version("readlink " $NF)]++) 43 printversion("Linux C" ($NF ~ libcpp? "++" : "") " Library", ver)
|
/Linux-v6.1/tools/testing/selftests/netfilter/ |
D | nft_queue.sh | 225 # spawn nf-queue listeners 226 ip netns exec ${nsrouter} ./nf-queue -c -q 0 -t $timeout > "$TMPFILE0" & 227 ip netns exec ${nsrouter} ./nf-queue -c -q 1 -t $timeout > "$TMPFILE1" & 262 ip netns exec ${nsrouter} ./nf-queue -q 2 -t $timeout & 288 ip netns exec ${nsrouter} ./nf-queue -q 3 -t $timeout & 306 ip netns exec ${nsrouter} ./nf-queue -q 3 -t $timeout & 337 ip netns exec ${nsrouter} ./nf-queue -c -q 1 -t $timeout > "$TMPFILE2" & 341 ip netns exec ${nsrouter} ./nf-queue -G -d 150 -c -q 0 -Q 1 -t $timeout > "$TMPFILE3" & 383 ip netns exec ${ns1} ./nf-queue -q 1 -t $timeout &
|
/Linux-v6.1/Documentation/driver-api/surface_aggregator/ |
D | client.rst | 348 u32 notifier_callback(struct ssam_event_notifier *nf, 360 struct ssam_event_notifier *nf) 363 nf->base.priority = 1; 366 nf->base.fn = notifier_callback; 369 nf->event.reg = SSAM_EVENT_REGISTRY_KIP; 372 nf->event.id.target_category = sdev->uid.category; 373 nf->event.id.instance = sdev->uid.instance; 380 nf->event.mask = SSAM_EVENT_MASK_STRICT; 383 nf->event.flags = SSAM_EVENT_SEQUENCED; 385 return ssam_notifier_register(sdev->ctrl, nf);
|
/Linux-v6.1/arch/arm64/tools/ |
D | gen-sysreg.awk | 28 function expect_fields(nf) { 29 if (NF != nf) 30 fatal(NF " fields found where " nf " expected")
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | oaktrail_hdmi.c | 106 struct intel_range vco, np, nr, nf; member 112 int nf; member 129 .nf = { .min = NF_MIN, .max = NF_MAX }, 180 int np, nr, nf; in oaktrail_hdmi_find_dpll() local 198 nf = DIV_ROUND_CLOSEST((target * 10 * np * nr), refclk); in oaktrail_hdmi_find_dpll() 199 DRM_DEBUG_KMS("np, nr, nf %d %d %d\n", np, nr, nf); in oaktrail_hdmi_find_dpll() 202 * 1024 x 768 np = 1; nr = 0x26; nf = 0x0fd8000; in oaktrail_hdmi_find_dpll() 203 * 1280 x 1024 np = 1; nr = 0x17; nf = 0x1034000; in oaktrail_hdmi_find_dpll() 207 best_clock->nf = (nf << 14); in oaktrail_hdmi_find_dpll() 313 REG_WRITE(DPLL_DIV_CTRL, ((clock.nf << 6) | clock.nr)); in oaktrail_crtc_hdmi_mode_set() [all …]
|
/Linux-v6.1/drivers/video/console/ |
D | sticore.c | 496 struct sti_rom_font *nf; in sti_select_fbfont() local 513 nf = kzalloc(size, STI_LOWMEM); in sti_select_fbfont() 514 if (!nf) in sti_select_fbfont() 517 nf->first_char = 0; in sti_select_fbfont() 518 nf->last_char = fbfont->charcount - 1; in sti_select_fbfont() 519 nf->width = fbfont->width; in sti_select_fbfont() 520 nf->height = fbfont->height; in sti_select_fbfont() 521 nf->font_type = STI_FONT_HPROMAN8; in sti_select_fbfont() 522 nf->bytes_per_char = bpc; in sti_select_fbfont() 523 nf->next_font = 0; in sti_select_fbfont() [all …]
|
/Linux-v6.1/include/linux/ |
D | netfilter.h | 229 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook() 232 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nf_hook() 236 if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) in nf_hook() 238 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook() 243 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nf_hook() 323 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST() 326 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in NF_HOOK_LIST()
|
/Linux-v6.1/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 129 if (NF != 1) { 132 for (i = 2; i <= NF; i++) 140 if (NF != 1) { 273 for (i = 4; i <= NF; i++) 286 while (i <= NF) { 302 else if (i < NF)
|