Home
last modified time | relevance | path

Searched refs:newcount (Results 1 - 13 of 13) sorted by relevance

/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_009.cpp83 int childPid, oldcount, newcount, shmid; in Testcase() local
133 newcount = *g_shmptr; in Testcase()
134 ICUNIT_GOTO_NOT_EQUAL(oldcount, newcount, newcount, OUT); in Testcase()
/kernel/linux/linux-5.10/fs/ufs/
H A Dballoc.c351 unsigned cgno, oldcount, newcount; in ufs_new_fragments() local
373 newcount = oldcount + count; in ufs_new_fragments()
426 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
442 result = ufs_add_fragments(inode, tmp, oldcount, newcount); in ufs_new_fragments()
449 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
460 request = newcount; in ufs_new_fragments()
470 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
482 if (newcount < request) in ufs_new_fragments()
483 ufs_free_fragments (inode, result + newcount, request - newcount); in ufs_new_fragments()
508 ufs_add_fragments(struct inode *inode, u64 fragment, unsigned oldcount, unsigned newcount) ufs_add_fragments() argument
[all...]
/kernel/linux/linux-6.6/fs/ufs/
H A Dballoc.c347 unsigned cgno, oldcount, newcount; in ufs_new_fragments() local
369 newcount = oldcount + count; in ufs_new_fragments()
422 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
438 result = ufs_add_fragments(inode, tmp, oldcount, newcount); in ufs_new_fragments()
445 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
456 request = newcount; in ufs_new_fragments()
466 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
478 if (newcount < request) in ufs_new_fragments()
479 ufs_free_fragments (inode, result + newcount, request - newcount); in ufs_new_fragments()
504 ufs_add_fragments(struct inode *inode, u64 fragment, unsigned oldcount, unsigned newcount) ufs_add_fragments() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dbackref.c209 int newcount) in update_share_count()
211 if ((!sc) || (oldcount == 0 && newcount < 1)) in update_share_count()
214 if (oldcount > 0 && newcount < 1) in update_share_count()
216 else if (oldcount < 1 && newcount > 0) in update_share_count()
208 update_share_count(struct share_check *sc, int oldcount, int newcount) update_share_count() argument
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_da_btree.c774 int newcount; in xfs_da3_node_split() local
788 newcount = 1 + useextra; in xfs_da3_node_split()
792 if (nodehdr.count + newcount > state->args->geo->node_ents) { in xfs_da3_node_split()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_da_btree.c789 int newcount; in xfs_da3_node_split() local
803 newcount = 1 + useextra; in xfs_da3_node_split()
807 if (nodehdr.count + newcount > state->args->geo->node_ents) { in xfs_da3_node_split()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dbackref.c257 int newcount, struct prelim_ref *newref) in update_share_count()
259 if ((!sc) || (oldcount == 0 && newcount < 1)) in update_share_count()
262 if (oldcount > 0 && newcount < 1) in update_share_count()
264 else if (oldcount < 1 && newcount > 0) in update_share_count()
256 update_share_count(struct share_check *sc, int oldcount, int newcount, struct prelim_ref *newref) update_share_count() argument
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
H A Daic79xx_core.c6765 int newcount; in ahd_alloc_scbs() local
6879 newcount = min(scb_data->sense_left, scb_data->scbs_left); in ahd_alloc_scbs()
6880 newcount = min(newcount, scb_data->sgs_left); in ahd_alloc_scbs()
6881 newcount = min(newcount, (AHD_SCB_MAX_ALLOC - scb_data->numscbs)); in ahd_alloc_scbs()
6882 for (i = 0; i < newcount; i++) { in ahd_alloc_scbs()
H A Daic7xxx_core.c4937 int newcount; in ahc_alloc_scbs() local
4969 newcount = (PAGE_SIZE / (AHC_NSEG * sizeof(struct ahc_dma_seg))); in ahc_alloc_scbs()
4970 newcount = min(newcount, (AHC_SCB_MAX_ALLOC - scb_data->numscbs)); in ahc_alloc_scbs()
4971 for (i = 0; i < newcount; i++) { in ahc_alloc_scbs()
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/
H A Daic79xx_core.c6764 int newcount; in ahd_alloc_scbs() local
6878 newcount = min(scb_data->sense_left, scb_data->scbs_left); in ahd_alloc_scbs()
6879 newcount = min(newcount, scb_data->sgs_left); in ahd_alloc_scbs()
6880 newcount = min(newcount, (AHD_SCB_MAX_ALLOC - scb_data->numscbs)); in ahd_alloc_scbs()
6881 for (i = 0; i < newcount; i++) { in ahd_alloc_scbs()
H A Daic7xxx_core.c4936 int newcount; in ahc_alloc_scbs() local
4968 newcount = (PAGE_SIZE / (AHC_NSEG * sizeof(struct ahc_dma_seg))); in ahc_alloc_scbs()
4969 newcount = min(newcount, (AHC_SCB_MAX_ALLOC - scb_data->numscbs)); in ahc_alloc_scbs()
4970 for (i = 0; i < newcount; i++) { in ahc_alloc_scbs()
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_core_main.c3481 int newcount = 0; in qeth_rx_refill_queue() local
3491 newcount++; in qeth_rx_refill_queue()
3495 if (newcount < count) { in qeth_rx_refill_queue()
3499 count = newcount; in qeth_rx_refill_queue()
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dqeth_core_main.c3417 int newcount = 0; in qeth_rx_refill_queue() local
3427 newcount++; in qeth_rx_refill_queue()
3431 if (newcount < count) { in qeth_rx_refill_queue()
3435 count = newcount; in qeth_rx_refill_queue()

Completed in 67 milliseconds